Skip to content

Fix: The buffer tests run without numpy; CI installs numpy for the numpy pins - #229

Merged
b-re-w merged 1 commit into
developfrom
feat/tp-numpy-optional
Oct 17, 2026
Merged

b-re-w merged 1 commit into
developfrom
feat/tp-numpy-optional

Conversation

@b-re-w

@b-re-w b-re-w commented Oct 17, 2026

Copy link
Copy Markdown
Member

Fixes the red develop run after #225: test_buffer_arrays.py imported numpy at the top, and its test module source imported numpy too, but the CI venv has no numpy.

  • The numpy pins (an NDArray parameter stays an object; a numpy array passed to an array.array parameter takes the object path) move to test_buffer_numpy.py, which uses pytest.importorskip("numpy").
  • test_buffer_arrays.py no longer needs numpy.
  • typedpython.yml installs numpy in all three jobs, so CI still runs the numpy pins.

Verification (3.15.0rc1t): without numpy, 49 passed and 1 skipped; with numpy, 51 passed.

@b-re-w
b-re-w merged commit 67dc1d2 into develop Oct 17, 2026
@b-re-w
b-re-w deleted the feat/tp-numpy-optional branch October 17, 2026 10:22
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