Skip to content

Fix red CI on main (Python 3.14 / zarr3 / geff1.4 / numcodecs) - #323

Merged
TeunHuijben merged 3 commits into
mainfrom
fix-docs-and-td-bump
Nov 18, 2026
Merged

TeunHuijben merged 3 commits into
mainfrom
fix-docs-and-td-bump

Conversation

@TeunHuijben

@TeunHuijben TeunHuijben commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Main is red on the ubuntu py3.14 test job and the docs job. Both fail in uv sync while building numcodecs==0.15.2 from source:

c-blosc/blosc/shuffle.c:26:15: error: 'bool' cannot be defined via 'typedef'

Root cause is a malformed environment marker in tracksdata ≤ rc12 (and geff 1.2–1.3.1):

numcodecs>=0.13,<0.16; python_version > '3.10,<=3.11'

'3.10,<=3.11' is not a valid version, so the marker falls back to string comparison and is true on every Python. That caps numcodecs below 0.16 everywhere. numcodecs 0.15.2 has no cp314 wheels, so on 3.14 it has to be compiled, and that fails on the current Linux runners.

The docs job hit this even without a 3.14 matrix entry. It read matrix.python-version, but there is no matrix in that workflow, so uv fell back to the runner's system Python, which is now 3.14.

Changes

  • tracksdata>=0.1.0rc13: removes the bad marker (Maintenance (numcodecs <0.16 pin, python 3.14, pyqt6) royerlab/tracksdata#346; also adds 3.13/3.14 to tracksdata's CI and drops 3.10).
  • geff>=1.4: first geff without the same bad marker.
  • zarr>=3,<4: drop zarr-python 2. zarr-python 3 still reads and writes zarr format v2 files, so existing data keeps working. geff 1.4 already requires zarr 3.
  • Removed the per-Python numcodecs pins. They only existed to keep zarr-python 2 working.
  • docs.yml: pin Python instead of using the nonexistent matrix value.

Notes

  • Resolved numcodecs is now 0.16.x on 3.11 and 0.17.x on 3.14 (prebuilt wheels, no compile step).
  • The macOS failures on main were GitHub runner capacity ("job was not acquired by Runner"), not code.

@codecov

codecov Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.08%. Comparing base (f33e0b3) to head (b310179).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #323      +/-   ##
==========================================
- Coverage   94.36%   94.08%   -0.29%     
==========================================
  Files          64       64              
  Lines        3886     3886              
==========================================
- Hits         3667     3656      -11     
- Misses        219      230      +11     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@TeunHuijben TeunHuijben changed the title Fix red CI on main (Python 3.14 / numcodecs) Fix red CI on main (Python 3.14 / zarr3 / geff1.4 / numcodecs) Nov 18, 2026
@TeunHuijben
TeunHuijben merged commit dc9ae53 into main Nov 18, 2026
12 checks passed
@TeunHuijben
TeunHuijben deleted the fix-docs-and-td-bump branch November 18, 2026 19:52
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