Return-Path: X-Greylist: delayed 404 seconds by postgrey-1.34 at layers.openembedded.org; Wed, 05 Feb 2020 15:23:34 UTC Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id 1EB0D60CA1 for ; Wed, 5 Feb 2020 15:23:33 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id 015FGEYW019312 (version=TLSv1 cipher=AES256-SHA bits=256 verify=FAIL); Wed, 5 Feb 2020 07:16:24 -0800 Received: from [128.224.56.226] (128.224.56.226) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.3.468.0; Wed, 5 Feb 2020 07:16:02 -0800 To: Martin Jansa , Tim Orling References: <20200130153405.26756-1-Trevor.Gamblin@windriver.com> <20200205145939.tadzklcfscc442eg@jama> From: Trevor Gamblin Message-ID: <9c5c3983-5b16-eae0-db77-d273ba65a699@windriver.com> Date: Wed, 5 Feb 2020 10:16:01 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200205145939.tadzklcfscc442eg@jama> Cc: openembedded-devel Subject: Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Feb 2020 15:23:39 -0000 Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US On 2/5/20 9:59 AM, Martin Jansa wrote: > On Mon, Feb 03, 2020 at 08:45:26PM -0800, Tim Orling wrote: >> On Mon, Feb 3, 2020 at 8:30 PM Martin Jansa wrote: >> >>> Please send this fix to normal meta-python in meta-oe/zeus: >>> >>> http://git.openembedded.org/meta-openembedded/tree/meta-python/recipes-devtools/python/python-twisted.inc?h=zeus >>> >>> BTW: Why are you using meta-python2 with zeus branch? It imho doesn't have >>> anything which would be missing in oe-core+meta-oe zeus branch and fixes >>> like this should be resolved also for people using zeus branch without >>> overlaying them by meta-python2. >>> >>> >> Because, as I believe I have said before, I need a prior release to test >> the infrastructure on. zeus allows me to work on more than just master >> until we have the next stable release branching. > The question was for Trevor, I understood that you wanted zeus branch to > test the infrastructure, but I still don't understand why any "project" > should use meta-python2/zeus for the python2 bits which are still in > oe-core/zeus + meta-python/zeus. I'm not sure if I'm misunderstanding, or if I have been the cause for confusion in my summary. When the reporter filed https://bugzilla.yoctoproject.org/show_bug.cgi?id=13741, it was clear he was using the python 2.x version of Twisted, on the zeus branch of meta-openembedded (based on the version of Twisted that he reported). The patch was written and tested using meta-oe/meta-python zeus and submitted for that layer. I suppose it could be applied to meta-python2 as well. > > I see that there are some differences in the recipes in zeus, e.g.: > > martin@jama:/OE/meta-python2$ diff recipes-devtools/python/python-configparser_3.8.1.bb ../meta-openembedded/meta-python/recipes-devtools/python/python-configparser_3.8.1.bb > 1c1 > < inherit setuptools python-backports-init > --- >> inherit setuptools > martin@jama:/OE/meta-python2$ diff recipes-devtools/python/python-dbus_1.2.12.bb ../meta-openembedded/meta-python/recipes-devtools/python/python-dbus_1.2.12.bb > 18,19c18,19 > < # documentation needs python-sphinx, which is not in oe-core or meta-python2 for now > < # change to use PACKAGECONFIG when python-sphinx is added to oe-core or meta-python2 > --- >> # documentation needs python-sphinx, which is not in oe-core or meta-python for now >> # change to use PACKAGECONFIG when python-sphinx is added to oe-core or meta-python > But README nor your reply explained to me, what's the benefit of using meta-python2/zeus > instead of the existing python2 recipes which are in oe-core and meta-oe zeus. That's why > I've never tried to use it with zeus, nor submitted the python-numpy and python-nose > recipes which got removed from oe-core/zeus, but weren't re-introduced in meta-python2 > python-nose was removed in: > http://git.openembedded.org/openembedded-core/commit/?h=zeus&id=9f07b2836405d86e869780f8f1ae00843eadc409 > python-numpy in: > http://git.openembedded.org/openembedded-core/commit/?h=zeus&id=4e9659f24e2f699effadcbe378b6a746d77ccdbd > from oe-core/zeus. > >> It has nothing to do with what is missing from meta-oe, it is a viable >> alternative that also helps prove out my workflow as I have EXTREMELY >> LIMITED TIME to support this. > Understood, thanks for doing this work, I'm happy to use and contribute to > master branch, it's just that I still don't understand the purpose of zeus > branch (other than testing the infrastructure by you) and I hope you agree > that bug fixes for python2 issues like the one in this thread belong > to meta-oe/meta-python zeus in first place (because that's the layer which > what most people are probably still using with zeus). > > Cheers, > >> On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin < >>> Trevor.Gamblin@windriver.com> wrote: >>> >>>> From: Trevor Gamblin >>>> >>>> python-twisted is currently missing some packages for its /usr/bin/twistd >>>> executable to function. Add these to the RDEPENDS list, and also clean up >>>> formatting since the list is getting long. >>>> >>>> Note that a similar patch has already been submitted for master branch, >>>> but the python2 version of twisted needs more explicit RDEPENDS than the >>>> python3 version submitted to master in order for /usr/bin/twistd to work >>>> properly. >>>> >>>> Signed-off-by: Trevor Gamblin >>>> --- >>>> .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++- >>>> 1 file changed, 17 insertions(+), 1 deletion(-) >>>> >>>> diff --git a/meta-python/recipes-devtools/python/python-twisted.inc >>>> b/meta-python/recipes-devtools/python/python-twisted.inc >>>> index d70104dc2..024a9fa7c 100644 >>>> --- a/meta-python/recipes-devtools/python/python-twisted.inc >>>> +++ b/meta-python/recipes-devtools/python/python-twisted.inc >>>> @@ -56,7 +56,23 @@ RDEPENDS_${PN} = "\ >>>> ${PN}-zsh \ >>>> " >>>> >>>> -RDEPENDS_${PN}-core = "${PYTHON_PN}-core ${PYTHON_PN}-zopeinterface >>>> ${PYTHON_PN}-incremental ${PYTHON_PN}-constantly ${PYTHON_PN}-hyperlink >>>> ${PYTHON_PN}-automat" >>>> +RDEPENDS_${PN}-core = "${PYTHON_PN}-automat \ >>>> + ${PYTHON_PN}-constantly \ >>>> + ${PYTHON_PN}-core \ >>>> + ${PYTHON_PN}-debugger \ >>>> + ${PYTHON_PN}-hyperlink \ >>>> + ${PYTHON_PN}-incremental \ >>>> + ${PYTHON_PN}-misc \ >>>> + ${PYTHON_PN}-pkg-resources \ >>>> + ${PYTHON_PN}-pkgutil \ >>>> + ${PYTHON_PN}-plistlib \ >>>> + ${PYTHON_PN}-pyhamcrest \ >>>> + ${PYTHON_PN}-pyserial \ >>>> + ${PYTHON_PN}-setuptools \ >>>> + ${PYTHON_PN}-unixadmin \ >>>> + ${PYTHON_PN}-zopeinterface \ >>>> +" >>>> + >>>> RDEPENDS_${PN}-test = "${PN}" >>>> RDEPENDS_${PN}-conch = "${PN}-core ${PN}-protocols" >>>> RDEPENDS_${PN}-mail = "${PN}-core ${PN}-protocols" >>>> -- >>>> 2.24.0 >>>> >>>> -- >>>> _______________________________________________ >>>> Openembedded-devel mailing list >>>> Openembedded-devel@lists.openembedded.org >>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>>> >>> -- >>> _______________________________________________ >>> Openembedded-devel mailing list >>> Openembedded-devel@lists.openembedded.org >>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel >>>