From bef528960ad148b538f47d4ad342cb264f514410 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 16 Jun 2025 23:21:57 +0200 Subject: [PATCH 1/3] GitHub Actions: Add Python 3.13 to the testing --- .github/workflows/python-package.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 6116615..c5d9ef4 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,5 +1,5 @@ -# This workflow will install Python dependencies, run tests and lint with a variety of Python versions -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions +# This workflow will install Python dependencies, run tests, and lint with a variety of Python versions +# For more information, see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions name: Python package @@ -16,10 +16,10 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', 3.8, 3.9, '3.10', '3.11', '3.12'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python 3.7 from deadsnakes if: matrix.python-version == '3.7' @@ -34,7 +34,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '3.7' - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} From 323a308cf85e9398e1ccfb9d03b7c1edbf8c3895 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 16 Jun 2025 23:24:42 +0200 Subject: [PATCH 2/3] flake8 --ignore=F824 --- .github/workflows/python-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index c5d9ef4..f33dfaf 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -46,7 +46,7 @@ jobs: - name: Lint with flake8 run: | # stop the build if there are Python syntax errors or undefined names - flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + flake8 . --count --select=E9,F63,F7,F82 --ignore=F824 --show-source --statistics # exit-zero treats all errors as warnings flake8 . --count --exit-zero --statistics From 25fbaacfa623c33612fcfc0e96b804b70f6966ad Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 19 Sep 2025 08:35:12 +0200 Subject: [PATCH 3/3] Add Python 3.14 to workflow matrix --- .github/workflows/python-package.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f33dfaf..8be88f8 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14'] steps: - uses: actions/checkout@v4 @@ -37,6 +37,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: |