Skip to content

Commit 2994629

Browse files
committed
build: setuptools, packaging and build
By updating the build dependencies, a few things have changed by updating packaging and setuptools: - now the name of the wheel files needs to be lowercase - the generated wheel names now have lower-case for the project name - the license entry on pyproject.toml can now be a direct SPDX - update wheel_tester Pick-to: 6.9 Change-Id: Iefee4adba5d3fee433d02729b0995acb2c3cceed Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
1 parent e5c6221 commit 2994629

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

build_scripts/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def __init__(self):
8282
self.setup_kwargs['author'] = _author["name"]
8383
self.setup_kwargs['author_email'] = _author["email"]
8484
self.setup_kwargs['url'] = _pyproject_data["urls"]["Homepage"]
85-
self.setup_kwargs['license'] = _pyproject_data["license"]["text"]
85+
self.setup_kwargs['license'] = _pyproject_data["license"]
8686
self.setup_kwargs['python_requires'] = _pyproject_data["requires-python"]
8787

8888
self.classifiers = _pyproject_data["classifiers"]

requirements-coin.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pip>=24.2
2-
setuptools==72.1.0
1+
pip>=25
2+
setuptools==78.1.0
33
importlib_metadata>=6
44
importlib_resources>=5.10.2
55
packaging>=24

requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Build dependencies
2-
setuptools==72.1.0
3-
packaging==24.1
4-
build==1.2.1
2+
setuptools==78.1.0
3+
packaging==24.2
4+
build==1.2.2.post1
55
wheel==0.43.0
66
distro==1.9.0; sys_platform == 'linux'
77
patchelf==0.17.2; sys_platform == 'linux'

testing/wheel_tester.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ def package_prefix_names():
8484
# Note: shiboken6_generator is not needed for compile_using_nuitka,
8585
# but building modules with cmake needs it.
8686
if NEW_WHEELS:
87-
return ["shiboken6", "shiboken6_generator", "PySide6_Essentials", "PySide6_Addons",
88-
"PySide6"]
87+
return ["shiboken6", "shiboken6_generator", "pyside6_essentials", "pyside6_addons",
88+
"pyside6"]
8989
else:
90-
return ["shiboken6", "shiboken6_generator", "PySide6"]
90+
return ["shiboken6", "shiboken6_generator", "pyside6"]
9191

9292

9393
def clean_egg_info():

0 commit comments

Comments
 (0)