FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

BUG: Fix CI failure on Python 3.13/3.14 with numpy 2.4.0+ by basnijholt · Pull Request #929 · pipefunc/pipefunc · GitHub

BUG: Fix CI failure on Python 3.13/3.14 with numpy 2.4.0+ - #929

Merged
basnijholt merged 1 commit into
mainfrom
fix-numpy-issubdtype-valueerror
Jan 5, 2026
Merged

BUG: Fix CI failure on Python 3.13/3.14 with numpy 2.4.0+#929
basnijholt merged 1 commit into
mainfrom
fix-numpy-issubdtype-valueerror

Conversation

basnijholt commented Jan 5, 2026
edited
Loading

Copy link
Copy Markdown
Collaborator

Summary

  • Catch ValueError in addition to TypeError in _is_np_subdtype()
  • Newer numpy versions (2.4.0+) raise ValueError instead of TypeError when passing type annotations like npt.NDArray[np.int_] to np.issubdtype()

Test plan

  • Verified fix locally with Python 3.14 and numpy 2.4.0
  • CI should pass on Python 3.13/3.14

Catch ValueError in addition to TypeError in _is_np_subdtype().

Newer numpy versions raise ValueError instead of TypeError when
passing type annotations like npt.NDArray[np.int_] to np.issubdtype().
basnijholt changed the title Fix CI failure on Python 3.13/3.14 with numpy 2.4.0+ BUG: Fix CI failure on Python 3.13/3.14 with numpy 2.4.0+ Jan 5, 2026

github-actions Bot commented Jan 5, 2026

Copy link
Copy Markdown
Contributor

✅ PR Title Formatted Correctly

The title of this PR has been updated to match the correct format. Thank you!

codecov Bot commented Jan 5, 2026
edited
Loading

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
pipefunc/map/_result.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codspeed-hq Bot commented Jan 5, 2026

Copy link
Copy Markdown

CodSpeed Performance Report

Merging #929 will not alter performance

Comparing fix-numpy-issubdtype-valueerror (8ce628a) with main (53638a0)

Summary

✅ 6 untouched

basnijholt merged commit 45f29ff into main Jan 5, 2026
23 checks passed
basnijholt deleted the fix-numpy-issubdtype-valueerror branch January 5, 2026 07:05
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL