Add upper-constraints file to the RTD requirements file

It's needed to cap our dependencies also on the RTD when documentation
is build to not use newer versions of packages then should be used.

For example now documentation builds on the RTD was failing because of
urllib3 2.0 which isn't compatible with Tobiko (tobiko.http._session
module in particular).
Module urllib3 is capped to 1.26.8 version in our upper-constraints.txt
file but that wasn't used in RTD builds until now.

Change-Id: I279767393716371dd16afe801c66814acd364171
This commit is contained in:
Slawek Kaplonski 2023-05-26 15:26:30 +02:00
parent ad44b6cb68
commit f45e83a175
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# As openstack job build-reno-releasenotes and Read The Docs page support only
# one single requirements file for a project, we need to have one such file
# which will include all project requirements
--constraint ../upper-constraints.txt
-r ../requirements.txt
-r ../test-requirements.txt
-r ../extra-requirements.txt