Skip to contentSkip to conversation

package/python-setuptools: bump to version 75.8.0

PATCH In review James Hilliard 3 participants 5 messages Jan 11, 2025 – Feb 4, 2025

lore
Share & tools
lore
#0 lore raw

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

Rebase add executable patch.

---
 package/python-setuptools/0001-add-executable.patch | 12 ++++++------
 package/python-setuptools/python-setuptools.hash    |  4 ++--
 package/python-setuptools/python-setuptools.mk      |  4 ++--
 3 files changed, 10 insertions(+), 10 deletions(-)
package/python-setuptools/0001-add-executable.patch +6 -6
index cd3cb66a5b..9e12c4b628 100644
@@ -1,4 +1,4 @@
-From aa232855cf717835a5d16954f1fd8ead315a5fa6 Mon Sep 17 00:00:00 2001
+From 995cf87c0dfc420908847a06661cbae21d16a8f6 Mon Sep 17 00:00:00 2001
 From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]>
 Date: Mon, 7 Dec 2015 01:14:33 +0100
 Subject: [PATCH] add executable
@@ -22,10 +22,10 @@ Signed-off-by: James Hilliard <[email protected]>
  2 files changed, 11 insertions(+)
 
 diff --git a/setuptools/command/install.py b/setuptools/command/install.py
-index e2ec1abdd..e78ace3d4 100644
+index 741b140c7..5a281237a 100644
 --- a/setuptools/command/install.py
 +++ b/setuptools/command/install.py
-@@ -26,6 +26,7 @@ class install(orig.install):
+@@ -39,6 +39,7 @@ class install(orig.install):
      distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
  
      user_options = orig.install.user_options + [
@@ -33,7 +33,7 @@ index e2ec1abdd..e78ace3d4 100644
          ('old-and-unmanageable', None, "Try not to use this!"),
          (
              'single-version-externally-managed',
-@@ -60,6 +61,7 @@ class install(orig.install):
+@@ -73,6 +74,7 @@ class install(orig.install):
          )
  
          super().initialize_options()
@@ -42,11 +42,11 @@ index e2ec1abdd..e78ace3d4 100644
          self.single_version_externally_managed = None
  
 diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py
-index 7b90611d1..216cadf80 100644
+index 4401cf693..38f5d5092 100644
 --- a/setuptools/command/install_scripts.py
 +++ b/setuptools/command/install_scripts.py
 @@ -18,6 +18,13 @@ class install_scripts(orig.install_scripts):
-     def initialize_options(self):
+     def initialize_options(self) -> None:
          orig.install_scripts.initialize_options(self)
          self.no_ep = False
 +        self.executable = None
package/python-setuptools/python-setuptools.hash +2 -2
index e99fc7d9b2..87a4d877ea 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/setuptools/json
-md5  ca5ea2d5e9622d6a7b9f6c6664821853  setuptools-75.3.0.tar.gz
-sha256  fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686  setuptools-75.3.0.tar.gz
+md5  a42b075e3e18e724580f4caf7944354a  setuptools-75.8.0.tar.gz
+sha256  c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6  setuptools-75.8.0.tar.gz
 # Locally computed sha256 checksums
 sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
package/python-setuptools/python-setuptools.mk +2 -2
index d6b65a2b9e..af59e54d11 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_SETUPTOOLS_VERSION = 75.3.0
+PYTHON_SETUPTOOLS_VERSION = 75.8.0
 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ed/22/a438e0caa4576f8c383fa4d35f1cc01655a46c75be358960d815bfbb12bd
+PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/92/ec/089608b791d210aec4e7f97488e67ab0d33add3efccb83a056cbafe3a2a6
 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
#2 lore raw
In reply to James Hilliard

Hi James,

Quoted 3 lines · James Hilliard

Rebase add executable patch.

After this update, I get errors like this:

* Getting build dependencies for wheel... /home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg)
/home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270: UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help

error: invalid command 'egg_info'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
make: *** [package/pkg-generic.mk:289: /home/arnout/src/buildroot/output/build/host-python-six-1.17.0/.stamp_built] Error 1

I also got it for host-python-httplib2.

Of course, this only happens natively (Fedora 40), not in our docker image...
I looked a bit at what is different - I think the main difference is that my Fedora host has python 3.12 installed while the Ubuntue container doesn't.

Regards,
Arnout

Quoted 70 lines
---
  package/python-setuptools/0001-add-executable.patch | 12 ++++++------
  package/python-setuptools/python-setuptools.hash    |  4 ++--
  package/python-setuptools/python-setuptools.mk      |  4 ++--
  3 files changed, 10 insertions(+), 10 deletions(-)
