Repository navigation
Run the test suite with numpy in CI - #54
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Each test job (Python 3.11–3.15 on Ubuntu, plus 3.15 on Windows and macOS) now runs pytest twice:
uv run --extra numpy pytest): the same suite, plus the 6use_numpy_arraystests 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:
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