Skip to content

Commit 7293156

Browse files
committed
Require python>=3.10
1 parent 4cd02ef commit 7293156

File tree

3 files changed

+4
-9
lines changed

3 files changed

+4
-9
lines changed

.github/workflows/ci_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
platform: [windows-latest, macos-latest, ubuntu-latest]
14-
python-version: ["3.9", "3.12"]
14+
python-version: ["3.10", "3.12"]
1515
runs-on: ${{ matrix.platform }}
1616

1717
steps:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and the easiest way to install it is running
2222

2323
pip3 install petab
2424

25-
It will require Python>=3.9 to run. (We are following the
25+
It will require Python>=3.10 to run. (We are following the
2626
[numpy Python support policy](https://numpy.org/neps/nep-0029-deprecation_policy.html)).
2727

2828
Development versions of the PEtab library can be installed using
@@ -57,7 +57,7 @@ Examples for PEtab Python library usage:
5757

5858
## Getting help
5959

60-
If you have any question or problems with this package, feel free to post them
60+
If you have any questions or problems with this package, feel free to post them
6161
at our GitHub [issue tracker](https://github.com/PEtab-dev/libpetab-python/issues/).
6262

6363
## Contributing

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import os
22
import re
3-
import sys
43

54
from setuptools import find_namespace_packages, setup
65

@@ -30,10 +29,6 @@ def absolute_links(txt):
3029
return txt
3130

3231

33-
# Python version check
34-
if sys.version_info < (3, 9, 0):
35-
sys.exit("PEtab requires at least Python version 3.9")
36-
3732
# read version from file
3833
__version__ = ""
3934
version_file = os.path.join("petab", "version.py")
@@ -72,7 +67,7 @@ def absolute_links(txt):
7267
"jsonschema",
7368
],
7469
include_package_data=True,
75-
python_requires=">=3.9.0",
70+
python_requires=">=3.10.0",
7671
entry_points=ENTRY_POINTS,
7772
extras_require={
7873
"tests": [

0 commit comments

Comments
 (0)