From feeaad977365df99d2a3de27a32f0cecff0bcf9f Mon Sep 17 00:00:00 2001 From: Toon Verstraelen Date: Fri, 30 May 2025 08:13:25 +0200 Subject: [PATCH 1/5] Use Python 3.13 as newest Python version for pytest workflow --- .github/workflows/pytest.yaml | 2 +- pyproject.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 0fde9557..d80906d8 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.12'] + python-version: ['3.9', '3.13'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 7acaea24..aaa03bb5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,6 +26,7 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: File Formats", "Topic :: Scientific/Engineering :: Physics", "Topic :: Scientific/Engineering :: Chemistry", From e83932aa0a765c57d42cb6892d717ee4cd72f960 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Sat, 31 May 2025 17:16:07 -0400 Subject: [PATCH 2/5] Only test Python 3.9 and 3.13 for MacOS and windows --- .github/workflows/pytest.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index d80906d8..54ba7b67 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -15,7 +15,21 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.9', '3.13'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] + exclude: + # only test Python 3.9 and 3.13 for MacOS and Windows + - os: macos-latest + python-version: '3.10' + - os: macos-latest + python-version: '3.11' + - os: macos-latest + python-version: '3.12' + - os: windows-latest + python-version: '3.10' + - os: windows-latest + python-version: '3.11' + - os: windows-latest + python-version: '3.12' runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From 9bc9240d60406c12d0be68a3acb12ca85e90bc3c Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Sat, 31 May 2025 17:39:54 -0400 Subject: [PATCH 3/5] Clean up --- .github/workflows/pytest.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 54ba7b67..ee5d6cf4 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -19,17 +19,9 @@ jobs: exclude: # only test Python 3.9 and 3.13 for MacOS and Windows - os: macos-latest - python-version: '3.10' - - os: macos-latest - python-version: '3.11' - - os: macos-latest - python-version: '3.12' - - os: windows-latest - python-version: '3.10' - - os: windows-latest - python-version: '3.11' + python-version: ['3.10', '3.11', '3.12'] - os: windows-latest - python-version: '3.12' + python-version: ['3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From 13f9cc670dc1aaa53c33b1ba3d361b5991d59748 Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Sat, 31 May 2025 17:49:49 -0400 Subject: [PATCH 4/5] Exclude Python 3.9 for MacOS and Windows as well --- .github/workflows/pytest.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index ee5d6cf4..6dae1670 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -19,9 +19,9 @@ jobs: exclude: # only test Python 3.9 and 3.13 for MacOS and Windows - os: macos-latest - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] - os: windows-latest - python-version: ['3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 From ce9a871c26959ee0399a805b9265251054ad7d4d Mon Sep 17 00:00:00 2001 From: Fanwang Meng Date: Sun, 1 Jun 2025 15:34:36 -0400 Subject: [PATCH 5/5] Fix the excluding list for OS and Python versions --- .github/workflows/pytest.yaml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 6dae1670..ce2785b7 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -17,11 +17,23 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] exclude: - # only test Python 3.9 and 3.13 for MacOS and Windows + # only test 3.13 for MacOS and Windows - os: macos-latest - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: '3.9' + - os: macos-latest + python-version: '3.10' + - os: macos-latest + python-version: '3.11' + - os: macos-latest + python-version: '3.12' + - os: windows-latest + python-version: '3.9' + - os: windows-latest + python-version: '3.10' + - os: windows-latest + python-version: '3.11' - os: windows-latest - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: '3.12' runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4