Skip to content

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jun 4, 2025

Summary

In #14218 the vf2_utils module was updated to use the PyDiGraph.neighbors_undirected() method which was added in 0.16.0. However that PR neglected to bump the minimum required version of rustworkx to 0.16.0 from 0.15.0 which is the current minim version listed. While we could bump the minimum version (see #14507) to rustworkx 0.16.0 using this method isn't strictly necessary and #14218 was backported to stable branches and backporting a version bump is not desireable. This commit instead just updates the rustworkx usage to use APIs in 0.15.0.

This PR will need to be backported to stable/1.4 and stable/2.0 to fix compatibility with the listed rustworkx requirement. However, in the backport a fix note will be needed to document that the release fixes compatibility with the listed requirement.

Details and comments
This is an automatic backport of pull request #14513 done by Mergify.

* Avoid using rustworkx 0.16.0 methods in vf2_utils

In #14218 the vf2_utils module was updated to use the
`PyDiGraph.neighbors_undirected()` method which was added in 0.16.0.
However that PR neglected to bump the minimum required version of
rustworkx to 0.16.0 from 0.15.0 which is the current minim version
listed. While we could bump the minimum version (see #14507) to
rustworkx 0.16.0 using this method isn't strictly necessary and #14218
was backported to stable branches and backporting a version bump is not
desireable. This commit instead just updates the rustworkx usage to use
APIs in 0.15.0.

This PR will need to be backported to stable/1.4 and stable/2.0 to fix
compatibility with the listed rustworkx requirement. However, in the
backport a fix note will be needed to document that the release fixes
compatibility with the listed requirement.

* Correctly handle duplicates across successors and predecessors

(cherry picked from commit 9aa1a29)
@mergify mergify bot requested a review from a team as a code owner June 4, 2025 15:43
@qiskit-bot
Copy link
Collaborator

Thank you for opening a new pull request.

Before your PR can be merged it will first need to pass continuous integration tests and be reviewed. Sometimes the review process can be slow, so please be patient.

While you're waiting, please feel free to review other open PRs. While only a subset of people are authorized to approve pull requests for merging, everyone is encouraged to review open pull requests. Doing reviews helps reduce the burden on the core team and helps make the project's code better for everyone.

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@github-actions github-actions bot added the Changelog: None Do not include in changelog label Jun 4, 2025
@github-actions github-actions bot added this to the 1.4.4 milestone Jun 4, 2025
mtreinish
mtreinish previously approved these changes Jun 4, 2025
@mtreinish mtreinish enabled auto-merge June 4, 2025 15:48
@mtreinish mtreinish disabled auto-merge June 4, 2025 15:48
@mtreinish
Copy link
Member

I almost forgot we need to add a release note here.

@mtreinish mtreinish added Changelog: Bugfix Include in the "Fixed" section of the changelog and removed Changelog: None Do not include in changelog labels Jun 4, 2025
@coveralls
Copy link

coveralls commented Jun 4, 2025

Pull Request Test Coverage Report for Build 15490501740

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • 26 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.03%) to 88.784%

Files with Coverage Reduction New Missed Lines %
crates/accelerate/src/unitary_synthesis.rs 1 93.21%
crates/qasm2/src/lex.rs 7 91.48%
crates/qasm2/src/parse.rs 18 96.23%
Totals Coverage Status
Change from base Build 15443794922: -0.03%
Covered Lines: 79467
Relevant Lines: 89506

💛 - Coveralls

@Cryoris Cryoris added this pull request to the merge queue Jun 12, 2025
Merged via the queue into stable/1.4 with commit a7991d3 Jun 12, 2025
19 checks passed
@Cryoris Cryoris deleted the mergify/bp/stable/1.4/pr-14513 branch June 12, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the "Fixed" section of the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants