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

Avoid exporting incorrect PyInit_* symbols (0.46.3) #13176

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

eliarbel
Copy link
Contributor

@eliarbel eliarbel commented Sep 18, 2024

This is a manual backport of the change introduced in PR #12889. It is done manually since in 0.46 we are using PyO3 version 0.19.2 which does not yet have the Bound concept PR #12889 relies on in the add_submodule helper function. In this branch we also need to handle just a subset of submodule functions compared to the ones in #12889.

Summary

Details and comments

This is a manual backport of the change introduced in PR Qiskit#12889. It
is done manually since in 0.46 we are using PyO3 version 0.19.2 which
does not yet have the `Bound` concept PR Qiskit#12889 relies on in the
`add_submodule` helper function. In this branch we also need to
handle just a subset of submodule functions compared to the ones
in Qiskit#12899.
@eliarbel eliarbel added the Changelog: None Do not include in changelog label Sep 18, 2024
@eliarbel eliarbel added this to the 0.46.3 milestone Sep 18, 2024
@eliarbel eliarbel requested a review from a team as a code owner September 18, 2024 10:55
@qiskit-bot
Copy link
Collaborator

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

  • @Qiskit/terra-core
  • @kevinhartman
  • @mtreinish

Copy link
Member

@jakelishman jakelishman left a comment

Choose a reason for hiding this comment

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

Assuming you've removed all the pymodule tags except for accelerate's main module, this looks right to me.

@jakelishman jakelishman added this pull request to the merge queue Sep 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 18, 2024
@jakelishman jakelishman added this pull request to the merge queue Sep 18, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 18, 2024
@jakelishman jakelishman added this pull request to the merge queue Sep 20, 2024
Merged via the queue into Qiskit:stable/0.46 with commit 345cebb Sep 20, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: None Do not include in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants