From f484ef8884a104f3c5aa6b255f6cdefc8ec9e8ab Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Fri, 8 Sep 2023 18:06:44 +0200 Subject: [PATCH] GitHub Actions: setup-python allow-prereleases for Py3.12 (#207) --- .github/workflows/node-gyp.yml | 3 ++- .github/workflows/python_tests.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/node-gyp.yml b/.github/workflows/node-gyp.yml index 13bd52bd..edf68773 100644 --- a/.github/workflows/node-gyp.yml +++ b/.github/workflows/node-gyp.yml @@ -11,7 +11,7 @@ jobs: fail-fast: false matrix: os: [macos-latest, ubuntu-latest, windows-latest] - python: ["3.8", "3.x", "3.12-dev"] + python: ["3.8", "3.x", "3.12"] runs-on: ${{ matrix.os }} steps: @@ -30,6 +30,7 @@ jobs: - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} + allow-prereleases: true - name: Install Python dependencies run: | cd gyp-next diff --git a/.github/workflows/python_tests.yml b/.github/workflows/python_tests.yml index 1e0dde5f..0f252b9e 100644 --- a/.github/workflows/python_tests.yml +++ b/.github/workflows/python_tests.yml @@ -16,13 +16,14 @@ jobs: max-parallel: 5 matrix: os: [macos-latest, ubuntu-latest] # , windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11", "3.12-dev"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Install dependencies run: | python -m pip install --upgrade pip setuptools