Skip to content

Conversation

@connorferster
Copy link
Collaborator

Pull Request Check List

Resolves: #572

  • Added a description of your pull request below.
  • Added tests for changed code.
  • Updated documentation for changed code.
  • Run uv run pre-commit run --all-files and uv run pyright to ensure code quality.

Update project to support Python 3.14

@connorferster connorferster mentioned this pull request Dec 1, 2025
2 tasks
@connorferster
Copy link
Collaborator Author

connorferster commented Dec 1, 2025

Interestingly, the failing tests are inconsistent. I am proposing that we do not upgrade to 3.14 until Numba 0.6.4 is released (ostensibly on Monday, December 8th).

The most interesting failure is the AssertionError caused by rhino3dm apparently not working the same on Python 3.14 on Ubuntu. @SZeltaat, is this something you think you could investigate? See here: https://github.com/robbievanleeuwen/section-properties/actions/runs/19832784880/job/56822747931?pr=573

It seems that the core dependencies of sectionproperties all support 3.14 but several of the optional dependencies do not, which is a bummer. Notably, rhino3dm and (currently but soon to be supported) numba.

@robbievanleeuwen What are your thoughts on doing a release that is compatible with 3.14 (after the compatible numba version is released next week) but might not be compatible for all optional dependencies?

Note, I have not ventured into looking at 3.14t (free-threaded Python) yet.

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.

Support python 3.14

2 participants