From 0ea1da9351ac0439a626ab228d9580b42a6efd74 Mon Sep 17 00:00:00 2001 From: Thomas Nipen Date: Fri, 5 Jul 2024 21:45:17 +0200 Subject: [PATCH] Force numpy<2 and set up v0.7.1 --- include/gridpp.h | 2 +- swig/python-packaging/setup.in.py | 2 +- swig/python/setup.in.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/gridpp.h b/include/gridpp.h index 5288e52c..76852161 100644 --- a/include/gridpp.h +++ b/include/gridpp.h @@ -13,7 +13,7 @@ #endif #include -#define GRIDPP_VERSION "0.7.0" +#define GRIDPP_VERSION "0.7.1" #define __version__ GRIDPP_VERSION namespace gridpp { diff --git a/swig/python-packaging/setup.in.py b/swig/python-packaging/setup.in.py index 4ad98460..43376ba1 100644 --- a/swig/python-packaging/setup.in.py +++ b/swig/python-packaging/setup.in.py @@ -108,7 +108,7 @@ def run(self): # However, since the earliest precompiled numpy versions have been used when compiling gridpp, # it is unlikely the user will have an older version of numpy # install_requires=['numpy<=1.12.1; python_version < "3"'], - install_requires=['numpy'], + install_requires=['numpy<2'], test_suite="gridpp.tests", ext_modules = [module], diff --git a/swig/python/setup.in.py b/swig/python/setup.in.py index 918e5d8c..5cb5735c 100644 --- a/swig/python/setup.in.py +++ b/swig/python/setup.in.py @@ -103,7 +103,7 @@ def finalize_options(self): # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html - install_requires=['numpy'], + install_requires=['numpy<2'], # List additional groups of dependencies here (e.g. development # dependencies). You can install these using the following syntax,