Skip to content

Commit

Permalink
Pin matlotlib in CI
Browse files Browse the repository at this point in the history
PR Qiskit#6087 attempted to fix CI by fixing compatibility with the recent
matplotlib release 3.4.0. However to fix the deprecated API usage we
need new features from matplotlib 3.4.0 which would break compatibility
for users on older matplotlib (as our tutorials job caught since it pins
mpl to avoid a performance regression). As an alternative to that this
commit just pins matplotlib in CI so we do not install the version
emitting deprecation warnings. This means that users will see
deprecation warnings when they use some function (mainly qsphere and
bloch sphere), but until we're ready to raise our minimum supported
matplotlib version to 3.4.0 that is unavoidable.
  • Loading branch information
mtreinish committed Mar 26, 2021
1 parent 27f4f12 commit 00aaa90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ coverage>=4.4.0
hypothesis>=4.24.3
ipywidgets>=7.3.0
jupyter
matplotlib>=2.1
matplotlib>=2.1,<3.4
pillow>=4.2.1
pycodestyle
pydot
Expand Down

0 comments on commit 00aaa90

Please sign in to comment.