diff --git a/doc/requirements.txt b/doc/requirements.txt new file mode 100644 index 00000000..1489bcee --- /dev/null +++ b/doc/requirements.txt @@ -0,0 +1,3 @@ +sphinx>=2.0.0,!=2.1.0 # BSD +openstackdocstheme>=2.2.1 # Apache-2.0 +reno>=3.1.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 1f4b5422..5425fdc7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,9 +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 pre-commit==1.13.0 # MIT License hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 bashate>=0.5.1 # Apache-2.0 -openstackdocstheme>=2.2.1 # Apache-2.0 -reno>=3.1.0 # Apache-2.0 diff --git a/tox.ini b/tox.ini index 50df79ba..15cfe9ee 100644 --- a/tox.ini +++ b/tox.ini @@ -44,6 +44,8 @@ commands = python -m pre_commit run -a [testenv:releasenotes] +deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/doc/requirements.txt basepython = python3 whitelist_externals = bash commands = bash -c ci-scripts/releasenotes_tox.sh