From: Pieter Lexis Date: Mon, 9 Feb 2026 08:35:52 +0000 (+0100) Subject: docs(recursor): Pin setuptools so pkg_resources keeps working X-Git-Tag: rec-5.5.0-alpha0~22^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b11cc4cfdad5843d12dd6bb271990a2a49da86;p=thirdparty%2Fpdns.git docs(recursor): Pin setuptools so pkg_resources keeps working --- diff --git a/pdns/recursordist/Makefile.am b/pdns/recursordist/Makefile.am index cdad1c619d..068707b245 100644 --- a/pdns/recursordist/Makefile.am +++ b/pdns/recursordist/Makefile.am @@ -590,7 +590,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 ${top_srcdir}/docs/requirements.txt html-docs: docs/** .venv diff --git a/pdns/recursordist/docs/Makefile.sphinx b/pdns/recursordist/docs/Makefile.sphinx index 62bd9d2150..a121f032e3 100644 --- a/pdns/recursordist/docs/Makefile.sphinx +++ b/pdns/recursordist/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/recursordist/docs/requirements.in b/pdns/recursordist/docs/requirements.in index 8e50d872b1..7dad03fa3e 100644 --- a/pdns/recursordist/docs/requirements.in +++ b/pdns/recursordist/docs/requirements.in @@ -17,3 +17,4 @@ alabaster==0.7.13 pbr # setup-requires for sphinxcontrib-fulltoc standard-imghdr standard-pipes +setuptools<82 diff --git a/pdns/recursordist/docs/requirements.txt b/pdns/recursordist/docs/requirements.txt index 3c93ac29b3..17a93f78b0 100644 --- a/pdns/recursordist/docs/requirements.txt +++ b/pdns/recursordist/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 \ @@ -340,7 +340,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