Skip to content

Test and build wheels for Python 3.15 - #5523

Open
ahnitz wants to merge 4 commits into
gwastro:masterfrom
ahnitz:feature/python-3.15
Open

ahnitz wants to merge 4 commits into
gwastro:masterfrom
ahnitz:feature/python-3.15

Conversation

@ahnitz

@ahnitz ahnitz commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Python 3.15 was released, so pycbc should now support it (or try to)

Standard information about the request

This shouldn't affect anything. It is a build / test system update.

Motivation

We should let people use python 3.15 with pycbc

Contents

Links to any issues or associated PRs

Testing performed

Additional notes

  • The author of this pull request confirms they will adhere to the code of conduct

@GarethCabournDavies

Copy link
Copy Markdown
Contributor

Could you add a couple of comments here about why these things have to be changed for python 3.15? If any of it is workarounds, maybe add comments in the text?

@ahnitz ahnitz added the agent-assisted 🤖🤖🤖 AI assisted in making this PR. This should be checked for governance label Nov 2, 2026
@GarethCabournDavies

Copy link
Copy Markdown
Contributor

I think failing tests will be fixed by rebase to master

ahnitz and others added 3 commits November 12, 2026 14:12
The change to 'import lal' is not needed for Python 3.15: the same
'from lal import LIGOTimeGPS' is used in pycbc/io/hdf.py, which the 3.15
jobs import and pass with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Whether fletcher32 is accepted on variable-length string datasets depends
on the HDF5 version (2.0.0 and older reject it, newer releases accept it),
and HFile falls back to no checksum when it is rejected. So the test no
longer checks those two datasets either way, rather than probing HDF5 with
the same logic HFile uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ahnitz
ahnitz force-pushed the feature/python-3.15 branch from 6126bcc to f22b3f3 Compare November 12, 2026 19:12

This branch has not been deployed

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

Labels

agent-assisted 🤖🤖🤖 AI assisted in making this PR. This should be checked for governance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants