sip6/sip6-lower-setuptools-requirement.patch
Jan Grulich dca43245df 6.14.0
Resolves: RHEL-109197
2025-12-02 09:20:59 +01:00

47 lines
1.6 KiB
Diff

diff --git a/pyproject.toml b/pyproject.toml
index caeaf29..683e3f3 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
# The project configuration for sip.
[build-system]
-requires = ["setuptools>=77", "setuptools_scm>=8"]
+requires = ["setuptools>=69", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
@@ -12,10 +12,8 @@ name = "sip"
description = "A Python bindings generator for C/C++ libraries"
readme = "README.md"
urls.homepage = "https://github.com/Python-SIP/sip"
-dependencies = ["packaging>=24.2", "setuptools>=75.8.1", "tomli; python_version<'3.11'"]
+dependencies = ["packaging>=24.2", "setuptools>=69", "tomli; python_version<'3.11'"]
requires-python = ">=3.9"
-license = "BSD-2-Clause"
-license-files = ["LICENSE"]
dynamic = ["version"]
[[project.authors]]
@@ -29,3 +27,7 @@ sip-build = "sipbuild.tools.build:main"
sip-install = "sipbuild.tools.install:main"
sip-sdist = "sipbuild.tools.sdist:main"
sip-wheel = "sipbuild.tools.wheel:main"
+
+[project.license]
+text = "BSD-2-Clause"
+files = ["LICENSE"]
diff --git a/sipbuild/py_versions.py b/sipbuild/py_versions.py
index c52a101..64eb4ba 100644
--- a/sipbuild/py_versions.py
+++ b/sipbuild/py_versions.py
@@ -6,7 +6,7 @@
# The minimum required version of setuptools. This is the earliest version
# that generates correct wheel names for PyPI. Remember to update
# pyproject.toml in the root directory.
-MINIMUM_SETUPTOOLS = '75.8.1'
+MINIMUM_SETUPTOOLS = '69'
# The oldest supported minor version of Python v3. Remember to update
# pyproject.toml in the root directory.