Skip to contentSkip to conversation

python-twisted: add required RDEPENDS for twistd

PATCH In review Trevor Gamblin 4 participants 12 messages Jan 30, 2020 – Feb 5, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 python-twisted: add required RDEPENDS for twistd

From: Trevor Gamblin <[email protected]>

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +17 -1
index d70104dc2..024a9fa7c 100644
@@ -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"
Signature · 1 line
2.24.0
#1 lore raw

PATCH v2 2/2 pyhamcrest: add python3 version of recipe

From: Trevor Gamblin <[email protected]>

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.

---
 .../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
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb new file +10 -0
new file mode 100644
index 000000000..04aa9b47f
@@ -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
Signature · 1 line
2.24.0
#2 lore raw

Re: [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe

What is the diff in v2 ?

Quoted 28 lines · Trevor Gamblin

From: Trevor Gamblin <[email protected]>

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.

---
 .../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
meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb new file +10 -0
new file mode 100644
index 000000000..04aa9b47f
@@ -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
#3 lore raw

Re: [meta-python][zeus][PATCH v2 2/2] pyhamcrest: add python3 version of recipe

Quoted 1 line · 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.

Quoted 30 lines · Trevor Gamblin
Quoted 28 lines

From: Trevor Gamblin <[email protected]>

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.

---
  .../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

meta-python/recipes-devtools/python/python3-pyhamcrest_1.9.0.bb new file +10 -0
new file mode 100644
index 000000000..04aa9b47f
@@ -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
#4 lore raw
In reply to Trevor Gamblin

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.

Quoted 57 lines · Trevor Gamblin

From: Trevor Gamblin <[email protected]>

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#5 lore raw
Quoted 3 lines · Tim Orling

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.

Quoted 70 lines · On Fri, Jan 31, 2020 at 1:29 AM Trevor Gamblin <[email protected]…
    From: Trevor Gamblin <[email protected]
    <mailto:[email protected]>>

    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 <[email protected]
    <mailto:[email protected]>>
    ---
     .../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
    [email protected]
    <mailto:[email protected]>
    http://lists.openembedded.org/mailman/listinfo/openembedded-devel
#6 lore raw
In reply to Trevor Gamblin

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.

Quoted 57 lines · Trevor Gamblin

From: Trevor Gamblin <[email protected]>

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#7 lore raw
Quoted 10 lines · Martin Jansa

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 <

Quoted 65 lines
Quoted 51 lines · [email protected]> wrote:

From: Trevor Gamblin <[email protected]>

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#8 lore raw
Quoted 12 lines · Tim Orling
Quoted 10 lines · Martin Jansa

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.

Quoted 3 lines

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
---
Quoted 1 line

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
---
Quoted 2 lines
# 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.

Quoted 3 lines

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,

Quoted 66 lines

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <

Quoted 65 lines
Quoted 51 lines · [email protected]> wrote:

From: Trevor Gamblin <[email protected]>

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.

---
 .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#9 lore raw
Quoted 13 lines · Martin Jansa
Quoted 12 lines · Tim Orling
Quoted 10 lines · Martin Jansa

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 103 lines

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
---
Quoted 1 line

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
---
Quoted 2 lines
# 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.

Quoted 3 lines

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,

Quoted 66 lines

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <

Quoted 65 lines
Quoted 51 lines · [email protected]> wrote:

From: Trevor Gamblin <[email protected]>

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.

---
  .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
  1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#10 lore raw
Quoted 22 lines · Trevor Gamblin
Quoted 13 lines · Martin Jansa
Quoted 12 lines · Tim Orling
Quoted 10 lines · Martin Jansa

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines

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.

Quoted 1 line

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,

Quoted 102 lines
Quoted 102 lines

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
---
Quoted 1 line

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
---
Quoted 2 lines
# 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.

Quoted 3 lines

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,

Quoted 66 lines

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <

Quoted 65 lines
Quoted 51 lines · [email protected]> wrote:

From: Trevor Gamblin <[email protected]>

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.

---
  .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
  1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#11 lore raw
Quoted 40 lines · Martin Jansa
Quoted 21 lines · Trevor Gamblin
Quoted 13 lines · Martin Jansa
Quoted 12 lines · Tim Orling
Quoted 10 lines · Martin Jansa

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.

Quoted 7 lines
Quoted 3 lines

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.

Quoted 7 lines

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?

Quoted 6 lines

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...

Quoted 117 lines

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.

Quoted 1 line

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,

Quoted 102 lines
Quoted 102 lines

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
---
Quoted 1 line

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
---
Quoted 2 lines
# 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.

Quoted 3 lines

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,

Quoted 66 lines

On Fri, Jan 31, 2020 at 10:29 AM Trevor Gamblin <

Quoted 65 lines
Quoted 51 lines · [email protected]> wrote:

From: Trevor Gamblin <[email protected]>

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.

---
   .../recipes-devtools/python/python-twisted.inc | 18 +++++++++++++++++-
   1 file changed, 17 insertions(+), 1 deletion(-)
meta-python/recipes-devtools/python/python-twisted.inc +0 -1
index d70104dc2..024a9fa7c 100644
@@ -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"

meta-python/recipes-devtools/python/python-twisted.inc +17 -1
+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

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel