Skip to content

Commit

Permalink
restrict numpy <1.26
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Oct 5, 2023
1 parent 47c1fef commit 3b6092e
Show file tree
Hide file tree
Showing 2 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
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "numpy>=1.10", "pyparsing", "scipy"]
requires = ["setuptools", "wheel", "numpy>=1.10,<1.26", "pyparsing", "scipy"]
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
sys.exit()

if sys.version_info[:2] == (2, 7) or sys.version_info[:2] <= (3, 5):
INSTALL_REQUIRES=['numpy>=1.10', 'biopython<=1.76', 'pyparsing', 'scipy']
INSTALL_REQUIRES=['numpy>=1.10,<1.26', 'biopython<=1.76', 'pyparsing', 'scipy']
else:
INSTALL_REQUIRES=['numpy>=1.10', 'biopython<=1.79', 'pyparsing', 'scipy', 'setuptools']
INSTALL_REQUIRES=['numpy>=1.10,<1.26', 'biopython<=1.79', 'pyparsing', 'scipy', 'setuptools']

if sys.version_info[0] == 3:
if sys.version_info[1] < 6:
Expand Down

0 comments on commit 3b6092e

Please sign in to comment.