From d5b1cff28375cc450aa39086c718689241a7b797 Mon Sep 17 00:00:00 2001 From: simleo Date: Fri, 13 Dec 2024 10:12:36 +0100 Subject: [PATCH] bump min python version to 3.9 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/docs.yml | 4 ++-- .github/workflows/release.yml | 2 +- pyproject.toml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 32d3a4d..9d7679b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: platform: ['ubuntu-latest', 'macos-latest'] - python-version: ['3.8', '3.9', '3.10'] + python-version: ['3.9', '3.10', '3.11', '3.12'] runs-on: ${{ matrix.platform }} steps: - uses: actions/checkout@v4 @@ -41,10 +41,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 733c905..2b407da 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,10 +11,10 @@ jobs: steps: - name: checkout code uses: actions/checkout@v4 - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v5 with: - python-version: '3.8' + python-version: '3.12' - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 049e54a..4e4316e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.12' - name: Build run: | pip install wheel diff --git a/pyproject.toml b/pyproject.toml index 15bf932..2308aee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,12 +13,12 @@ classifiers = [ "Intended Audience :: Science/Research", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX :: Linux", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.12", ] authors = [{name = "CRS4", email = "ro-crate@elixir-europe.org"}, {name = "RO-Crate community"}] -requires-python = ">=3.8, <4" +requires-python = ">=3.9, <4" dependencies = [ "bdbag>=1.4.1", "click~=8.1",