mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-05 22:20:34 +03:00
2672eb4862
Starting in numpy 1.25 (see https://github.com/numpy/numpy/releases/tag/v1.25.0), the numpy C API is backwards-compatible by default. For python 3.9+, we should be able to drop the specific numpy build requirements and use `numpy>=1.25`, which is currently backwards-compatible to `numpy>=1.19`. In the future, the python <3.9 requirements could be dropped and the lower numpy pin could correspond to the oldest supported version for the current lower python pin.
7 lines
379 B
Plaintext
7 lines
379 B
Plaintext
# build version constraints for use with wheelwright + multibuild
|
|
numpy==1.15.0; python_version<='3.7' and platform_machine!='aarch64'
|
|
numpy==1.19.2; python_version<='3.7' and platform_machine=='aarch64'
|
|
numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64'
|
|
numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64'
|
|
numpy>=1.25.0; python_version>='3.9'
|