Skip to content

upgrade cibuildwheel action to support Python 3.14 - #1004

Merged
wasade merged 4 commits into
biocore:masterfrom
Midnighter:chore/update-cibuildwheel
Jun 1, 2026
Merged

wasade merged 4 commits into
biocore:masterfrom
Midnighter:chore/update-cibuildwheel

Conversation

@Midnighter

Copy link
Copy Markdown
Contributor

fix #1002

@wasade

wasade commented May 27, 2026

Copy link
Copy Markdown
Member

Thanks! It looks like there are some build failures?

@Midnighter

Copy link
Copy Markdown
Contributor Author

Yes, I was unable to judge whether they came because of the new version sinceithe error is on Python 3.11.

@qiyunzhu

Copy link
Copy Markdown
Contributor

The original test function is not deterministic. It isn't guaranteed that 100 random samples will definitely cover all combinations.

@wasade

wasade commented May 28, 2026

Copy link
Copy Markdown
Member

Correct, good spot, rerunning failed jobs

@Midnighter

Copy link
Copy Markdown
Contributor Author

Not sure why the rerun could not be scheduled within 24 hours, but can you rerun it again, please?

@wasade

wasade commented May 29, 2026

Copy link
Copy Markdown
Member

done

is macos-13 still valid?

@Midnighter

Midnighter commented May 29, 2026 •

Copy link
Copy Markdown
Contributor Author

Actually not, 14 is the oldest https://github.com/actions/runner-images#available-images

I'll change that, too, when I get home.

@wasade

wasade commented May 29, 2026

Copy link
Copy Markdown
Member

thanks!

@Midnighter
Midnighter force-pushed the chore/update-cibuildwheel branch from 5848274 to d19cf49 Compare May 30, 2026 13:57
@Midnighter

Copy link
Copy Markdown
Contributor Author

Made some changes to also test on Python 3.14. I'm not sure why this problem only pops up now with 3.14, but is there a good reason to install pytest via pip rather than a conda channel? It's also no longer recommended to use the conda defaults channel due to licensing issues.

@wasade

wasade commented Jun 1, 2026

Copy link
Copy Markdown
Member

Good catch, any chance you could pull from conda-forge?

The gist is this project does not have direct funding, and as such I can only allocate minimal maintenance effort. We greatly appreciate contributions like yours which help immensely.

@Midnighter

Copy link
Copy Markdown
Contributor Author

Done already in the last commit 😉

@wasade
wasade merged commit 0f3855c into biocore:master Jun 1, 2026
70 checks passed
@wasade

wasade commented Jun 1, 2026

Copy link
Copy Markdown
Member

Thanks @Midnighter!

pedrocr83 added a commit to pedrocr83/biotapy that referenced this pull request Sep 27, 2026
biom-format has no CPython 3.14 wheels yet (biocore/biom-format#1004 is
merged but unreleased), so on 3.14 it builds from source and needs a C
compiler. The stage-1 constraints require the docs to say so; the note
sits in README's installation section, which docs/index.md includes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
wasade added a commit that referenced this pull request Oct 3, 2026
* MAINT: build Python 3.14 wheels

#1004 upgraded cibuildwheel to a version that supports 3.14, but the
build selector in pyproject.toml still listed cp39-cp313, so no cp314
wheels were produced. Add cp314-* to the selector.

Also note the in1d -> isin fix (#1003) in the ChangeLog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* BUG: to_anndata fails with anndata >= 0.13

anndata 0.13.0 removed the dtype argument to AnnData(), so
Table.to_anndata() raised TypeError. Cast the matrix before
constructing the AnnData object instead. This also removes the
FutureWarning older anndata versions emitted for dtype=.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.

Outdated action pypa/cibuildwheel

3 participants