Skip to content

Run the test suite with numpy in CI - #54

Merged
dparrini merged 1 commit into
masterfrom
ci-numpy-tests
Oct 21, 2026
Merged

dparrini merged 1 commit into
masterfrom
ci-numpy-tests

Conversation

@dparrini

Copy link
Copy Markdown
Owner

Each test job (Python 3.11–3.15 on Ubuntu, plus 3.15 on Windows and macOS) now runs pytest twice:

  1. Without numpy: the pure-Python readers, and the import path when numpy is missing.
  2. With numpy (uv run --extra numpy pytest): the same suite, plus the 6 use_numpy_arrays tests that were previously skipped in CI.

numpy is opt-in through use_numpy_arrays=True, so installing it doesn't change the default code paths. The second run therefore covers both.

The README's Development section now includes the numpy command.

Checked locally in fresh environments:

  • 3.11: 144 passed, 6 skipped without numpy; 150 passed with numpy 2.4.6.
  • 3.15: same results, with numpy 2.5.4.

numpy 2.5 requires Python 3.12+, and uv picks 2.4.x on 3.11 automatically.

🤖 Generated with Claude Code

https://claude.ai/code/session_01EPnfFrvYTuVEM9uDp81XiD

Each test job now runs pytest twice: without numpy, then with the numpy
extra installed, so the use_numpy_arrays tests no longer get skipped in CI.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EPnfFrvYTuVEM9uDp81XiD
@dparrini
dparrini merged commit a839863 into master Oct 21, 2026
18 checks passed
@dparrini
dparrini deleted the ci-numpy-tests branch October 21, 2026 18:36
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