Skip to contentSkip to conversation

bindings: python: require newer setuptools

PATCH Applied Vincent Fazio 2 participants 2 messages Feb 17 – Feb 18 GPIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bindings: python: require newer setuptools

When commit d9b156ecc2ec updated pyproject.toml to conform to PEP 639 we failed to make sure the build dependencies were updated to support the new structure.

Support for PEP 639 was added to setuptools in v77.0.0 [0] so minimally require that version in build-system.requires to avoid failures.

[0]: https://setuptools.pypa.io/en/latest/history.html#v77-0-0

Fixes d9b156ecc2ec ("bindings: python: make licensing information conform with PEP 639")
---
 bindings/python/pyproject.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
bindings/python/pyproject.toml +1 -1
index 45d50ae..1c3549c 100644
@@ -2,7 +2,7 @@
 # SPDX-FileCopyrightText: 2023 Phil Howard <[email protected]>
 
 [build-system]
-requires = ["setuptools>=69.0.0", "wheel", "packaging"]
+requires = ["setuptools>=77.0.0", "wheel", "packaging"]
 build-backend = "setuptools.build_meta"
 
 [project]
Signature · 1 line
2.43.0
#1 lore raw
Quoted 8 lines · Vincent Fazio

When commit d9b156ecc2ec updated pyproject.toml to conform to PEP 639 we failed to make sure the build dependencies were updated to support the new structure.

Support for PEP 639 was added to setuptools in v77.0.0 [0] so minimally require that version in build-system.requires to avoid failures.

[...]

Applied, thanks!

[1/1] bindings: python: require newer setuptools

      https://git.kernel.org/brgl/c/ff267fb439b5c307fe75b47bed4db11148b29ff1

Best regards,

Signature · 1 line
Bartosz Golaszewski <[email protected]>