Skip to contentSkip to conversation

package/python-setuptools: bump to version 67.8.0

PATCH Applied James Hilliard 3 participants 5 messages Jun 5, 2023 – Jun 23, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-setuptools: bump to version 67.8.0

License hash changed due to name removal:
https://github.com/pypa/setuptools/commit/5957d58266e479f124b31f30e4322e798fdf386b

---
 package/python-setuptools/python-setuptools.hash | 6 +++---
 package/python-setuptools/python-setuptools.mk   | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-setuptools/python-setuptools.hash +3 -3
index 76ad1ba1ce..be13063728 100644
@@ -1,4 +1,4 @@
 # From https://pypi.org/pypi/setuptools/json
-md5  1fd8bd04b0bed95ad6c81f03b1c080bc  setuptools-65.6.3.tar.gz
-sha256  a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75  setuptools-65.6.3.tar.gz
-sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8  LICENSE
+md5  628ab1ae7d14185e5e536740ea31b5ce  setuptools-67.8.0.tar.gz
+sha256  62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102  setuptools-67.8.0.tar.gz
+sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
package/python-setuptools/python-setuptools.mk +2 -2
index 226ef2b479..6d10172cdc 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_SETUPTOOLS_VERSION = 65.6.3
+PYTHON_SETUPTOOLS_VERSION = 67.8.0
 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a
+PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/03/20/630783571e76e5fa5f3e9f29398ca3ace377207b8196b54e0ffdf09f12c1
 PYTHON_SETUPTOOLS_LICENSE = MIT
 PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
 PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 4 lines · James Hilliard

License hash changed due to name removal:
https://github.com/pypa/setuptools/commit/5957d58266e479f124b31f30e4322e798fdf386b

Applied to master, thanks.

Regards,
Arnout

Quoted 23 lines
---
  package/python-setuptools/python-setuptools.hash | 6 +++---
  package/python-setuptools/python-setuptools.mk   | 4 ++--
  2 files changed, 5 insertions(+), 5 deletions(-)
package/python-setuptools/python-setuptools.hash +3 -3
index 76ad1ba1ce..be13063728 100644
@@ -1,4 +1,4 @@
  # From https://pypi.org/pypi/setuptools/json
-md5  1fd8bd04b0bed95ad6c81f03b1c080bc  setuptools-65.6.3.tar.gz
-sha256  a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75  setuptools-65.6.3.tar.gz
-sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8  LICENSE
+md5  628ab1ae7d14185e5e536740ea31b5ce  setuptools-67.8.0.tar.gz
+sha256  62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102  setuptools-67.8.0.tar.gz
+sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
package/python-setuptools/python-setuptools.mk +0 -0
index 226ef2b479..6d10172cdc 100644
@@ -4,9 +4,9 @@
  #

package/python-setuptools/python-setuptools.mk line 12

Quoted 10 lines
package/python-setuptools/python-setuptools.mk +2 -2
  ################################################################################
 
-PYTHON_SETUPTOOLS_VERSION = 65.6.3
+PYTHON_SETUPTOOLS_VERSION = 67.8.0
  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a
+PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/03/20/630783571e76e5fa5f3e9f29398ca3ace377207b8196b54e0ffdf09f12c1
  PYTHON_SETUPTOOLS_LICENSE = MIT
  PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
  PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hello James, Arnout, All,

Le 18/06/2023 à 15:02, Arnout Vandecappelle via buildroot a écrit :

Quoted 5 lines · James Hilliard
Quoted 2 lines

License hash changed due to name removal:
https://github.com/pypa/setuptools/commit/5957d58266e479f124b31f30e4322e798fdf386b

Since this commit, one of the python test fail (TestPythonPy3Gpiozero [1]):

File
"/builds/buildroot.org/buildroot/test-output/TestPythonPy3Gpiozero/host/lib/python3.11/site-packages/pkg_resources/__init__.py", line 868, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorzero' distribution was not found
and is required by the application

But if you look closer in the build log, you will notice new setuptool warning:

[...]sysroot/usr/lib/python3.11/distutils/cmd.py:62:
SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools.

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.

********************************************************************************

So, it means that the package infrastructure for python use a deprecated install method. I'm not sure why this issue appear only with python-piozero but it seems that we need to update the python infrastructure.

Can you have a look?

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/4505977906
[2]
https://gitlab.com/buildroot.org/buildroot/-/blob/2023.05.x/package/pkg-python.mk#L195

