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

✨ Python 3.13 Support #656

Merged
merged 7 commits into from
Aug 7, 2024
Merged

✨ Python 3.13 Support #656

merged 7 commits into from
Aug 7, 2024

Conversation

burgholzer
Copy link
Member

@burgholzer burgholzer commented Aug 5, 2024

Description

The (ABI-stable) release candidate for Python 3.13 just released and the newest MQT Workflows include an updated version of cibuildwheel that supports building wheels for it.

This PR enables regular Python 3.13 builds and also enables builds for the new free-threaded variant.

Checklist:

  • The pull request only contains commits that are related to it.
  • I have added appropriate tests and documentation.
  • I have made sure that all CI jobs on GitHub pass.
  • The pull request introduces no new warnings and follows the project's style guidelines.

@burgholzer burgholzer added minor Minor version update Core Anything related to the Core library and IR python Anything related to Python code packaging Anything related to Python packaging labels Aug 5, 2024
@burgholzer burgholzer self-assigned this Aug 5, 2024
@burgholzer
Copy link
Member Author

The CD failures under Windows will be resolved once adang1345/delvewheel#50 (or a similar fix) is merged and released.
At that point, we should be able to publish Python 3.13 wheels, including the free-threading variant.

The testing failures are kind of expected as they depend on the availability of Python 3.13 wheels for all of our dependencies (including transitive ones; mostly via Qiskit).
Most notably, this needs numpy, scipy, and pandas wheels. All of these are on the horizon, but will probably still take a while.
I will update the MQT Workflows, to skip testing 3.13 for the short-term future so that CI is unblocked.

In addition, the CI is missing explicit free-threading tests. These will be even further in the future, as Qiskit has indicated for good reason that they won't be supporting the free-threading variants of Python any time soon (see Qiskit/qiskit#12903).

@burgholzer burgholzer added the feature New feature or request label Aug 5, 2024
@burgholzer burgholzer marked this pull request as ready for review August 5, 2024 15:12
@burgholzer
Copy link
Member Author

Just waiting on a new delvewheel release, then this is good to go and we can start publishing Python 3.13 wheels.

@burgholzer burgholzer merged commit 2a7a929 into main Aug 7, 2024
60 checks passed
@burgholzer burgholzer deleted the python-313 branch August 7, 2024 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Anything related to the Core library and IR feature New feature or request minor Minor version update packaging Anything related to Python packaging python Anything related to Python code
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant