Skip to content

Commit

Permalink
Fix minimum Python requirement (#97)
Browse files Browse the repository at this point in the history
petab requires python>=3.10
  • Loading branch information
dweindl authored Oct 7, 2024
1 parent 537330d commit 5114882
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
matrix:
# test on latest and minimum python version
python-version: ['3.11', '3.9']
python-version: ['3.12', '3.10']

steps:
- name: Check out repository
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ def absolute_links(txt):
return txt


# 3.7.1 for NumPy, 3.8 for `typing.get_args`
minimum_python_version = '3.8'
minimum_python_version = '3.10'
if sys.version_info < tuple(map(int, minimum_python_version.split('.'))):
sys.exit(f'PEtab Select requires Python >= {minimum_python_version}')

Expand Down

0 comments on commit 5114882

Please sign in to comment.