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 <mwatkins@linuxfoundation.org>
+setuptools>=65.0.0,<82
sphinx>=4.2.0 # BSD
sphinx-rtd-theme>=1.0.0 # MIT
sphinxcontrib-mermaid>=1.0.0
[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 =