From 580a6ce54cc515dc3e1cadc5d9532ac1931e3936 Mon Sep 17 00:00:00 2001 From: Martin Bubel Date: Sat, 20 Jul 2024 13:11:54 +0200 Subject: [PATCH] set upper bound on numpy dependency --- CHANGELOG.md | 2 ++ setup.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8b0fc679..7440692e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/setup.py b/setup.py index d63b6812..0c74b1fe 100644 --- a/setup.py +++ b/setup.py @@ -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"],