Skip to content

Commit 05f0a0b

Browse files
Conditionally use numpy 1.24 when python = 3.8
1 parent c466910 commit 05f0a0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ def read(*names, **kwargs):
5959
'Documentation': 'https://nrel.github.io/python-geophires-x-nrel/',
6060
},
6161
keywords=['geothermal'],
62-
python_requires='>=3.7',
62+
python_requires='>=3.8',
6363
install_requires=[
64-
'numpy==1.24', # Last version compatible with Python 3.8
64+
'numpy==1.24; python_version == "3.8"', # Last version compatible with Python 3.8
65+
'numpy==1.26; python_version > "3.8"',
6566
'numpy-financial',
6667
'pint',
6768
'forex_python',

0 commit comments

Comments
 (0)