From 47d5f4721c379f51e9d2a6642319a66b1791c026 Mon Sep 17 00:00:00 2001 From: Ewout ter Hoeven Date: Mon, 9 Sep 2024 15:55:01 +0200 Subject: [PATCH] CI: Allow passing pre-release Python versions to setup-python (#10) This allows Python 3.13, which is now in release candidate phase, to also be setup. --- .github/workflows/test-dependents.yml | 1 + .github/workflows/test-pyrepo.yml | 1 + .github/workflows/upload-coverage.yml | 1 + 3 files changed, 3 insertions(+) diff --git a/.github/workflows/test-dependents.yml b/.github/workflows/test-dependents.yml index ac79eb6..bf46ed6 100644 --- a/.github/workflows/test-dependents.yml +++ b/.github/workflows/test-dependents.yml @@ -67,6 +67,7 @@ jobs: uses: actions/setup-python@v5 with: python-version: ${{ inputs.python-version }} + allow-prereleases: true - name: Setup Headless Display if: ${{ inputs.qt != '' }} diff --git a/.github/workflows/test-pyrepo.yml b/.github/workflows/test-pyrepo.yml index 203dc5e..a3d2bb4 100644 --- a/.github/workflows/test-pyrepo.yml +++ b/.github/workflows/test-pyrepo.yml @@ -145,6 +145,7 @@ jobs: python-version: ${{ inputs.python-version }} cache-dependency-path: ${{ inputs.python-cache-dependency-path }} cache: pip + allow-prereleases: true - run: python -m pip install --upgrade pip diff --git a/.github/workflows/upload-coverage.yml b/.github/workflows/upload-coverage.yml index 9842c40..2f888a8 100644 --- a/.github/workflows/upload-coverage.yml +++ b/.github/workflows/upload-coverage.yml @@ -34,6 +34,7 @@ jobs: - uses: actions/setup-python@v5 with: python-version: 3.x + allow-prereleases: true - name: Install coverage run: pip install coverage