Fix issues related to pkg_resources module

Update sphinx for doc requirements.txt and pin
setuptools for docs job to <82.0.0

Additionally this patch changes name of the requests-mock package in the
test-requirements.txt file. This change was done in master branch with
commit [1] but now we need to include it in the same patch with other
gate fixes to unblock the gate.

[1] https://review.opendev.org/c/openstack/tap-as-a-service/+/966782

Change-Id: Ibdacd6bdfc93e0a4e99ffed50476467f3a767ba6
Signed-off-by: lajoskatona <lajos.katona@est.tech>
Signed-off-by: Slawek Kaplonski <skaplons@redhat.com>
This commit is contained in:
lajoskatona authored and Slawek Kaplonski committed 2026-03-05 11:17:23 +01:00
1 parent 5361d04474
commit e232a66eea
3 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# The order of packages is significant, because pip processes them in the order
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
sphinx>=2.0.0,!=2.1.0 # BSD
sphinx>=2.2.0 # BSD
openstackdocstheme>=2.2.1 # Apache-2.0
reno>=3.1.0 # Apache-2.0
+1 -1
View File
@@ -5,7 +5,7 @@ python-subunit>=1.4.0 # Apache-2.0/BSD
psycopg2>=2.8.5 # LGPL/ZPL
PyMySQL>=0.10.0 # MIT License
oslotest>=4.4.1 # Apache-2.0
requests_mock>=1.5.0 # Apache-2.0
requests-mock>=1.5.0 # Apache-2.0
stestr>=3.0.1 # Apache-2.0
testresources>=2.0.1 # Apache-2.0/BSD
testscenarios>=0.5.0 # Apache-2.0/BSD
+3
View File
@@ -58,6 +58,9 @@ commands =
[testenv:docs]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2025.1}
-r{toxinidir}/doc/requirements.txt
# Note(lajoskatona): pin setuptools to the latest that support pkg_resources
# see: https://review.opendev.org/c/openstack/neutron/+/976685
setuptools<82.0.0
commands = sphinx-build -W -d doc/build/doctrees -b html doc/source doc/build/html
[testenv:releasenotes]