Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.

Commit

Permalink
Pin docplex version in CI (#1103)
Browse files Browse the repository at this point in the history
* Pin docplex version in CI

The latest docplex version which was released recently breaks the aqua
quadratic_program module. This commit pins the docplex version to
unblock CI, while we wait for the in-progress aqua PR
qiskit-community/qiskit-aqua#1420 fixing this to be included in a release.
 
* Use constraints in tutorials job too
  • Loading branch information
mtreinish authored Nov 9, 2020
1 parent dfafe46 commit 9a17bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ jobs:
run: |
set -e
git clone https://github.com/Qiskit/qiskit-tutorials
pip install -U jupyter sphinx nbsphinx sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] cvxpy 'pyscf<1.7.4'
pip install -U .
pip install -c constraints.txt -U jupyter sphinx nbsphinx sphinx_rtd_theme 'matplotlib<3.3.0' qiskit-terra[visualization] cvxpy 'pyscf<1.7.4'
pip install -c constraints.txt -U .
sudo apt-get install -y pandoc graphviz
- name: Run tutorials
run: |
Expand Down
1 change: 1 addition & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
astroid==2.3.3
pylint==2.4.4
cryptography==2.5.0
docplex==2.15.194

0 comments on commit 9a17bb5

Please sign in to comment.