Skip to content

Add support for Python 3.13 #131

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

Merged
merged 4 commits into from
Mar 7, 2025
Merged

Add support for Python 3.13 #131

merged 4 commits into from
Mar 7, 2025

Conversation

bdice
Copy link
Contributor

@bdice bdice commented Mar 5, 2025

Description

Contributes to rapidsai/build-planning#120

This PR adds support for Python 3.13.

Notes for Reviewers

This is part of ongoing work to add Python 3.13 support across RAPIDS.
This can be merged whenever all CI jobs are passing.

@bdice bdice added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Mar 5, 2025
@bdice bdice marked this pull request as ready for review March 6, 2025 00:52
@bdice bdice requested review from a team as code owners March 6, 2025 00:52
@bdice bdice requested a review from AyodeAwe March 6, 2025 00:52
@bdice
Copy link
Contributor Author

bdice commented Mar 6, 2025

This can be merged as-is once CI passes, without committing the rest of RAPIDS to completing the Python 3.13 migration. The CI build and test matrices for pynvjitlink are independent of the rest of RAPIDS.

@@ -21,10 +21,10 @@ jobs:
- test-wheels
- test-patch
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-24.10
uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.04
Copy link
Member

Choose a reason for hiding this comment

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

Should we figure out a better way to keep workflow references like these updated?

Understand doing this for pynvjitlink alone may not be worth it. However we have a few projects not following RAPIDS versioning that could benefit from a similar solution

Copy link
Contributor Author

@bdice bdice Mar 6, 2025

Choose a reason for hiding this comment

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

We have settled on doing these updates on an ad-hoc basis. I only changed them here because this PR was originally going to use the branch python-3.13 but it turned out that isn’t necessary because the CI build/test matrix for pynvjitlink is independent of the shared-workflows matrix. It felt more appropriate to update to the latest version rather than revert the changes.

- python=3.13
- matrix:
packages:
- python>=3.10,<3.14
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- python>=3.10,<3.14
- python>=3.10,<3.14a0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jakirkham Do you have thoughts on how to coordinate this suggestion with the proposal to drop all alpha specs? rapidsai/build-planning#144

I am inclined to say we should leave this as-is, but I don’t have strong feelings.

Copy link
Member

Choose a reason for hiding this comment

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

Suppose we could have a different pin for conda & pip

That said, given one needs to opt-in to use RCs from conda-forge. It doesn't seem like that big of a risk

@jakirkham jakirkham merged commit 0b878f6 into rapidsai:main Mar 7, 2025
49 checks passed
@jakirkham
Copy link
Member

Thanks Bradley! 🙏

@bdice bdice mentioned this pull request Mar 7, 2025
bdice added a commit that referenced this pull request Mar 7, 2025
This release updates some build and packaging scripts, and adds support
for Python 3.13.

Includes:
- #123 
- #124 
- #125 
- #126 
- #131
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants