Skip to content

Add support for Python 3.15 - #1471

Open
hsorby wants to merge 5 commits into
cellml:mainfrom
hsorby:1462-py315
Open

hsorby wants to merge 5 commits into
cellml:mainfrom
hsorby:1462-py315

Conversation

@hsorby

@hsorby hsorby commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Adds support for Python 3.15 by building wheels against the stable API.

@hsorby hsorby added the Infrastructure Building, hosting, testing, etc. label Sep 25, 2026
@hsorby
hsorby requested a review from agarny September 25, 2026 10:29
Comment thread .github/workflows/deploy-on-release.yml Outdated
py: '3.9'
- os: ubuntu-24.04-arm
py: '3.9'
- name: 'macOSintel'

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.

Shouldn't we have macOSIntel rather than macOSintel? Also, this name goes against what is done for Windows and Linux.

Why not have WindowsIntel, WindowsARM, LinuxIntel, LinuxARM, macOSIntel, and macOSARM to avoid any possible ambiguity?

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.

I was only adding the postfix to those that weren’t the nominal expectation. I can add to all if preferred. Ii did think about the capital I but ended up with, that looks ugly.

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.

os: [macos-15, ubuntu-24.04, ubuntu-24.04-arm, windows-2025-vs2026, windows-11-arm]
py: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14']
os: [macos-15, macos-15-intel, ubuntu-24.04, ubuntu-24.04-arm, windows-2025-vs2026, windows-11-arm]
py: ['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.

Only Python 3.14? What about Python 3.15 and probably even Python 3.13 (at least)?

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.

Only one needed now becuase we build with Python 3.14 but it will fit all Python versions from 3.10 upwards.

needs: setup-jobs
if: needs.setup-jobs.outputs.allowed-jobs == 'Wheels' || needs.setup-jobs.outputs.allowed-jobs == 'All'
name: ${{ matrix.name }} ${{ matrix.py }} wheel
name: ${{ matrix.name }} Stable ABI wheel

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.

Why not include the Python version anymore?

@hsorby hsorby Sep 25, 2026 •

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.

This is becuase with the stable ABI we don’t need individual Python versions, we build against the stable ABI and it will work for all versions that don’t break our baseline stable ABI we use, which is Python 3.10.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Infrastructure Building, hosting, testing, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support python 3.15

2 participants