From: Matthew Watkins Date: Thu, 5 Mar 2026 12:30:19 +0000 (+0000) Subject: Fix(deps): Pin setuptools<82 to retain pkg_resources X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=99cd55e4cf345eaa5415df61a35beb8fd6abd91d;p=vnfrqts%2Frequirements.git Fix(deps): Pin setuptools<82 to retain pkg_resources Setuptools v82.0.0 removed the bundled pkg_resources module. RTD builds run 'pip install --upgrade setuptools' which installs 82.0.0, then sphinxcontrib-needs fails with: ModuleNotFoundError: No module named 'pkg_resources' Pin setuptools>=65.0.0,<82 in requirements-docs.txt (for RTD) and tox.ini (for consistency) to retain pkg_resources until sphinxcontrib-needs can be replaced with the actively maintained sphinx-needs package. Issue-ID: CIMAN-33 Change-Id: Iccc3b307f7b6f6e48945e5a8041ddad9f91b5ced Signed-off-by: Matthew Watkins --- diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt index 5f21095..d2c30e9 100644 --- a/docs/requirements-docs.txt +++ b/docs/requirements-docs.txt @@ -1,3 +1,4 @@ +setuptools>=65.0.0,<82 sphinx>=4.2.0 # BSD sphinx-rtd-theme>=1.0.0 # MIT sphinxcontrib-mermaid>=1.0.0 diff --git a/docs/tox.ini b/docs/tox.ini index beff649..9caf5a5 100644 --- a/docs/tox.ini +++ b/docs/tox.ini @@ -6,6 +6,7 @@ skipsdist = true [testenv:docs] basepython = python3.13 deps = + setuptools>=65.0.0,<82 -r{toxinidir}/requirements-docs.txt -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt commands =