From 9b878192d61ca16c137dc73e869f255df013da44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 8 Dec 2025 12:37:59 +0100 Subject: [PATCH] Allow building with setuptools_scm 9 --- python-urllib3.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python-urllib3.spec b/python-urllib3.spec index d56aabc..7d4d9ba 100644 --- a/python-urllib3.spec +++ b/python-urllib3.spec @@ -88,6 +88,8 @@ Recommends: python3-urllib3+socks # Unpin hatch-vcs version # See https://github.com/urllib3/urllib3/issues/3612 sed -i 's/hatch-vcs==/hatch-vcs>=/' pyproject.toml +# Allow setuptools_scm 9, https://github.com/urllib3/urllib3/commit/1ce1b59ec6 +sed -i 's/setuptools-scm>=8,<9/setuptools-scm>=8,<10/' pyproject.toml # Make sure that the RECENT_DATE value doesn't get too far behind what the current date is. # RECENT_DATE must not be older that 2 years from the build time, or else test_recent_date