Files
packages/lang/python/python-urllib3/patches/0001-relax-setuptools-scm-version-constraint.patch
Alexandru Ardelean 646903fea2 python-urllib3: relax setuptools-scm version constraint
urllib3 2.6.3 pyproject.toml pins setuptools-scm<10 but
python-setuptools-scm was recently bumped to 10.0.3, breaking
the build. Drop the upper bound via patch to allow building
with setuptools-scm 10.x.

Also add test.sh to verify core API imports, Retry/Timeout
configuration, and PoolManager creation.

Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
2026-04-02 19:23:54 +03:00

12 lines
339 B
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,7 +1,7 @@
# This file is protected via CODEOWNERS
[build-system]
-requires = ["hatchling>=1.27.0,<2", "hatch-vcs>=0.4.0,<0.6.0", "setuptools-scm>=8,<10"]
+requires = ["hatchling>=1.27.0,<2", "hatch-vcs>=0.4.0,<0.6.0", "setuptools-scm>=8"]
build-backend = "hatchling.build"
[project]