Skip to content

Commit

Permalink
Merge pull request #77 from scalableminds/allow-1.n-numpy
Browse files Browse the repository at this point in the history
python requirements: Allow numpy ^1.15
  • Loading branch information
jstriebel authored Jul 25, 2022
2 parents 7667a82 + d76185b commit cbe1f12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 2 additions & 1 deletion python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
cffi
numpy>=1.15,<1.22
numpy>=1.15,==1.*
numpy<1.22; python_version < '3.8'
7 changes: 6 additions & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ def run(self):
packages=find_packages(),
include_package_data=True,
license="MIT",
install_requires=["cffi", "numpy>=1.15,<1.22"],
install_requires=["cffi", "numpy>=1.15,==1.*"],
extras_require={
':python_version < "3.8"': [
"numpy<1.22",
],
},
cmdclass={"build_py": BuildPyCommand},
)

0 comments on commit cbe1f12

Please sign in to comment.