Best regards,
Romain

Quoted 45 lines
Quoted 2 lines

 Applied to master, thanks.

 Regards,
 Arnout

Quoted 37 lines

---
  package/python-setuptools/python-setuptools.hash | 6 +++--- package/python-setuptools/python-setuptools.mk   | 4 ++--

  2 files changed, 5 insertions(+), 5 deletions(-)
package/python-setuptools/python-setuptools.hash +0 -2
index 76ad1ba1ce..be13063728 100644
@@ -1,4 +1,4 @@
   # From https://pypi.org/pypi/setuptools/json
-md5  1fd8bd04b0bed95ad6c81f03b1c080bc  setuptools-65.6.3.tar.gz
-sha256  a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 

setuptools-65.6.3.tar.gz
-sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE

package/python-setuptools/python-setuptools.hash +2 -0
+md5  628ab1ae7d14185e5e536740ea31b5ce  setuptools-67.8.0.tar.gz
+sha256  62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102 

setuptools-67.8.0.tar.gz
+sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE

package/python-setuptools/python-setuptools.mk +0 -0
index 226ef2b479..6d10172cdc 100644
@@ -4,9 +4,9 @@
   #


################################################################################
  -PYTHON_SETUPTOOLS_VERSION = 65.6.3 +PYTHON_SETUPTOOLS_VERSION = 67.8.0
  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE =
https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a
+PYTHON_SETUPTOOLS_SITE =

Quoted 8 lines
Quoted 4 lines

https://files.pythonhosted.org/packages/03/20/630783571e76e5fa5f3e9f29398ca3ace377207b8196b54e0ffdf09f12c1
  PYTHON_SETUPTOOLS_LICENSE = MIT
  PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
  PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw

Hello James,

Le 21/06/2023 à 11:57, Romain Naour a écrit :

Quoted 37 lines

Hello James, Arnout, All,

Le 18/06/2023 à 15:02, Arnout Vandecappelle via buildroot a écrit :

Quoted 5 lines · James Hilliard
Quoted 2 lines

License hash changed due to name removal:
https://github.com/pypa/setuptools/commit/5957d58266e479f124b31f30e4322e798fdf386b

Since this commit, one of the python test fail (TestPythonPy3Gpiozero [1]):

File
"/builds/buildroot.org/buildroot/test-output/TestPythonPy3Gpiozero/host/lib/python3.11/site-packages/pkg_resources/__init__.py", line 868, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorzero' distribution was not found
and is required by the application

But if you look closer in the build log, you will notice new setuptool warning:

[...]sysroot/usr/lib/python3.11/distutils/cmd.py:62:
SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools.

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.

********************************************************************************

So, it means that the package infrastructure for python use a deprecated install method. I'm not sure why this issue appear only with python-piozero but it seems that we need to update the python infrastructure.

Quoted 5 lines

Can you have a look?

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/4505977906
[2]
https://gitlab.com/buildroot.org/buildroot/-/blob/2023.05.x/package/pkg-python.mk#L195

Switching to setup.cfg seems to workaround this specific issue:

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

But we have still deprecation warnings.

Thoughts?

Best regards,
Romain

Quoted 58 lines

Best regards,
Romain

Quoted 53 lines
Quoted 2 lines

 Applied to master, thanks.

 Regards,
 Arnout

Quoted 33 lines

---
  package/python-setuptools/python-setuptools.hash | 6 +++--- package/python-setuptools/python-setuptools.mk   | 4 ++--

  2 files changed, 5 insertions(+), 5 deletions(-)
package/python-setuptools/python-setuptools.hash +0 -2
index 76ad1ba1ce..be13063728 100644
@@ -1,4 +1,4 @@
   # From https://pypi.org/pypi/setuptools/json
-md5  1fd8bd04b0bed95ad6c81f03b1c080bc  setuptools-65.6.3.tar.gz
-sha256  a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75 

setuptools-65.6.3.tar.gz
-sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE

package/python-setuptools/python-setuptools.hash +2 -0
+md5  628ab1ae7d14185e5e536740ea31b5ce  setuptools-67.8.0.tar.gz
+sha256  62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102 

setuptools-67.8.0.tar.gz
+sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE

package/python-setuptools/python-setuptools.mk +0 -0
index 226ef2b479..6d10172cdc 100644
@@ -4,9 +4,9 @@
   #


