Limit NumPy to a range of versions and note why (#540)

This commit is contained in:
David Kyle 2023-05-22 10:47:06 +01:00 committed by GitHub
parent 36bbbe0bdb
commit 7820a31256
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 3 deletions

View File

@ -4,7 +4,9 @@
elasticsearch>=8.3,<9
pandas>=1.5,<2
matplotlib>=3.6
numpy<1.24
# Shap is incompatible with NumPy >= 1.24 (elastic/eland#539)
# Fix NumPy to a known good range of versions
numpy>=1.2.0,<1.24
tqdm<5
#

View File

@ -4,4 +4,6 @@
elasticsearch>=8.3,<9
pandas>=1.5,<2
matplotlib>=3.6
numpy<2
# Shap is incompatible with NumPy >= 1.24 (elastic/eland#539)
# Fix NumPy to a known good range of versions
numpy>=1.2.0,<1.24

View File

@ -85,7 +85,7 @@ setup(
"elasticsearch>=8.3,<9",
"pandas>=1.5,<2",
"matplotlib>=3.6",
"numpy<1.24",
"numpy>=1.2.0,<1.24",
],
scripts=["bin/eland_import_hub_model"],
python_requires=">=3.8",