Skip to contentSkip to conversation

python3-setuptools: update to 58.0.4

PATCH In review Oleksandr Kravchuk 3 participants 4 messages Sep 18, 2021 – Oct 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 python3-setuptools: update to 58.0.4

---
 ...ython3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} (94%)
meta/recipes-devtools/python/python3-setuptools_58.0.4.bb renamed from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb +1 -1
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_58.0.4.bb
index ae45936c39..2000d355a9 100644
@@ -10,7 +10,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
 
 SRC_URI += "file://0001-change-shebang-to-python3.patch"
 
-SRC_URI[sha256sum] = "6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465"
+SRC_URI[sha256sum] = "f10059f0152e0b7fb6b2edd77bcb1ecd4c9ed7048a826eb2d79f72fd2e6e237b"
 
 DEPENDS += "${PYTHON_PN}"
 
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 python3-setuptools: minor cleanup

---
 .../python/python3-setuptools_58.0.4.bb       | 46 +++++++++----------
 1 file changed, 23 insertions(+), 23 deletions(-)
meta/recipes-devtools/python/python3-setuptools_58.0.4.bb +23 -23
index 2000d355a9..8df69ce920 100644
@@ -15,25 +15,25 @@ SRC_URI[sha256sum] = "f10059f0152e0b7fb6b2edd77bcb1ecd4c9ed7048a826eb2d79f72fd2e
 DEPENDS += "${PYTHON_PN}"
 
 RDEPENDS:${PN} = "\
-  ${PYTHON_PN}-2to3 \
-  ${PYTHON_PN}-compile \
-  ${PYTHON_PN}-compression \
-  ${PYTHON_PN}-ctypes \
-  ${PYTHON_PN}-distutils \
-  ${PYTHON_PN}-email \
-  ${PYTHON_PN}-html \
-  ${PYTHON_PN}-json \
-  ${PYTHON_PN}-netserver \
-  ${PYTHON_PN}-numbers \
-  ${PYTHON_PN}-pickle \
-  ${PYTHON_PN}-pkg-resources \
-  ${PYTHON_PN}-pkgutil \
-  ${PYTHON_PN}-plistlib \
-  ${PYTHON_PN}-shell \
-  ${PYTHON_PN}-stringold \
-  ${PYTHON_PN}-threading \
-  ${PYTHON_PN}-unittest \
-  ${PYTHON_PN}-xml \
+    ${PYTHON_PN}-2to3 \
+    ${PYTHON_PN}-compile \
+    ${PYTHON_PN}-compression \
+    ${PYTHON_PN}-ctypes \
+    ${PYTHON_PN}-distutils \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-html \
+    ${PYTHON_PN}-json \
+    ${PYTHON_PN}-netserver \
+    ${PYTHON_PN}-numbers \
+    ${PYTHON_PN}-pickle \
+    ${PYTHON_PN}-pkg-resources \
+    ${PYTHON_PN}-pkgutil \
+    ${PYTHON_PN}-plistlib \
+    ${PYTHON_PN}-shell \
+    ${PYTHON_PN}-stringold \
+    ${PYTHON_PN}-threading \
+    ${PYTHON_PN}-unittest \
+    ${PYTHON_PN}-xml \
 "
 
 do_install:prepend() {
@@ -48,8 +48,8 @@ BBCLASSEXTEND = "native nativesdk"
 PACKAGES =+ "${PYTHON_PN}-pkg-resources "
 FILES:${PYTHON_PN}-pkg-resources = "${PYTHON_SITEPACKAGES_DIR}/pkg_resources/*"
 RDEPENDS:${PYTHON_PN}-pkg-resources = "\
-  ${PYTHON_PN}-compression \
-  ${PYTHON_PN}-email \
-  ${PYTHON_PN}-plistlib \
-  ${PYTHON_PN}-pprint \
+    ${PYTHON_PN}-compression \
+    ${PYTHON_PN}-email \
+    ${PYTHON_PN}-plistlib \
+    ${PYTHON_PN}-pprint \
 "
Signature · 1 line
2.25.1
#2 lore raw
In reply to Oleksandr Kravchuk

This version broke at least python3-jsmin 2.2.2.

I am hitting this issue:

https://github.com/tikitu/jsmin/issues/33
"error in jsmin setup command: use_2to3 is invalid."

setuptools 58 removed support for use_2to3. python3-jsmin must be upgraded to 3.0.0 as a result.

There be other fallouts, too.

Quoted 33 lines · Oleksandr Kravchuk
---
  ...ython3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta/recipes-devtools/python/{python3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} (94%)

meta/recipes-devtools/python/python3-setuptools_58.0.4.bb renamed from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb +1 -2
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_58.0.4.bb
index ae45936c39..2000d355a9 100644
@@ -10,7 +10,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
 
  SRC_URI += "file://0001-change-shebang-to-python3.patch"
 
-SRC_URI[sha256sum] = "6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465"
+SRC_URI[sha256sum] = "f10059f0152e0b7fb6b2edd77bcb1ecd4c9ed7048a826eb2d79f72fd2e6e237b"
 
  DEPENDS += "${PYTHON_PN}"
 
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#156151): https://lists.openembedded.org/g/openembedded-core/message/156151
Mute This Topic: https://lists.openembedded.org/mt/85708588/3617728
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

It also has bunch of recipes in meta-python which needs to upgrade to use 0.58 version as it breaks packages which needs 2to3 support still. Maybe a simple version upgrade for these recipes will fix it

here is list

https://errors.yoctoproject.org/Errors/Build/132754/

Quoted 51 lines · Zoltan Boszormenyi via lists.openembedded.org

This version broke at least python3-jsmin 2.2.2.

I am hitting this issue:

https://github.com/tikitu/jsmin/issues/33
"error in jsmin setup command: use_2to3 is invalid."

setuptools 58 removed support for use_2to3. python3-jsmin must be upgraded to 3.0.0 as a result.

There be other fallouts, too.

Quoted 19 lines · Oleksandr Kravchuk
---
  ...ython3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

rename meta/recipes-devtools/python/{python3-setuptools_57.4.0.bb => python3-setuptools_58.0.4.bb} (94%)

meta/recipes-devtools/python/python3-setuptools_58.0.4.bb renamed from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb +0 -0
similarity index 94%
rename from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb
rename to meta/recipes-devtools/python/python3-setuptools_58.0.4.bb
index ae45936c39..2000d355a9 100644

meta/recipes-devtools/python/python3-setuptools_58.0.4.bb SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e · line 16

Quoted 8 lines
meta/recipes-devtools/python/python3-setuptools_58.0.4.bb renamed from meta/recipes-devtools/python/python3-setuptools_57.4.0.bb +1 -1
@@ -10,7 +10,7 @@ SRC_URI:append:class-native = " file://0001-conditionally-do-not-fetch-code-by-e
 
  SRC_URI += "file://0001-change-shebang-to-python3.patch"
 
-SRC_URI[sha256sum] = "6bac238ffdf24e8806c61440e755192470352850f3419a52f26ffe0a1a64f465"
+SRC_URI[sha256sum] = "f10059f0152e0b7fb6b2edd77bcb1ecd4c9ed7048a826eb2d79f72fd2e6e237b"
 
  DEPENDS += "${PYTHON_PN}"
 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156862): https://lists.openembedded.org/g/openembedded-core/message/156862
Mute This Topic: https://lists.openembedded.org/mt/85708588/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-