Skip to content

Numpy 2 compatibility#32

Merged
samn merged 2 commits intomasterfrom
cursor/numpy-2-compatibility-8306
Feb 4, 2026
Merged

Numpy 2 compatibility#32
samn merged 2 commits intomasterfrom
cursor/numpy-2-compatibility-8306

Conversation

@samn
Copy link
Member

@samn samn commented Feb 3, 2026

Update numpy version constraint to allow numpy 2 while maintaining compatibility with numpy 1. And allow Python 3.11 again.


Open in Cursor Open in Web

- Changed numpy version constraint from ==1.* to >=1.26,<3
- The codebase already uses numpy 2 compatible APIs
- Ruff NPY rules verify numpy 2 compatibility
- All 59 tests pass with numpy 2.3.5 without deprecation warnings

Co-authored-by: sam <sam@upstream.tech>
@cursor
Copy link

cursor bot commented Feb 3, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@samn samn marked this pull request as ready for review February 3, 2026 16:18
@samn samn merged commit a0fb5b3 into master Feb 4, 2026
2 checks passed
@samn samn deleted the cursor/numpy-2-compatibility-8306 branch February 4, 2026 14:04
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.

2 participants