Skip to content

Add support for Python 3.14#1033

Closed
gforsyth wants to merge 3 commits intorapidsai:release/26.04from
gforsyth:python-3.14
Closed

Add support for Python 3.14#1033
gforsyth wants to merge 3 commits intorapidsai:release/26.04from
gforsyth:python-3.14

Conversation

@gforsyth
Copy link
Copy Markdown
Contributor

Description

Contributes to rapidsai/build-planning#205

This PR adds support for Python 3.14.

Notes for Reviewers

This is part of ongoing work to add Python 3.14 support across RAPIDS.
It temporarily introduces a build/test matrix including Python 3.14, from rapidsai/shared-workflows#508.

A follow-up PR will revert back to pointing at the main branch of shared-workflows once all
RAPIDS repos have added Python 3.14 support.

This will fail until all dependencies have been updated to Python 3.14

CI here is expected to fail until all of this project's upstream dependencies support Python 3.14.

This can be merged whenever all CI jobs are passing.

@gforsyth gforsyth added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Feb 24, 2026
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Feb 24, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@gforsyth gforsyth added non-breaking Introduces a non-breaking change and removed non-breaking Introduces a non-breaking change labels Feb 24, 2026
@jakirkham
Copy link
Copy Markdown
Member

/ok to test

@jakirkham
Copy link
Copy Markdown
Member

This currently fails as Python 3.14 would require scikit-image version 0.26.0. However we disallow this scikit-image version

- scikit-image >=0.19.0,<0.25.0

"scikit-image>=0.19.0,<0.26.0",

@grlee77 what would we need to do to allow scikit-image version 0.26.0?

@grlee77
Copy link
Copy Markdown
Contributor

grlee77 commented Mar 4, 2026

@grlee77 what would we need to do to allow scikit-image version 0.26.0?

I opened #1038 to upgrade cuCIM to the scikit-image 0.26 API.

@gforsyth
Copy link
Copy Markdown
Contributor Author

/ok to test

2 similar comments
@gforsyth
Copy link
Copy Markdown
Contributor Author

/ok to test

@gforsyth
Copy link
Copy Markdown
Contributor Author

/ok to test

@gforsyth
Copy link
Copy Markdown
Contributor Author

/ok to test

@gforsyth gforsyth marked this pull request as ready for review March 17, 2026 12:42
@gforsyth gforsyth requested review from a team as code owners March 17, 2026 12:42
@gforsyth gforsyth requested a review from KyleFromNVIDIA March 17, 2026 12:42
@gforsyth
Copy link
Copy Markdown
Contributor Author

@KyleFromNVIDIA don't worry about reviewing this yet -- need to (probably) retarget the branch and also rebase out about 2000 lines of unrelated changes.

@gforsyth gforsyth changed the base branch from main to release/26.04 March 17, 2026 14:50
Copy link
Copy Markdown
Contributor

@grlee77 grlee77 left a comment

Choose a reason for hiding this comment

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

Thanks for working on 3.14 support. I had one question about the upper version pinning

- pytest-lazy-fixtures>=1.0.0
- pytest-xdist
- pytest>=7.0.0,<9.0.0
- python>=3.11,<3.14
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Do we need to also keep an upper version pin (,<3.15)? We use pybind11 for binding the C++ code so we can only support whatever Python versions it currently supports.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ahh, yes, we do need that for cucim. Good catch

@gforsyth
Copy link
Copy Markdown
Contributor Author

Closing in favor of #1049

@gforsyth gforsyth closed this Mar 17, 2026
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