package/python-setuptools/0001-add-executable.patch +6 -6
index cd3cb66a5b..9e12c4b628 100644
@@ -1,4 +1,4 @@
-From aa232855cf717835a5d16954f1fd8ead315a5fa6 Mon Sep 17 00:00:00 2001
+From 995cf87c0dfc420908847a06661cbae21d16a8f6 Mon Sep 17 00:00:00 2001
  From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]>
  Date: Mon, 7 Dec 2015 01:14:33 +0100
  Subject: [PATCH] add executable
@@ -22,10 +22,10 @@ Signed-off-by: James Hilliard <[email protected]>
   2 files changed, 11 insertions(+)
 
  diff --git a/setuptools/command/install.py b/setuptools/command/install.py
-index e2ec1abdd..e78ace3d4 100644
+index 741b140c7..5a281237a 100644
  --- a/setuptools/command/install.py
  +++ b/setuptools/command/install.py
-@@ -26,6 +26,7 @@ class install(orig.install):
+@@ -39,6 +39,7 @@ class install(orig.install):
       distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
 
       user_options = orig.install.user_options + [
@@ -33,7 +33,7 @@ index e2ec1abdd..e78ace3d4 100644
           ('old-and-unmanageable', None, "Try not to use this!"),
           (
               'single-version-externally-managed',
-@@ -60,6 +61,7 @@ class install(orig.install):
+@@ -73,6 +74,7 @@ class install(orig.install):
           )
 
           super().initialize_options()
@@ -42,11 +42,11 @@ index e2ec1abdd..e78ace3d4 100644
           self.single_version_externally_managed = None
 
  diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py
-index 7b90611d1..216cadf80 100644
+index 4401cf693..38f5d5092 100644
  --- a/setuptools/command/install_scripts.py
  +++ b/setuptools/command/install_scripts.py
  @@ -18,6 +18,13 @@ class install_scripts(orig.install_scripts):
-     def initialize_options(self):
+     def initialize_options(self) -> None:
           orig.install_scripts.initialize_options(self)
           self.no_ep = False
  +        self.executable = None
package/python-setuptools/python-setuptools.hash +2 -2
index e99fc7d9b2..87a4d877ea 100644
@@ -1,5 +1,5 @@
  # md5, sha256 from https://pypi.org/pypi/setuptools/json
-md5  ca5ea2d5e9622d6a7b9f6c6664821853  setuptools-75.3.0.tar.gz
-sha256  fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686  setuptools-75.3.0.tar.gz
+md5  a42b075e3e18e724580f4caf7944354a  setuptools-75.8.0.tar.gz
+sha256  c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6  setuptools-75.8.0.tar.gz
  # Locally computed sha256 checksums
  sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
package/python-setuptools/python-setuptools.mk +0 -0
index d6b65a2b9e..af59e54d11 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 = 75.3.0
+PYTHON_SETUPTOOLS_VERSION = 75.8.0
  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ed/22/a438e0caa4576f8c383fa4d35f1cc01655a46c75be358960d815bfbb12bd
+PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/92/ec/089608b791d210aec4e7f97488e67ab0d33add3efccb83a056cbafe3a2a6
  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

#3 lore raw
Quoted 28 lines · Arnout Vandecappelle

Hi James,

Quoted 3 lines · James Hilliard

Rebase add executable patch.

After this update, I get errors like this:

* Getting build dependencies for wheel... /home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270:
UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
/home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270:
UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help

error: invalid command 'egg_info'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
make: *** [package/pkg-generic.mk:289:
/home/arnout/src/buildroot/output/build/host-python-six-1.17.0/.stamp_built] Error 1

Quoted 5 lines

I also got it for host-python-httplib2.

Of course, this only happens natively (Fedora 40), not in our docker image...
I looked a bit at what is different - I think the main difference is that my Fedora host has python 3.12 installed while the Ubuntue container doesn't.

Hmm, that's weird, our host-python shouldn't be picking up the build host site-packages.

Is there anything weird with the build host env variables or something?

I tried on my ubuntu build host with python 3.12 as well and wasn't able to reproduce this error.

Quoted 76 lines

Regards,
Arnout

Quoted 72 lines
---
  package/python-setuptools/0001-add-executable.patch | 12 ++++++------
  package/python-setuptools/python-setuptools.hash    |  4 ++--
  package/python-setuptools/python-setuptools.mk      |  4 ++--
  3 files changed, 10 insertions(+), 10 deletions(-)
package/python-setuptools/0001-add-executable.patch +6 -6
index cd3cb66a5b..9e12c4b628 100644
@@ -1,4 +1,4 @@
-From aa232855cf717835a5d16954f1fd8ead315a5fa6 Mon Sep 17 00:00:00 2001
+From 995cf87c0dfc420908847a06661cbae21d16a8f6 Mon Sep 17 00:00:00 2001
  From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]>
  Date: Mon, 7 Dec 2015 01:14:33 +0100
  Subject: [PATCH] add executable
