From 743424eb2d199d47e07263bde32274d71df47730 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Mon, 7 Oct 2024 14:12:32 +0200 Subject: [PATCH] Fix minimum Python requirement petab requires python>=3.10 --- .github/workflows/ci.yml | 2 +- setup.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bd7d9253..f1671916 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/setup.py b/setup.py index 0d47670e..6e4d3ea8 100644 --- a/setup.py +++ b/setup.py @@ -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}')