From 1fa67fd90d7c3ed63c502f99545a1216da3c1b06 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 3 Jun 2020 22:01:33 +0200 Subject: [PATCH] Enable syncing of docs The docs job is failing in https://review.opendev.org/671840 and thus nothing is synced in from openstack-ansible-tests. The failure is due to the removal of entries from doc/requirements.txt. Add those to test-requirements.txt instead. Change-Id: I21bcbde8acc8d4fd83b28026bcec33f388e69912 --- doc/requirements.txt | 2 -- test-requirements.txt | 6 ++++++ tox.ini | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 test-requirements.txt diff --git a/doc/requirements.txt b/doc/requirements.txt index 461b2ed0..bf9ebd15 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -8,5 +8,3 @@ sphinxcontrib-svg2pdfconverter>=0.1.0 # BSD openstackdocstheme>=2.0.0 # Apache-2.0 doc8>=0.6.0 # Apache-2.0 reno>=2.5.0 # Apache-2.0 -Jinja2>=2.10 # BSD License (3 clause) -lxml!=3.7.0,>=3.4.1 # BSD diff --git a/test-requirements.txt b/test-requirements.txt new file mode 100644 index 00000000..71f9265a --- /dev/null +++ b/test-requirements.txt @@ -0,0 +1,6 @@ +# These are actually only used for doc building but +# doc/requirements.txt is synced from openstack-ansible-tests, so we +# need to add them elsewhere. + +Jinja2>=2.10 # BSD License (3 clause) +lxml!=3.7.0,>=3.4.1 # BSD diff --git a/tox.ini b/tox.ini index 586562a1..2e750bc6 100644 --- a/tox.ini +++ b/tox.ini @@ -34,6 +34,7 @@ setenv = deps = -c{env:TOX_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} -r{toxinidir}/doc/requirements.txt + -r{toxinidir}/test-requirements.txt commands = bash -c "rm -rf doc/build" # NOTE(mhayden): doc8 really dislikes the automated docs. This should be