set upper bound on numpy dependency

This commit is contained in:
Martin Bubel 2024-07-20 13:11:54 +02:00
parent bfa1d67fda
commit 580a6ce54c
2 changed files with 4 additions and 2 deletions

View file

@ -2,6 +2,8 @@
## Unreleased
* update dependencies to `numpy>=1.7.0,<2.0.0`
* update import in `.plotting.matplot_dep.defaults` due to change in matplotlib
* Correct dl_dm term in student t inference #1065

View file

@ -140,7 +140,7 @@ except ModuleNotFoundError:
ext_mods = []
install_requirements = [
"numpy>=1.7",
"numpy>=1.7,<2.0.0",
"six",
"paramz>=0.9.6",
"cython>=0.29",
@ -197,7 +197,7 @@ setup(
include_package_data=True,
py_modules=["GPy.__init__"],
test_suite="GPy.testing",
setup_requires=["numpy>=1.7"],
setup_requires=["numpy>=1.7,<2.0.0"],
install_requires=install_requirements,
extras_require={
"docs": ["sphinx"],