From c62f6ada671b72d5c27b2c7797481147bc1ec707 Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Thu, 26 May 2022 09:41:12 +0000 Subject: [PATCH 1/3] use nightly for 3.11 --- .github/workflows/main.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1127c371..965b77cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,16 +30,19 @@ jobs: python: pypy-3.7 - os: macos-latest python: "3.10" - # XXX: We should be testing 3.10, but for some reason setuptools can't - # seem to find the runner's C compiler for new wheel builds... - os: windows-latest - python: "3.9" + python: "3.10" steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 + if: "!endsWith(matrix.python-version, '-dev')" with: python-version: ${{ matrix.python }} + - uses: deadsnakes/action@v2.1.1 + if: endsWith(matrix.python-version, '-dev') + with: + python-version: ${{ matrix.python-version }} - name: Install # pyperformance must be installed: # pyperformance/tests/test_compare.py imports it From 3db9f73ad68bd58eb5dd12b46c227acc33841fa1 Mon Sep 17 00:00:00 2001 From: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Date: Thu, 26 May 2022 09:45:21 +0000 Subject: [PATCH 2/3] fix yaml --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 965b77cc..ca606143 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -36,13 +36,13 @@ jobs: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python }} uses: actions/setup-python@v2 - if: "!endsWith(matrix.python-version, '-dev')" + if: "!endsWith(matrix.python, '-dev')" with: python-version: ${{ matrix.python }} - uses: deadsnakes/action@v2.1.1 - if: endsWith(matrix.python-version, '-dev') + if: "endsWith(matrix.python, '-dev')" with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python }} - name: Install # pyperformance must be installed: # pyperformance/tests/test_compare.py imports it From 8741703dc7e029378440ae346186bf6f7ab01a90 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 May 2022 09:16:20 -0700 Subject: [PATCH 3/3] Add name field to deadsnakes action --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca606143..c9ceb086 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,6 +39,7 @@ jobs: if: "!endsWith(matrix.python, '-dev')" with: python-version: ${{ matrix.python }} + - name: Set up Python ${{ matrix.python }} using deadsnakes - uses: deadsnakes/action@v2.1.1 if: "endsWith(matrix.python, '-dev')" with: