Commit 68d83fb
committed
fix: Relax numpy version constraint for Python 3.12+ support
Relax numpy version constraint from >=1.24.0,<1.26.0 to >=1.24.0,<2.0.0
Enables installation on Python 3.12 and 3.13
Problem
-------
Fixes #77, #104, #231, #240, #243, #272, #319, #322, #323, #390
The numpy<1.26.0 constraint prevented installation on Python 3.12+ because
numpy 1.24.x/1.25.x cannot be built from source (pkgutil.ImpImporter was
removed in Python 3.12, and distutils was removed from stdlib).
Solution
--------
Changed to >=1.24.0,<2.0.0 to allow prebuilt numpy wheels for Python 3.12/3.13
while maintaining numpy 1.x API compatibility.
Test
----
Verified with pip install -e . on Python 3.12 - installs numpy 1.26.4 and
imports work correctly.1 parent ed27b95 commit 68d83fb
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments