-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow numpy 2 for pyprecice>=3.1.1 (#218)
* Update pyproject.toml * Update setup.py * Update package.py
- Loading branch information
1 parent
1f75046
commit 76ae917
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[build-system] | ||
# PEP 518 - minimum build system requirements | ||
requires = ["setuptools>=61,<72", "wheel", "Cython>=0.29", "packaging", "pip>=19.0.0", "numpy<2", "mpi4py", "pkgconfig"] | ||
requires = ["setuptools>=61,<72", "wheel", "Cython>=0.29", "packaging", "pip>=19.0.0", "numpy", "mpi4py", "pkgconfig"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -137,7 +137,7 @@ def initialize_options(self): | |
author_email='[email protected]', | ||
license='LGPL-3.0', | ||
python_requires='>=3', | ||
install_requires=['numpy<2', 'mpi4py', 'Cython'], | ||
install_requires=['numpy', 'mpi4py', 'Cython'], | ||
# mpi4py is only needed, if preCICE was compiled with MPI | ||
# see https://github.com/precice/python-bindings/issues/8 | ||
packages=['precice'], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,7 +59,8 @@ class PyPyprecice(PythonPackage): | |
|
||
depends_on("python@3:", type=("build", "link", "run")) | ||
depends_on("py-setuptools@61:71", type="build") | ||
depends_on("py-numpy@:1", type=("build", "link", "run")) | ||
depends_on("py-numpy", type=("build", "link", "run"), when="@3.1.1:") | ||
depends_on("py-numpy@:1", type=("build", "link", "run"), when="@:3.1.1") | ||
depends_on("py-mpi4py", type=("build", "run")) | ||
depends_on("[email protected]:", type="build") | ||
depends_on("py-packaging", type="build") | ||
|