All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
@ 2020-01-30 15:34 Trevor Gamblin
  2020-01-30 15:34 ` [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe Trevor Gamblin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Trevor Gamblin @ 2020-01-30 15:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

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 <trevor.gamblin@windriver.com>
---
 .../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



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe
  2020-01-30 15:34 [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Trevor Gamblin
@ 2020-01-30 15:34 ` Trevor Gamblin
  2020-01-30 19:00   ` akuster808
  2020-02-04  2:46 ` [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Tim Orling
  2020-02-04  4:30 ` Martin Jansa
  2 siblings, 1 reply; 12+ messages in thread
From: Trevor Gamblin @ 2020-01-30 15:34 UTC (permalink / raw)
  To: openembedded-devel

From: Trevor Gamblin <trevor.gamblin@windriver.com>

Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
there is only a python2 recipe for this package, thus the twistd daemon
won't be able to run properly for python3.

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
---
 .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb

diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
new file mode 100644
index 000000000..04aa9b47f
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
@@ -0,0 +1,10 @@
+SUMMARY = "Hamcrest framework for matcher objects"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
+
+PYPI_PACKAGE = "PyHamcrest"
+
+SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
+SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
+
+inherit pypi setuptools3
-- 
2.24.0



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe
  2020-01-30 15:34 ` [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe Trevor Gamblin
@ 2020-01-30 19:00   ` akuster808
  2020-01-30 19:03     ` Trevor Gamblin
  0 siblings, 1 reply; 12+ messages in thread
From: akuster808 @ 2020-01-30 19:00 UTC (permalink / raw)
  To: Trevor Gamblin, openembedded-devel

What is the diff in v2 ?

On 1/30/20 7:34 AM, Trevor Gamblin wrote:
> From: Trevor Gamblin <trevor.gamblin@windriver.com>
>
> Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
> there is only a python2 recipe for this package, thus the twistd daemon
> won't be able to run properly for python3.
>
> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
> ---
>  .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
>  1 file changed, 10 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
>
> diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
> new file mode 100644
> index 000000000..04aa9b47f
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
> @@ -0,0 +1,10 @@
> +SUMMARY = "Hamcrest framework for matcher objects"
> +LICENSE = "BSD-3-Clause"
> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
> +
> +PYPI_PACKAGE = "PyHamcrest"
> +
> +SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
> +SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
> +
> +inherit pypi setuptools3



^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe
  2020-01-30 19:00   ` akuster808
@ 2020-01-30 19:03     ` Trevor Gamblin
  0 siblings, 0 replies; 12+ messages in thread
From: Trevor Gamblin @ 2020-01-30 19:03 UTC (permalink / raw)
  To: akuster808, openembedded-devel


On 1/30/20 2:00 PM, akuster808 wrote:
> What is the diff in v2 ?
My mistake, no change in v2 for this patch - meant to only send the 
patch to update RDEPENDS.
>
> On 1/30/20 7:34 AM, Trevor Gamblin wrote:
>> From: Trevor Gamblin <trevor.gamblin@windriver.com>
>>
>> Twisted requires pyhamcrest for /usr/bin/twistd to work, but in zeus
>> there is only a python2 recipe for this package, thus the twistd daemon
>> won't be able to run properly for python3.
>>
>> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
>> ---
>>   .../python/python3-pyhamcrest_1.9.0.bb                 | 10 ++++++++++
>>   1 file changed, 10 insertions(+)
>>   create mode 100644 meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
>>
>> diff --git a/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
>> new file mode 100644
>> index 000000000..04aa9b47f
>> --- /dev/null
>> +++ b/meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb
>> @@ -0,0 +1,10 @@
>> +SUMMARY = "Hamcrest framework for matcher objects"
>> +LICENSE = "BSD-3-Clause"
>> +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6df1318c6071dd1707f5e3b6c11f24f"
>> +
>> +PYPI_PACKAGE = "PyHamcrest"
>> +
>> +SRC_URI[md5sum] = "8b833a3fa30197455df79424f30c8c3f"
>> +SRC_URI[sha256sum] = "8ffaa0a53da57e89de14ced7185ac746227a8894dbd5a3c718bf05ddbd1d56cd"
>> +
>> +inherit pypi setuptools3


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-01-30 15:34 [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Trevor Gamblin
  2020-01-30 15:34 ` [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe Trevor Gamblin
@ 2020-02-04  2:46 ` Tim Orling
  2020-02-04 13:30   ` Trevor Gamblin
  2020-02-04  4:30 ` Martin Jansa
  2 siblings, 1 reply; 12+ messages in thread
From: Tim Orling @ 2020-02-04  2:46 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: openembedded-devel

Thank you for sorting :)

I was looking at applying this to meta-python2 zeus and my checks (import
every twisted and twisted.* module) didn't see any missing dependencies
before this patch. Can you describe the need or give me a hint of a
reproducer? I'm sure I'm missing something.

On Fri, Jan 31, 2020 at 1:29 AM Trevor Gamblin <Trevor.Gamblin@windriver.com>
wrote:

> From: Trevor Gamblin <trevor.gamblin@windriver.com>
>
> 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 <trevor.gamblin@windriver.com>
> ---
>  .../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
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-01-30 15:34 [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Trevor Gamblin
  2020-01-30 15:34 ` [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe Trevor Gamblin
  2020-02-04  2:46 ` [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Tim Orling
@ 2020-02-04  4:30 ` Martin Jansa
  2020-02-04  4:45   ` Tim Orling
  2 siblings, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2020-02-04  4:30 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: openembedded-devel

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.

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <
Trevor.Gamblin@windriver.com> wrote:

> From: Trevor Gamblin <trevor.gamblin@windriver.com>
>
> 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 <trevor.gamblin@windriver.com>
> ---
>  .../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
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-04  4:30 ` Martin Jansa
@ 2020-02-04  4:45   ` Tim Orling
  2020-02-05 14:59     ` Martin Jansa
  0 siblings, 1 reply; 12+ messages in thread
From: Tim Orling @ 2020-02-04  4:45 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel

On Mon, Feb 3, 2020 at 8:30 PM Martin Jansa <martin.jansa@gmail.com> 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.

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.

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <
> Trevor.Gamblin@windriver.com> wrote:
>
> > From: Trevor Gamblin <trevor.gamblin@windriver.com>
> >
> > 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 <trevor.gamblin@windriver.com>
> > ---
> >  .../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
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-04  2:46 ` [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Tim Orling
@ 2020-02-04 13:30   ` Trevor Gamblin
  0 siblings, 0 replies; 12+ messages in thread
From: Trevor Gamblin @ 2020-02-04 13:30 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel


On 2/3/20 9:46 PM, Tim Orling wrote:
> Thank you for sorting :)
>
> I was looking at applying this to meta-python2 zeus and my checks 
> (import every twisted and twisted.* module) didn't see any missing 
> dependencies before this patch. Can you describe the need or give me a 
> hint of a reproducer? I'm sure I'm missing something.
The /usr/bin/twistd executable will complain about the dependencies 
being missing. You don't need to pass it any config files to test it - 
it'll output usage info if the dependencies are present.
>
> On Fri, Jan 31, 2020 at 1:29 AM Trevor Gamblin 
> <Trevor.Gamblin@windriver.com <mailto:Trevor.Gamblin@windriver.com>> 
> wrote:
>
>     From: Trevor Gamblin <trevor.gamblin@windriver.com
>     <mailto:trevor.gamblin@windriver.com>>
>
>     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 <trevor.gamblin@windriver.com
>     <mailto:trevor.gamblin@windriver.com>>
>     ---
>      .../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
>     <mailto:Openembedded-devel@lists.openembedded.org>
>     http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-04  4:45   ` Tim Orling
@ 2020-02-05 14:59     ` Martin Jansa
  2020-02-05 15:16       ` Trevor Gamblin
  0 siblings, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2020-02-05 14:59 UTC (permalink / raw)
  To: Tim Orling; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 6141 bytes --]

On Mon, Feb 03, 2020 at 08:45:26PM -0800, Tim Orling wrote:
> On Mon, Feb 3, 2020 at 8:30 PM Martin Jansa <martin.jansa@gmail.com> 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 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 <trevor.gamblin@windriver.com>
> > >
> > > 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 <trevor.gamblin@windriver.com>
> > > ---
> > >  .../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
> >

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-05 14:59     ` Martin Jansa
@ 2020-02-05 15:16       ` Trevor Gamblin
  2020-02-05 17:01         ` Martin Jansa
  0 siblings, 1 reply; 12+ messages in thread
From: Trevor Gamblin @ 2020-02-05 15:16 UTC (permalink / raw)
  To: Martin Jansa, Tim Orling; +Cc: openembedded-devel


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 <martin.jansa@gmail.com> 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 <trevor.gamblin@windriver.com>
>>>>
>>>> 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 <trevor.gamblin@windriver.com>
>>>> ---
>>>>   .../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
>>>


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-05 15:16       ` Trevor Gamblin
@ 2020-02-05 17:01         ` Martin Jansa
  2020-02-05 18:06           ` Trevor Gamblin
  0 siblings, 1 reply; 12+ messages in thread
From: Martin Jansa @ 2020-02-05 17:01 UTC (permalink / raw)
  To: Trevor Gamblin; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 8898 bytes --]

On Wed, Feb 05, 2020 at 10:16:01AM -0500, Trevor Gamblin wrote:
> 
> 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 <martin.jansa@gmail.com> 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.

Thanks for reply, not it's more clear that my brain somehow failed to
parse "[oe] [meta-python][zeus][PATCH v2 1/2]", all I was seeing was
"meta-python" and "2", since my first reply I was seeing this as
meta-python2 and assumed that you're submitting it only there, not to
meta-python in meta-oe/zeus which is completely reasonable.

Sorry for noise I just need more sleep or coffee or both actually.

Now when I see that you're working on meta-python in meta-oe, why not
cherry-pick the commits from master as they are?

Similar change in master:
http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=7077abdf29a56896ef4dbad94b28201689b70ee3
http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=53e62e4e57c701dd546a2e27d8b72b7a4698551a
it has a bit fewer modules in RDEPENDS. Is it because of 19.10.0 version in
master while zeus has only 19.7.0 or are they actually missing in master
as well?

Similarly what about the RDEPENDS of conch fixed in master with:
http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=c3a3470b1ba3768e04e0a938870ad487bd848120
isn't this needed in zeus as well?

I don't use python-twisted anywhere, I was just curious why this isn't
straight backport from master.

> I suppose it could be applied to meta-python2 as well.
Yes, it looks like these changes are missing in meta-python2/master as
well:
https://git.openembedded.org/meta-python2/tree/recipes-devtools/python/python-twisted_19.10.0.bb#n66

Cheers,

> > 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 <trevor.gamblin@windriver.com>
> > > > > 
> > > > > 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 <trevor.gamblin@windriver.com>
> > > > > ---
> > > > >   .../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
> > > > 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 201 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd
  2020-02-05 17:01         ` Martin Jansa
@ 2020-02-05 18:06           ` Trevor Gamblin
  0 siblings, 0 replies; 12+ messages in thread
From: Trevor Gamblin @ 2020-02-05 18:06 UTC (permalink / raw)
  To: Martin Jansa; +Cc: openembedded-devel


On 2/5/20 12:01 PM, Martin Jansa wrote:
> On Wed, Feb 05, 2020 at 10:16:01AM -0500, Trevor Gamblin wrote:
>> 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 <martin.jansa@gmail.com> 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.
> Thanks for reply, not it's more clear that my brain somehow failed to
> parse "[oe] [meta-python][zeus][PATCH v2 1/2]", all I was seeing was
> "meta-python" and "2", since my first reply I was seeing this as
> meta-python2 and assumed that you're submitting it only there, not to
> meta-python in meta-oe/zeus which is completely reasonable.
>
> Sorry for noise I just need more sleep or coffee or both actually.
>
> Now when I see that you're working on meta-python in meta-oe, why not
> cherry-pick the commits from master as they are?
>
> Similar change in master:
> http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=7077abdf29a56896ef4dbad94b28201689b70ee3
> http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=53e62e4e57c701dd546a2e27d8b72b7a4698551a
> it has a bit fewer modules in RDEPENDS. Is it because of 19.10.0 version in
> master while zeus has only 19.7.0 or are they actually missing in master
> as well?

When testing for both zeus and master, there was a discrepancy between 
the number of RDEPENDS that needed to be added for /usr/bin/twistd to 
get to its usage/help without issues - master's Twisted 19.10.0 only 
needed unixadmin, debugger, and pyhamcrest, but the zeus build (with 
Twisted version 19.7.0) was still complaining until I added misc, 
pkg-resources, pkgutil, plistlib, pyserial, and setuptools as well, 
hence the separate patch.

It's all making me realize that I haven't been getting some other 
patches for Twisted's RDEPENDS backported, though...

>
> Similarly what about the RDEPENDS of conch fixed in master with:
> http://git.openembedded.org/meta-openembedded/commit/meta-python/recipes-devtools/python/python-twisted.inc?id=c3a3470b1ba3768e04e0a938870ad487bd848120
> isn't this needed in zeus as well?
>
> I don't use python-twisted anywhere, I was just curious why this isn't
> straight backport from master.
>
>> I suppose it could be applied to meta-python2 as well.
> Yes, it looks like these changes are missing in meta-python2/master as
> well:
> https://git.openembedded.org/meta-python2/tree/recipes-devtools/python/python-twisted_19.10.0.bb#n66
>
> Cheers,
>
>>> 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 <trevor.gamblin@windriver.com>
>>>>>>
>>>>>> 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 <trevor.gamblin@windriver.com>
>>>>>> ---
>>>>>>    .../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
>>>>>


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-02-05 18:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-30 15:34 [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Trevor Gamblin
2020-01-30 15:34 ` [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe Trevor Gamblin
2020-01-30 19:00   ` akuster808
2020-01-30 19:03     ` Trevor Gamblin
2020-02-04  2:46 ` [meta-python][zeus][PATCH v2 1/2] python-twisted: add required RDEPENDS for twistd Tim Orling
2020-02-04 13:30   ` Trevor Gamblin
2020-02-04  4:30 ` Martin Jansa
2020-02-04  4:45   ` Tim Orling
2020-02-05 14:59     ` Martin Jansa
2020-02-05 15:16       ` Trevor Gamblin
2020-02-05 17:01         ` Martin Jansa
2020-02-05 18:06           ` Trevor Gamblin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.