Skip to content

Commit

Permalink
Force numpy<2 and set up v0.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tnipen committed Jul 7, 2024
1 parent c71c4b3 commit 0ea1da9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/gridpp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#endif
#include <exception>

#define GRIDPP_VERSION "0.7.0"
#define GRIDPP_VERSION "0.7.1"
#define __version__ GRIDPP_VERSION

namespace gridpp {
Expand Down
2 changes: 1 addition & 1 deletion swig/python-packaging/setup.in.py
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 1 addition & 1 deletion swig/python/setup.in.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0ea1da9

Please sign in to comment.