aboutsummaryrefslogtreecommitdiffstats
path: root/build_scripts/main.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <[email protected]>2024-12-03 15:00:32 +0100
committerCristián Maureira-Fredes <[email protected]>2024-12-05 15:51:55 +0100
commitc5880ced5b6cfc7a07af9d4e7079af563ceae089 (patch)
treea5c198665e0be16f56e4d355bc9902d9f44ed20d /build_scripts/main.py
parentc660766e30737238310e4918eb163b933129ab24 (diff)
build: fetch metadata from pyproject.toml file
In a couple of releases we had inconsistencies between the wheel meta information from the build_scripts old scripts and the create_wheels new script. For old versions, we rely on tomli, but on new ones we use the standard tomllib one. Pick-to: 6.8 Change-Id: I114d8b0a240ad41cad8b57c27a0b3afadc928d94 Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'build_scripts/main.py')
-rw-r--r--build_scripts/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_scripts/main.py b/build_scripts/main.py
index 7e06c3ddc..68ab512a0 100644
--- a/build_scripts/main.py
+++ b/build_scripts/main.py
@@ -121,7 +121,7 @@ def get_allowed_python_versions():
pattern = r'Programming Language :: Python :: (\d+)\.(\d+)'
supported = []
- for line in config.python_version_classifiers:
+ for line in config.classifiers:
found = re.search(pattern, line)
if found:
major = int(found.group(1))