Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): Run tests for more python versions #296

Merged
merged 9 commits into from
Mar 8, 2024
Prev Previous commit
Next Next commit
avoid xarray+importlib_metadata bug on 3.7
  • Loading branch information
hassec committed Mar 3, 2024
commit 87b9aa020a4a6c44e87e8ceba02fd8d96a26d6ce
31 changes: 16 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
#
# usage: pip install -r requirements.txt

numpy>=1.16.1 # required
uncertainties # required
pint # required
netCDF4 # required
boto3 # required
matplotlib # required
scipy # required
h5py # required
pymongo # required
dnspython # required
xmltodict # required
xarray # required
setuptools>=41.2 # required
tqdm # required
Cython # required
numpy>=1.16.1 # required
uncertainties # required
pint # required
netCDF4 # required
boto3 # required
matplotlib # required
scipy # required
h5py # required
pymongo # required
dnspython # required
xmltodict # required
xarray # required
setuptools>=41.2 # required
tqdm # required
Cython # required
importlib_metadata <5;python_version=='3.7' # required

# omfit_classes # machine
# pexpect # machine
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'setuptools>=41.2',
'tqdm',
'Cython',
"importlib_metadata <5;python_version=='3.7'"
]

extras_require = {
Expand All @@ -44,7 +45,7 @@
f.write('# Do not edit this file by hand, operate on setup.py instead\n#\n')
f.write('# usage: pip install -r requirements.txt\n\n')
for item in install_requires:
f.write(item.ljust(25) + '# required\n')
f.write(item.ljust(50) + ' # required\n')
for requirement in extras_require:
f.write('\n')
for item in extras_require[requirement]:
Expand Down