Repository navigation
Bump qiskit-ibm-runtime to 0.50.0 - #723
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #723 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 9 9
Lines 875 875
=========================================
Hits 875 875 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
comp-phys-marc
approved these changes
Oct 23, 2026
JerryChen97
added a commit
to PennyLaneAI/demos
that referenced
this pull request
Oct 23, 2026
**Summary:** The stable `ibm_pennylane` demo build fails during dependency resolution: uv selects `ibm-platform-services==0.55.2`, whose source build raises `ModuleNotFoundError: No module named 'pkg_resources'`. Add `python-dateutil<3` to the stable constraints to match the supported range of the newer IBM SDK. With this constraint, the same resolution succeeds using `ibm-platform-services==0.77.1`, `ibm-cloud-sdk-core==3.28.0`, and `python-dateutil==2.9.0.post0`. This works with master's existing Python 3.11 environment, `pennylane-qiskit==0.45.0`, and `qiskit-ibm-runtime==0.45.1`. **Validation:** - Reproduced the reported dependency-resolution failure using the demo's build/core/stable inputs and CI's `uv==0.7.22` on local Python 3.11.16. - Reran the same `uv pip compile` command with the changed stable constraints: all 77 dependencies resolve successfully. - `git diff --check` passes. - Validation covers the failing dependency-resolution step; a full Sphinx/demo build was not run. **Relevant references:** - [Failing master build](https://github.com/PennyLaneAI/demos/actions/runs/39904754488/job/120254070134). - [PennyLane-Qiskit Runtime upgrade](PennyLaneAI/pennylane-qiskit#723). That branch requires Python 3.12 and is outside master's current `pennylane-qiskit==0.45.*` constraint, so it does not automatically repair this stable build. **Possible Drawbacks:** The constraint applies to all stable demos and excludes python-dateutil 3.x until the IBM SDK supports it. **Related GitHub Issues:** None.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Following up PennyLaneAI/pennylane#10372
Context and scope
Bump
qiskit-ibm-runtimefrom the 0.45 series to the 0.50 series. Runtime 0.50.0 requiresibm-platform-services>=0.61.1, excluding the problematic 0.55.2 source distribution that dependency resolution could select with the older Runtime requirements.The Runtime version is updated consistently in all three places:
~=0.50.0in the plugin's published dependencies, and==0.50.0in thedocsandbasedependency groups. The additional entries inbaserecord the dependencies of the updated environment; they are not all new direct requirements of the plugin.Dependencies added or upgraded for Runtime 0.50
The dependency chains below explain the additional pins. The selected versions satisfy the upstream packages' published requirements; the exact patch versions are the versions used for validation, rather than new minimum-version requirements imposed by this plugin.
baseibm-quantum-schemas==0.13.20261016ibm-quantum-schemas>=0.12.20260921,<1.samplomatic==0.21.0samplomatic>=0.21.0; schemas and mitigation also depend on it.qiskit-mitigation==0.1.1qiskit-mitigation>=0.1.1.pybase64==1.5.1pybase64>=1.4.0.orjson==3.13.0orjson>=3.9.0.qiskit-qasm3-import==0.6.0qiskit-qasm3-import>=0.6.0,<1.0.0.openqasm3==1.0.1openqasm3[parser]>=0.4,<2.0.antlr4-python3-runtime==4.13.2openqasm3parser extra requiresantlr4-python3-runtime>=4.7,<4.14.pydanticfrom 2.12.5 to 2.13.5pydantic>=2.13.0.pydantic-corefrom 2.41.5 to 2.46.5pydantic-core==2.46.5.The existing
ibm-platform-services==0.73.0andibm-cloud-sdk-core==3.24.4pins already satisfy the new dependency requirements, so their versions are retained. The SDK core also requirespython-dateutil>=2.9.0,<3; the existingpython-dateutil==2.9.0.post0pin is compatible.PennyLane compatibility and existing pin corrections
Refreshing the base environment also accounts for PennyLane
main, which thecianddocsgroups install:jax==0.7.1, which PennyLanemainrequires, together withjaxlib==0.7.1,ml-dtypes==0.6.0, andopt-einsum==3.4.0. These are PennyLane/JAX dependencies, not dependencies introduced by Runtime. Compatible Python 3.14 wheels are available for the selected versions.mpmath==1.4.1tompmath==1.3.0. This fixes an existing conflict: the pinnedsympy==1.14.0requiresmpmath>=1.1.0,<1.4.autoraypin and let PennyLane select its required version. PennyLane 0.44.x requires 0.8.2, released PennyLane 0.45.x requires 0.8.4, and the tested PennyLanemainrequires 0.8.10. A single exact pin inbasewould conflict with some of those supported environments. Autoray remains installed transitively through PennyLane.The Qiskit constraints and Aer pin are unchanged. Runtime 0.50 requires Qiskit
>=2.3.0,<3; combined with the plugin's existing<=2.3.0cap, the effective Qiskit version is therefore 2.3.0. This bump increases the dependency set and narrows the effective Qiskit range. No plugin source changes are included.Validation
Checked the dependency relationships against published package metadata and verified the final dependency groups with pip using
--dry-run --ignore-installed --only-binary=:all::--group baseresolves for Linux x86_64 CPython 3.12, 3.13, and 3.14, selecting released PennyLane 0.45.1 and Autoray 0.8.4.--group base --group ciresolves on Python 3.12 against PennyLanemainat8ed4de74df5da3b201c323e737407b57a398522d, selecting Autoray 0.8.10.git diff --checkpass; Python-only hooks have no applicable files.These are dependency-resolution checks, not new full runtime-suite runs. The existing CI workflows install the
cianddocsgroups withoutbase, so the explicit base-group checks cover a dependency configuration that those workflows do not validate. Runtime tests and documentation checks for the pushed revision are tracked by the PR checks.