Skip to content

Commit

Permalink
Unpin Qiskit where relevant (#508)
Browse files Browse the repository at this point in the history
* update to use requirements-ci and requirements-ci-legacy

* unpin qiskit-ibm-runtime

* add explicit qiskit-ibm-runtime requirement

* unpin in upload yaml

* update changelog
  • Loading branch information
lillian542 authored Apr 10, 2024
1 parent e0f8af5 commit 647d64c
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ibmq_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt
pip install -r requirements-ci-legacy.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
pip freeze
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ibmq_tests_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci0.txt
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
pip freeze
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt
pip install -r requirements-ci-legacy.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
pip freeze
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci.txt
pip install -r requirements-ci-legacy.txt
pip install wheel pytest pytest-cov pytest-mock pytest-benchmark flaky --upgrade
- name: Install Plugin
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_qiskit_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci0.txt
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock flaky --upgrade
pip freeze
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-ci0.txt
pip install -r requirements-ci.txt
pip install wheel pytest pytest-cov pytest-mock pytest-benchmark flaky --upgrade
- name: Install Plugin
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Build and install Plugin
run: |
python -m pip install --upgrade pip wheel
pip install 'qiskit<0.46'
pip install qiskit
python setup.py bdist_wheel
pip install dist/PennyLane*.whl
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@

### Improvements 🛠

* Following updates to allow device compatibility with Qiskit 1.0, the version of `qiskit-ibm-runtime` is
no longer capped.
[(#508)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/508)

* The test suite now runs with the most recent `qiskit` and `qiskit-ibm-runtime`, and well as with
`'qiskit==0.45'` and `qiskit-ibm-runtime<0.21` to monitor backward-compatibility.
[(#508)](https://github.com/PennyLaneAI/pennylane-qiskit/pull/508)

### Breaking changes 💔

### Deprecations 👋
Expand Down
5 changes: 5 additions & 0 deletions requirements-ci-legacy.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pennylane>=0.32
qiskit<0.46
qiskit-ibm-runtime<0.21
numpy
sympy
2 changes: 1 addition & 1 deletion requirements-ci.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pennylane>=0.32
qiskit<0.46
qiskit
numpy
sympy
4 changes: 0 additions & 4 deletions requirements-ci0.txt

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
requirements = [
"qiskit>=0.32",
"qiskit-aer",
"qiskit-ibm-runtime<0.21",
"qiskit-ibm-provider",
"qiskit-ibm-runtime",
"pennylane>=0.30",
"numpy",
"networkx>=2.2",
Expand Down

0 comments on commit 647d64c

Please sign in to comment.