eland/requirements-dev.txt
David Kyle b507bb6d6c
Restrict NumPy and Pandas versions (#539)
Shap is incompatible with NumPy 1.24 due to a deprecated usage becoming
an error. There is no fix in Shap yet so an earlier version of NumPy must
be used.
Pandas 2.0 was recently released we will continue to use the latest 1.5 release 
to avoid any incompatibilities.
2023-05-19 16:04:33 +01:00

39 lines
596 B
Plaintext

#
# Basic requirements
#
elasticsearch>=8.3,<9
pandas>=1.5,<2
matplotlib>=3.6
numpy<1.24
tqdm<5
#
# Extras
#
scikit-learn>=0.22.1,<2
xgboost>=0.90,<2
lightgbm>=2,<4
# PyTorch doesn't support Python 3.10 yet (pytorch/pytorch#66424)
# Elasticsearch uses v1.11.0 of PyTorch
torch>=1.11.0,<1.12.0; python_version<'3.10'
# Versions known to be compatible with torch 1.11
sentence-transformers>=2.1.0,<=2.2.2; python_version<'3.10'
transformers[torch]>=4.12.0,<=4.20.1; python_version<'3.10'
#
# Testing
#
pytest>=5.2.1
pytest-mock
pytest-cov
nbval
shap==0.41.0
#
# Docs
#
nox
numpydoc>=0.9.0
mypy