From 6ddfb32db93f65b7ad9247f3c7b729dc3fadb23a Mon Sep 17 00:00:00 2001 From: Dieter Werthmuller Date: Fri, 12 Dec 2025 11:33:28 +0100 Subject: [PATCH] Add Python 3.14; remove Python 3.10 --- .github/workflows/pytest.yml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 5831672..9e7b170 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -12,14 +12,6 @@ on: schedule: - cron: "14 14 20 * *" -# Use bash by default in all jobs -defaults: - run: - # Using "-l {0}" is necessary for conda environments to be activated - # But this breaks on MacOS if using actions/setup-python: - # https://github.com/actions/setup-python/issues/132 - shell: bash - # Cancel any previous run of the test job. concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -34,20 +26,20 @@ jobs: fail-fast: false matrix: os: [ubuntu, ] # macos, windows] # Only Linux currently. - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13", "3.14"] steps: # Checks-out your repository under $GITHUB_WORKSPACE - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6.0.1 with: # The GitHub token is preserved by default but this job doesn't need # to be able to push to GitHub. persist-credentials: false - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6.1.0 with: python-version: ${{ matrix.python-version }} @@ -72,16 +64,16 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@v6.0.1 with: # The GitHub token is preserved by default but this job doesn't need # to be able to push to GitHub. persist-credentials: false - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6.1.0 with: - python-version: "3.12" + python-version: "3.13" - name: Install dependencies run: | @@ -101,7 +93,7 @@ jobs: - name: Publish to PyPI # Only for releases if: success() && github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@release/v1 + uses: pypa/gh-action-pypi-publish@v1.13.0 with: user: __token__ password: ${{ secrets.PYPI_PASSWORD }}