################################################################################
  -PYTHON_SETUPTOOLS_VERSION = 65.6.3
+PYTHON_SETUPTOOLS_VERSION = 67.8.0

Quoted 8 lines

  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz -PYTHON_SETUPTOOLS_SITE =
https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a
+PYTHON_SETUPTOOLS_SITE =
https://files.pythonhosted.org/packages/03/20/630783571e76e5fa5f3e9f29398ca3ace377207b8196b54e0ffdf09f12c1
  PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
Quoted 41 lines · Romain Naour

Hello James,

Quoted 37 lines · Romain Naour

Hello James, Arnout, All,

Quoted 5 lines · Arnout Vandecappelle via buildroot
Quoted 2 lines · James Hilliard

License hash changed due to name removal:
https://github.com/pypa/setuptools/commit/5957d58266e479f124b31f30e4322e798fdf386b

Since this commit, one of the python test fail (TestPythonPy3Gpiozero [1]):

File
"/builds/buildroot.org/buildroot/test-output/TestPythonPy3Gpiozero/host/lib/python3.11/site-packages/pkg_resources/__init__.py", line 868, in _resolve_dist
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'colorzero' distribution was not found
and is required by the application

But if you look closer in the build log, you will notice new setuptool warning:

[...]sysroot/usr/lib/python3.11/distutils/cmd.py:62:
SetuptoolsDeprecationWarning: setup.py install is deprecated. !!
********************************************************************************
Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools.

See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html
for details.

********************************************************************************

So, it means that the package infrastructure for python use a deprecated install method. I'm not sure why this issue appear only with python-piozero but it seems that we need to update the python infrastructure.

Quoted 7 lines
Quoted 5 lines

Can you have a look?

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/4505977906
[2]
https://gitlab.com/buildroot.org/buildroot/-/blob/2023.05.x/package/pkg-python.mk#L195

Switching to setup.cfg seems to workaround this specific issue:

Strange, having a setup.py based installation is not being deprecated, although direct invocation of setup.py will be at some point. From my understanding pep517
build frontends will invoke a setup.py if found for projects without a pyproject.toml file.

Quoted 6 lines

http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

But we have still deprecation warnings.

Thoughts?

Looks like we may now be able to migrate setuptools to pep517 soon, I've sent a patch adding wheel which will be needed for that:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 64 lines

Best regards,
Romain

Quoted 58 lines

Best regards,
Romain

Quoted 53 lines
Quoted 2 lines

Applied to master, thanks.

Regards,
Arnout

Quoted 35 lines
---
  package/python-setuptools/python-setuptools.hash | 6 +++---
  package/python-setuptools/python-setuptools.mk   | 4 ++--
  2 files changed, 5 insertions(+), 5 deletions(-)
package/python-setuptools/python-setuptools.hash +0 -2
index 76ad1ba1ce..be13063728 100644
@@ -1,4 +1,4 @@
  # From https://pypi.org/pypi/setuptools/json
-md5  1fd8bd04b0bed95ad6c81f03b1c080bc  setuptools-65.6.3.tar.gz
-sha256  a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75

setuptools-65.6.3.tar.gz
-sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE

package/python-setuptools/python-setuptools.hash +2 -0
+md5  628ab1ae7d14185e5e536740ea31b5ce  setuptools-67.8.0.tar.gz
+sha256  62642358adc77ffa87233bc4d2354c4b2682d214048f500964dbe760ccedf102

setuptools-67.8.0.tar.gz
+sha256 86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE

package/python-setuptools/python-setuptools.mk +1 -1
index 226ef2b479..6d10172cdc 100644
@@ -4,9 +4,9 @@
  #
 
 ################################################################################
  -PYTHON_SETUPTOOLS_VERSION = 65.6.3
+PYTHON_SETUPTOOLS_VERSION = 67.8.0
  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE =
Quoted 6 lines

https://files.pythonhosted.org/packages/b6/21/cb9a8d0b2c8597c83fce8e9c02884bce3d4951e41e807fc35791c6b23d9a
+PYTHON_SETUPTOOLS_SITE =
https://files.pythonhosted.org/packages/03/20/630783571e76e5fa5f3e9f29398ca3ace377207b8196b54e0ffdf09f12c1
PYTHON_SETUPTOOLS_LICENSE = MIT
PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE
PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot