From e33a3bc50777a37a721a30cd0982947da5c6115d Mon Sep 17 00:00:00 2001 From: Slawek Kaplonski Date: Thu, 21 Jan 2021 11:05:15 +0100 Subject: [PATCH] Include all project requirements in doc/requirements.txt file It was removed in [1] but it is needed to properly build documentation on the readthedocs service. Also, as requirements-check job is checking doc/requirements.txt file and has troubles with parsing such included files, this patch proposes new requirements file only for readthedocs builds. This new file simply includes all other our requirements files. [1] https://review.opendev.org/c/x/tobiko/+/769109 Change-Id: I428b23db94c65a6138e3d3039fb28bac24c8ea8b --- doc/readthedocs_requirements.txt | 6 ++++++ doc/requirements.txt | 3 --- 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 doc/readthedocs_requirements.txt diff --git a/doc/readthedocs_requirements.txt b/doc/readthedocs_requirements.txt new file mode 100644 index 000000000..991ce2d25 --- /dev/null +++ b/doc/readthedocs_requirements.txt @@ -0,0 +1,6 @@ +# 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 +-r ../requirements.txt +-r ../extra-requirements.txt +-r ./requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt index 5131250a4..70f78ad10 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -2,8 +2,5 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. -# 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 reno>=3.2.0 # Apache-2.0 sphinx>=3.4.2 # BSD