From: Pieter Lexis Date: Mon, 9 Feb 2026 08:36:28 +0000 (+0100) Subject: docs(dnsdist): Pin setuptools so pkg_resources keeps working X-Git-Tag: rec-5.5.0-alpha0~22^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e736b8d1b9d4e387f4106f2e99eb87548b05d753;p=thirdparty%2Fpdns.git docs(dnsdist): Pin setuptools so pkg_resources keeps working --- diff --git a/pdns/dnsdistdist/Makefile.am b/pdns/dnsdistdist/Makefile.am index 2ad0541ab7..1502e91138 100644 --- a/pdns/dnsdistdist/Makefile.am +++ b/pdns/dnsdistdist/Makefile.am @@ -692,7 +692,7 @@ endif # if !HAVE_MANPAGES .venv: docs/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 $< latex/dnsdist.pdf: docs/** .venv diff --git a/pdns/dnsdistdist/docs/Makefile.sphinx b/pdns/dnsdistdist/docs/Makefile.sphinx index 4e3d1dddd8..80e28382eb 100644 --- a/pdns/dnsdistdist/docs/Makefile.sphinx +++ b/pdns/dnsdistdist/docs/Makefile.sphinx @@ -21,7 +21,7 @@ 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 diff --git a/pdns/dnsdistdist/docs/requirements.in b/pdns/dnsdistdist/docs/requirements.in index ba82ff4a8b..17b093a756 100644 --- a/pdns/dnsdistdist/docs/requirements.in +++ b/pdns/dnsdistdist/docs/requirements.in @@ -16,3 +16,4 @@ alabaster==0.7.13 pbr # setup-requires for sphinxcontrib-fulltoc standard.pipes standard.imghdr +setuptools<82 diff --git a/pdns/dnsdistdist/docs/requirements.txt b/pdns/dnsdistdist/docs/requirements.txt index 08d96dd945..109eafbeb1 100644 --- a/pdns/dnsdistdist/docs/requirements.txt +++ b/pdns/dnsdistdist/docs/requirements.txt @@ -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 \ @@ -10,9 +10,9 @@ alabaster==0.7.13 \ # via # -r requirements.in # sphinx -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 \ @@ -336,7 +336,11 @@ 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 + # sphinx