feat: add Python 3.14 support - #47
Open
petercorke wants to merge 1 commit into
Open
Conversation
nanobind>=2 (the build tool) and the compiled collision dependency (coal) already ship cp314 wheels; trimesh/pycollada are pure-Python and need no version-specific wheel at all. Nothing in CMakeLists.txt or the nanobind glue is version-pinned, so this is metadata + CI only: add the 3.14 classifier, add cp314-* to both the local cibuildwheel config and the release workflow's CIBW_BUILD, skip cp314t (free- threaded) alongside the existing cp313t skip, and add 3.14 to the test matrix in build.yml.
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
nanobind>=2(the build tool) andcoal(the compiled collision backend) both already shipcp314wheels;trimesh/pycolladaare pure-Python (py3-none-any) and need no version-specific wheel. Nothing inCMakeLists.txtor the nanobind glue code is version-pinned.pyproject.toml: add the 3.14 classifier, addcp314-*to[tool.cibuildwheel]'sbuildlist..github/workflows/cibuildwheel.yml: addcp314-*toCIBW_BUILD, addcp314t-*toCIBW_SKIP(matches the existingcp313t-*skip -- this repo doesn't build free-threaded wheels)..github/workflows/build.yml: add"3.14"to the test matrix.Companion to a swift PR adding the same support there -- swift depends on
spatialgeometry>=1.4.0, so its own 3.14 support isn't meaningful for users until this lands too. Will cross-link once both are open.Test plan
pyproject.toml/workflow YAML syntax validated locally (no Python 3.14 interpreter available locally to do a real build/install test -- CI on this PR is the actual verification).