Skip to content

Bump PyO3 and rust-numpy to latest 0.29 release#1603

Merged
IvanIsCoding merged 1 commit into
Qiskit:mainfrom
mtreinish:bump-pyo3-29
Jun 16, 2026
Merged

Bump PyO3 and rust-numpy to latest 0.29 release#1603
IvanIsCoding merged 1 commit into
Qiskit:mainfrom
mtreinish:bump-pyo3-29

Conversation

@mtreinish

Copy link
Copy Markdown
Member

This commit updates the rustworkx crate's usage of PyO3 and rust-numpy to use the latest release of both 0.29. This release introduces a few API changes that need to be adapted to. Overall these changes are fairly mechanical and mostly are just about adapting our pyo3 usage. The details of these changes can be found in the migration guide:

https://pyo3.rs/v0.29.0/migration.html

This commit updates the rustworkx crate's usage of PyO3 and rust-numpy
to use the latest release of both 0.29. This release introduces a few
API changes that need to be adapted to. Overall these changes are fairly
mechanical and mostly are just about adapting our pyo3 usage. The
details of these changes can be found in the migration guide:

https://pyo3.rs/v0.29.0/migration.html
@mtreinish mtreinish added this to the 0.18.0 milestone Jun 15, 2026

@IvanIsCoding IvanIsCoding left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this is specially convenient for the following reasons as well:

  1. Python 3.15 support is nice
  2. Unfortunately, there's a PyO3 CVE for > 0.24, < 0.29. So it is good that we are bumping it

@IvanIsCoding IvanIsCoding added this pull request to the merge queue Jun 16, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 16, 2026
@IvanIsCoding IvanIsCoding added this pull request to the merge queue Jun 16, 2026
Merged via the queue into Qiskit:main with commit 3324736 Jun 16, 2026
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants