From d413575c2fa993119ed1080268d040006e9473fd Mon Sep 17 00:00:00 2001 From: Enrico Minack Date: Mon, 21 Oct 2024 09:41:30 +0200 Subject: [PATCH] Move to Python 3.13 release --- .github/actions/test/action.yml | 12 ++++++------ .github/workflows/ci-cd.yml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/actions/test/action.yml b/.github/actions/test/action.yml index 90470b7e..ddfb15e1 100644 --- a/.github/actions/test/action.yml +++ b/.github/actions/test/action.yml @@ -19,16 +19,16 @@ runs: sudo apt-get update sudo apt-get install language-pack-en language-pack-de shell: bash - + - name: Setup Python if: inputs.python-version != 'installed' uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} - + - name: Checkout uses: actions/checkout@v4 - + - name: Detect OS id: os env: @@ -47,7 +47,7 @@ runs: esac echo "date=$(date +%Y%m%d 2> /dev/null || true)" >> $GITHUB_OUTPUT shell: bash - + - name: Cache PIP Packages uses: actions/cache@v4 id: cache @@ -59,7 +59,7 @@ runs: ${{ inputs.os }}-pip-test-${{ inputs.python-version }}-${{ hashFiles('**/requirements.txt', '**/constraints.txt') }}- ${{ inputs.os }}-pip-test-${{ inputs.python-version }}- ${{ inputs.os }}-pip-test- - + - name: Install Python dependencies run: | python -m venv "$RUNNER_TEMP/venv" @@ -88,7 +88,7 @@ runs: python -m pip cache list || true # assert no whl files have been built - if [[ "$python_minor_version" != "3.13" ]] && python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]] + if python -m pip cache info && [[ "$(python -m pip cache info | grep "Number of .*wheels:")" != "Number of "*"wheels: 0" ]] then echo "Dependency whl files have been built" exit 1 diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index fba602a2..24583b67 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -38,7 +38,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["macos-12", "macos-13", "macos-14"]' - python-version: '["3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' + python-version: '["3.10", "3.11", "3.12", "3.13", "installed"]' include: > [ {"os": "macos-12", "python-version": "3.8"}, @@ -52,7 +52,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["ubuntu-20.04", "ubuntu-22.04", "ubuntu-24.04"]' - python-version: '["3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' + python-version: '["3.9", "3.10", "3.11", "3.12", "3.13", "installed"]' include: > [ {"os": "ubuntu-20.04", "python-version": "3.7"}, @@ -65,7 +65,7 @@ jobs: uses: "./.github/workflows/test-os.yml" with: os: '["windows-2019", "windows-2022"]' - python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-beta.3", "installed"]' + python-version: '["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "installed"]' include: '[{"os": "windows-2019", "python-version": "3.7"}]' publish: