Skip to content

Commit

Permalink
Avoid numpy 1.19 (gwastro#3328)
Browse files Browse the repository at this point in the history
* try fixing numpy to 1.18.5 for py37

* add more numpy settings; make it <1.19 rather than pinning to 18.5
  • Loading branch information
Collin Capano authored and lenona committed Sep 14, 2020
1 parent afee4d3 commit d88b85c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
requires = ["setuptools",
"wheel",
"cython>=0.29",
"numpy>=1.16.0"]
"numpy>=1.16.0,<1.19"]
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ decorator>=3.4.2
scipy>=0.16.0; python_version >= '3.5'
scipy>=0.16.0,<1.3.0; python_version <= '3.4'
matplotlib>=2.0.0
numpy>=1.16.0; python_version >= '3.5'
numpy>=1.16.0,<1.19; python_version >= '3.5'
numpy>=1.16.0,<1.17.0; python_version <= '3.4'
pillow
h5py<2.10.0
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
install_requires = setup_requires + ['Mako>=1.0.1',
'cython>=0.29',
'decorator>=3.4.2',
'numpy>=1.16.0; python_version >= "3.5"',
'numpy>=1.16.0,<1.19; python_version >= "3.5"',
'numpy>=1.16.0,<1.17.0; python_version <= "2.7"',
'scipy>=0.16.0; python_version >= "3.5"',
'scipy>=0.16.0,<1.3.0; python_version <= "3.4"',
Expand Down

0 comments on commit d88b85c

Please sign in to comment.