From 414b56251d2981334aa6d2a72e35079dce30fda9 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 d7582650..14a12cae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,8 @@ ## Unreleased * update string checks in initialization method for latent variable and put `empirical_samples` init-method on a deprecation path +* 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"],