Skip to contentSkip to conversation

python-setuptools: bump to 40.0.0

PATCH New Adam Duskett 2 participants 2 messages Aug 20, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-setuptools: bump to 40.0.0

From: Adam Duskett <[email protected]>

With the introduction of Python 3.7.0, setuptools also needs to be updated. Without the update, several packages will fail to build or install with a
ValueError: bad marshal data (unknown type code).

Updating setuptools to 40.0.0 version fixes this issue.

Even though 40.1.0 is out, updating to 40.0.0 is recommended as it seems like 40.1.0 breaks version detection on some python packages such as python-cryptography which will error out with a complaint that setuptools is too old, even though it's at 40.1.0. Using 40.0.0 fixes the issue.

Fixes:
http://autobuild.buildroot.net/results/636/636da0febe02f991095965d52cc4a8b2da644777/
http://autobuild.buildroot.net/results/5f6/5f659130a6a32a4c43d6ed2c3b559df77ae18249/

---
 package/python-setuptools/python-setuptools.hash | 2 +-
 package/python-setuptools/python-setuptools.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
package/python-setuptools/python-setuptools.hash +1 -1
index f116a69..c905d82 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256  2599b4c452e77824bbd6da28d16b1fe8159c7a4c203d8d419d8b348fde7b9549  python-setuptools-v38.4.0.tar.gz
+sha256  327e232b1809c9481256408fe9233bcf6a27f9f63ddbbadc526f451e5027aad5  python-setuptools-v40.0.0.tar.gz
 sha256  c32a3ac395af6321efd28be73d06a00f0db6ab887d1c21d4fec46128d2056d5a  LICENSE
package/python-setuptools/python-setuptools.mk +1 -1
index 004fc0d..8db8511 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-PYTHON_SETUPTOOLS_VERSION = v38.4.0
+PYTHON_SETUPTOOLS_VERSION = v40.0.0
 PYTHON_SETUPTOOLS_SITE = $(call github,pypa,setuptools,$(PYTHON_SETUPTOOLS_VERSION))
 PYTHON_SETUPTOOLS_LICENSE = MIT
 PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 python-setuptools: bump to 40.0.0

Hello,

Quoted 13 lines · Adam Duskett

From: Adam Duskett <[email protected]>

With the introduction of Python 3.7.0, setuptools also needs to be updated. Without the update, several packages will fail to build or install with a
ValueError: bad marshal data (unknown type code).

Updating setuptools to 40.0.0 version fixes this issue.

Even though 40.1.0 is out, updating to 40.0.0 is recommended as it seems like 40.1.0 breaks version detection on some python packages such as python-cryptography which will error out with a complaint that setuptools is too old, even though it's at 40.1.0. Using 40.0.0 fixes the issue.

Quoted 8 lines

Fixes:
http://autobuild.buildroot.net/results/636/636da0febe02f991095965d52cc4a8b2da644777/
http://autobuild.buildroot.net/results/5f6/5f659130a6a32a4c43d6ed2c3b559df77ae18249/

---
 package/python-setuptools/python-setuptools.hash | 2 +-
 package/python-setuptools/python-setuptools.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com