Skip to content

feat: add Python 3.14 support - #47

Open
petercorke wants to merge 1 commit into
mainfrom
feat/python-3.14-support
Open

feat: add Python 3.14 support#47
petercorke wants to merge 1 commit into
mainfrom
feat/python-3.14-support

Conversation

@petercorke

Copy link
Copy Markdown
Collaborator

Summary

  • Adds Python 3.14 to the supported version range (3.10 stays the floor, requires-python is unchanged).
  • Checked the full dependency chain first: nanobind>=2 (the build tool) and coal (the compiled collision backend) both already ship cp314 wheels; trimesh/pycollada are pure-Python (py3-none-any) and need no version-specific wheel. Nothing in CMakeLists.txt or the nanobind glue code is version-pinned.
  • pyproject.toml: add the 3.14 classifier, add cp314-* to [tool.cibuildwheel]'s build list.
  • .github/workflows/cibuildwheel.yml: add cp314-* to CIBW_BUILD, add cp314t-* to CIBW_SKIP (matches the existing cp313t-* 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).
  • CI green across the new 3.14 matrix entries (build.yml + cibuildwheel.yml)

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant