Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unpin Qiskit where relevant #508

Merged
merged 6 commits into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading