Skip to content

Commit

Permalink
ci: allow newer numpy on newer python
Browse files Browse the repository at this point in the history
  • Loading branch information
hermankolden authored and bkueng committed Sep 15, 2023
1 parent a9a17b3 commit 3f76374
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,10 @@
license='BSD 3-Clause',
classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
install_requires=['numpy < 1.25'], # numpy >= 1.25 requires python 3.9
install_requires=[
"numpy < 1.25; python_version < '3.9'",
"numpy >= 1.25; python_version >= '3.9'",
],
tests_require=['pytest', 'ddt'],
entry_points = {
'console_scripts': [
Expand Down

0 comments on commit 3f76374

Please sign in to comment.