Skip to content

Update numpy to >=2.0.0,<3.0.0#255

Merged
iskandr merged 4 commits intomainfrom
numpy2-support
Apr 3, 2026
Merged

Update numpy to >=2.0.0,<3.0.0#255
iskandr merged 4 commits intomainfrom
numpy2-support

Conversation

@iskandr
Copy link
Copy Markdown
Contributor

@iskandr iskandr commented Apr 3, 2026

Summary

  • Update numpy dependency from >=1.7,<2.0 to >=2.0.0,<3.0.0 in both setup.py and requirements.txt
  • Bump version to 1.3.0

Motivation

numpy 2.x has been available since June 2024. This update is part of a coordinated effort across the openvax ecosystem to modernize numpy support. numpy 2.0.x supports Python 3.9+, which is compatible with varcode's current test matrix.

Test plan

  • CI passes on Python 3.9, 3.10, 3.11
  • No deprecated numpy API usage (np.bool, np.int, np.float, etc.)

iskandr added 4 commits April 3, 2026 00:16
setup-python@v3 pip cache is returning 400 errors from GitHub's
cache service.
The if/elif chain covers all cases of % 3 but pylint can't prove
exhaustiveness. Initialize with defaults to silence the warning.
@coveralls
Copy link
Copy Markdown

Coverage Status

coverage: 88.171% (-0.04%) from 88.215%
when pulling aff97af on numpy2-support
into 2c1c96e on main.

@iskandr iskandr merged commit 1d87ca9 into main Apr 3, 2026
4 of 6 checks passed
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