From 9704b27fb2d3c729fcb62a3ff4bc0b6046bc3f6b Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Mon, 31 Mar 2025 11:44:15 +0200 Subject: [PATCH 1/3] CI: Update Python versions used for testing - Linux: drop 3.8, add 3.13 - macOS: use 3.13 --- .github/workflows/test.yaml | 6 ++---- hatch.toml | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3946615d..c674b7d7 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -23,12 +23,10 @@ jobs: fail-fast: false matrix: os: [ ubuntu-latest ] - python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ] + python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13' ] include: - - os: macos-13 - python-version: '3.12' - os: macos-14 - python-version: '3.12' + python-version: '3.13' steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 diff --git a/hatch.toml b/hatch.toml index 716aa124..2096af1f 100644 --- a/hatch.toml +++ b/hatch.toml @@ -26,7 +26,7 @@ dependencies = [ cov = "pytest --cov-config=pyproject.toml {args}" no-cov = "cov --no-cov {args}" [[envs.test.matrix]] -python = ["3.8", "3.9", "3.10", "3.11", "3.12"] +python = ["3.9", "3.10", "3.11", "3.12", "3.13"] [envs.types] dependencies = ["mypy"] From 11d7e1d1c7a16efa0cfb98e459ea1816ca4f3a8c Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Mon, 31 Mar 2025 11:50:14 +0200 Subject: [PATCH 2/3] MAINT: Update Python versions in trove classifiers --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index ac339dc8..094c0da1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Software Development", From d2b45d4a15e0d93d0a217679c04ed60127750b32 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Mon, 31 Mar 2025 11:57:59 +0200 Subject: [PATCH 3/3] CI: Build docs with Python 3.12 --- .github/workflows/docs.yaml | 2 +- hatch.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 93959939..15c844a1 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -33,7 +33,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.12' cache: pip - name: Install Hatch uses: pypa/hatch@install diff --git a/hatch.toml b/hatch.toml index 2096af1f..ec963382 100644 --- a/hatch.toml +++ b/hatch.toml @@ -2,7 +2,7 @@ packages = ["medkit"] [envs.docs] -python = "3.11" +python = "3.12" features = [ "deid", "docs",