Skip to content

Commit

Permalink
Pin tox version in CI (#9460)
Browse files Browse the repository at this point in the history
THe most recent release tox, 4.4.0, changed the behavior of how tox
interacts with constraints files. It is raising an error because it
doesn't like the format of our constraints file in qiskit. This commit
works around this by pinning our tox version. Given that we're preparing
to release 0.23.0 pinning is the fastest solution in the short term, we
can adjust things after the release is out.
  • Loading branch information
mtreinish committed Jan 25, 2023
1 parent 365e84c commit 85800ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure/docs-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- bash: |
set -e
python -m pip install --upgrade pip setuptools wheel
pip install -U tox
pip install -U "tox<4.4.0"
sudo apt-get update
sudo apt-get install -y graphviz
displayName: 'Install dependencies'
Expand Down

0 comments on commit 85800ca

Please sign in to comment.