From f45e83a1754e13276ff52009cdc6cceb0f21e65e Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Fri, 26 May 2023 15:26:30 +0200 Subject: [PATCH] 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 --- doc/readthedocs_requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/readthedocs_requirements.txt b/doc/readthedocs_requirements.txt index 9751b9458..d93014710 100644 --- a/doc/readthedocs_requirements.txt +++ b/doc/readthedocs_requirements.txt @@ -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