Skip to content

Commit

Permalink
[docs] Install cloudkitty requirements using constraints
Browse files Browse the repository at this point in the history
The deps configuration for the docs environment only uses upper
constraints for doc/requirements.txt. However, cloudkitty also gets
installed automatically without upper constraints, which produces
various errors on older branches.

Install cloudkitty requirements using constraints to fix this issue.

Change-Id: Ia6f12151be829be6d2f21b3536536697345e05f4
(cherry picked from commit 386f086)
  • Loading branch information
priteau committed Oct 7, 2022
1 parent 814e2c1 commit 221a5ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/c

[testenv:docs]
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = sphinx-build -W --keep-going -b html doc/source doc/build/html

Expand Down

0 comments on commit 221a5ca

Please sign in to comment.