@@ -22,10 +22,10 @@ Signed-off-by: James Hilliard <[email protected]>
   2 files changed, 11 insertions(+)
 
  diff --git a/setuptools/command/install.py b/setuptools/command/install.py
-index e2ec1abdd..e78ace3d4 100644
+index 741b140c7..5a281237a 100644
  --- a/setuptools/command/install.py
  +++ b/setuptools/command/install.py
-@@ -26,6 +26,7 @@ class install(orig.install):
+@@ -39,6 +39,7 @@ class install(orig.install):
       distribution: Distribution  # override distutils.dist.Distribution with setuptools.dist.Distribution
 
       user_options = orig.install.user_options + [
@@ -33,7 +33,7 @@ index e2ec1abdd..e78ace3d4 100644
           ('old-and-unmanageable', None, "Try not to use this!"),
           (
               'single-version-externally-managed',
-@@ -60,6 +61,7 @@ class install(orig.install):
+@@ -73,6 +74,7 @@ class install(orig.install):
           )
 
           super().initialize_options()
@@ -42,11 +42,11 @@ index e2ec1abdd..e78ace3d4 100644
           self.single_version_externally_managed = None
 
  diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py
-index 7b90611d1..216cadf80 100644
+index 4401cf693..38f5d5092 100644
  --- a/setuptools/command/install_scripts.py
  +++ b/setuptools/command/install_scripts.py
  @@ -18,6 +18,13 @@ class install_scripts(orig.install_scripts):
-     def initialize_options(self):
+     def initialize_options(self) -> None:
           orig.install_scripts.initialize_options(self)
           self.no_ep = False
  +        self.executable = None
package/python-setuptools/python-setuptools.hash +2 -2
index e99fc7d9b2..87a4d877ea 100644
@@ -1,5 +1,5 @@
  # md5, sha256 from https://pypi.org/pypi/setuptools/json
-md5  ca5ea2d5e9622d6a7b9f6c6664821853  setuptools-75.3.0.tar.gz
-sha256  fba5dd4d766e97be1b1681d98712680ae8f2f26d7881245f2ce9e40714f1a686  setuptools-75.3.0.tar.gz
+md5  a42b075e3e18e724580f4caf7944354a  setuptools-75.8.0.tar.gz
+sha256  c5afc8f407c626b8313a86e10311dd3f661c6cd9c09d4bf8c15c0e11f9f2b0e6  setuptools-75.8.0.tar.gz
  # Locally computed sha256 checksums
  sha256  86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741  LICENSE
package/python-setuptools/python-setuptools.mk +0 -0
index d6b65a2b9e..af59e54d11 100644
@@ -4,9 +4,9 @@
  #
  ################################################################################
 
Quoted 9 lines

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

Quoted 8 lines
package/python-setuptools/python-setuptools.mk +2 -2
-PYTHON_SETUPTOOLS_VERSION = 75.3.0
+PYTHON_SETUPTOOLS_VERSION = 75.8.0
  PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).tar.gz
-PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/ed/22/a438e0caa4576f8c383fa4d35f1cc01655a46c75be358960d815bfbb12bd
+PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/92/ec/089608b791d210aec4e7f97488e67ab0d33add3efccb83a056cbafe3a2a6
  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

#4 lore raw
Quoted 35 lines · James Hilliard
Quoted 28 lines · Arnout Vandecappelle

Hi James,

Quoted 3 lines · James Hilliard

Rebase add executable patch.

After this update, I get errors like this:

* Getting build dependencies for wheel... /home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270:
UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
/home/arnout/src/buildroot/output/per-package/host-python-six/host/lib/python3.12/site-packages/setuptools/_distutils/dist.py:270:
UserWarning: Unknown distribution option: 'python_requires'
warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

     or: setup.py --help [cmd1 cmd2 ...]
     or: setup.py --help-commands
     or: setup.py cmd --help

error: invalid command 'egg_info'

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel
make: *** [package/pkg-generic.mk:289:
/home/arnout/src/buildroot/output/build/host-python-six-1.17.0/.stamp_built] Error 1

Quoted 5 lines

I also got it for host-python-httplib2.

Of course, this only happens natively (Fedora 40), not in our docker image...
I looked a bit at what is different - I think the main difference is that my Fedora host has python 3.12 installed while the Ubuntue container doesn't.

Quoted 7 lines

Hmm, that's weird, our host-python shouldn't be picking up the build host site-packages.

Is there anything weird with the build host env variables or something?

I tried on my ubuntu build host with python 3.12 as well and wasn't able to reproduce this error.

It's clear that it's weird :-)

Today, I can no longer reproduce the issue after 'make clean'. I'm sure that I
did do a 'make clean' yesterday as well. But I also changed a lot of other things in the config between then and now, so it's impossible to remember what I changed. Oh well, let's just ignore.

Regards,
Arnout

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