]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
docs(auth): Pin setuptools so pkg_resources keeps working
authorPieter Lexis <pieter.lexis@powerdns.com>
Mon, 9 Feb 2026 08:36:15 +0000 (09:36 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Mon, 9 Feb 2026 09:50:13 +0000 (10:50 +0100)
docs/Makefile.am
docs/Makefile.sphinx
docs/requirements.in
docs/requirements.txt
pdns/Makefile.am

index 1f2ae072b8deb88e69b1bdfa2b3368dcd069f93e..da63c04b607d06d2894758ed1e2cc3f20203c3b9 100644 (file)
@@ -68,7 +68,7 @@ mans/.complete: .venv
 
 .venv: requirements.txt
        $(PYTHON) -m venv .venv
-       .venv/bin/pip install -U pip setuptools
+       .venv/bin/pip install -U pip "setuptools<82"
        .venv/bin/pip install -r ${srcdir}/requirements.txt
 
 .NOTPARALLEL: \
index 2cc2e1f33c050b98921c07d014c73274b169b198..0ce5f46b2209bbf1b12a6ff748837afd01920416 100644 (file)
@@ -21,5 +21,5 @@ help: .venv
 
 .venv:
        python3 -m venv .venv
-       .venv/bin/pip install -U pip setuptools
+       .venv/bin/pip install -U pip "setuptools<82"
        .venv/bin/pip install -r requirements.txt
index afb0cbe3309570d52a445d6dbb0a5f436c9bb219..1377866a69d3ed55c3a7b26abd0c2d8ae0898bd4 100644 (file)
@@ -17,3 +17,4 @@ setuptools-scm==8.0.3 # setup-requires for sphinxcontrib-openapi
 pbr # setup-requires for sphinxcontrib-fulltoc
 standard.pipes
 standard.imghdr
+setuptools<82
index 84b4f530c2b8a1b4a93c77bbea78fd00566767d8..219aa19e27884b16cc6968bc26a1e04fcb92903f 100644 (file)
@@ -2,7 +2,7 @@
 # This file is autogenerated by pip-compile with Python 3.11
 # by the following command:
 #
-#    pip-compile --generate-hashes requirements.in
+#    pip-compile --allow-unsafe --generate-hashes requirements.in
 #
 alabaster==0.7.13 \
     --hash=sha256:1ee19aca801bbabb5ba3f5f258e4422dfa86f82f3e9cefb0859b283cdd7f62a3 \
@@ -16,9 +16,9 @@ attrs==25.4.0 \
     # via
     #   jsonschema
     #   referencing
-babel==2.17.0 \
-    --hash=sha256:0c54cffb19f690cdcc52a3b50bcbf71e07a808d1c80d549f2459b9d2cf0afb9d \
-    --hash=sha256:4d0b53093fdfb4b21c92b5213dba5a1b23885afa8383709427046b21c366e5f2
+babel==2.18.0 \
+    --hash=sha256:b80b99a14bd085fcacfa15c9165f651fbb3406e66cc603abf11c5750937c992d \
+    --hash=sha256:e2b422b277c2b9a9630c1d7903c2a00d0830c409c59ac8cae9081c92f1aeba35
     # via sphinx
 certifi==2026.1.4 \
     --hash=sha256:9943707519e4add1115f44c2bc244f782c0249876bf51b6599fee1ffbedd685c \
@@ -544,7 +544,12 @@ wheel==0.46.2 \
     --hash=sha256:3d79e48fde9847618a5a181f3cc35764c349c752e2fe911e65fa17faab9809b0
     # via -r requirements.in
 
-# WARNING: The following packages were not pinned, but pip requires them to be
-# pinned when the requirements file includes hashes and the requirement is not
-# satisfied by a package already installed. Consider using the --allow-unsafe flag.
-# setuptools
+# The following packages are considered to be unsafe in a requirements file:
+setuptools==81.0.0 \
+    --hash=sha256:487b53915f52501f0a79ccfd0c02c165ffe06631443a886740b91af4b7a5845a \
+    --hash=sha256:fdd925d5c5d9f62e4b74b30d6dd7828ce236fd6ed998a08d81de62ce5a6310d6
+    # via
+    #   -r requirements.in
+    #   pbr
+    #   setuptools-scm
+    #   sphinx
index 6a2b0f5e3c6ee0edd27b56d229d2ff52c3bc663c..2f375d6126d0ad371ba1631a33fa1e03d203d4a3 100644 (file)
@@ -100,7 +100,7 @@ api-swagger.yaml: $(wildcard ${srcdir}/../docs/http-api/swagger/authoritative-ap
 if HAVE_VENV
 api-swagger.json: api-swagger.yaml requirements.txt
        $(PYTHON) -m venv .venv
-       .venv/bin/pip install -U pip setuptools
+       .venv/bin/pip install -U pip "setuptools<82"
        .venv/bin/pip install -r ${srcdir}/requirements.txt
        .venv/bin/python ${srcdir}/convert-yaml-to-json.py $< $@
 else # if HAVE_VENV