mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Limit NumPy to a range of versions and note why (#540)
This commit is contained in:
parent
36bbbe0bdb
commit
7820a31256
@ -4,7 +4,9 @@
|
|||||||
elasticsearch>=8.3,<9
|
elasticsearch>=8.3,<9
|
||||||
pandas>=1.5,<2
|
pandas>=1.5,<2
|
||||||
matplotlib>=3.6
|
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
|
tqdm<5
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -4,4 +4,6 @@
|
|||||||
elasticsearch>=8.3,<9
|
elasticsearch>=8.3,<9
|
||||||
pandas>=1.5,<2
|
pandas>=1.5,<2
|
||||||
matplotlib>=3.6
|
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
|
||||||
|
2
setup.py
2
setup.py
@ -85,7 +85,7 @@ setup(
|
|||||||
"elasticsearch>=8.3,<9",
|
"elasticsearch>=8.3,<9",
|
||||||
"pandas>=1.5,<2",
|
"pandas>=1.5,<2",
|
||||||
"matplotlib>=3.6",
|
"matplotlib>=3.6",
|
||||||
"numpy<1.24",
|
"numpy>=1.2.0,<1.24",
|
||||||
],
|
],
|
||||||
scripts=["bin/eland_import_hub_model"],
|
scripts=["bin/eland_import_hub_model"],
|
||||||
python_requires=">=3.8",
|
python_requires=">=3.8",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user