From 8f1af40bc2c3e03acddc33c7007334e42a5a8dd5 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Wed, 9 Oct 2024 17:47:24 +0530 Subject: [PATCH 01/11] ubuntu24-label-changes --- .github/workflows/e2e-cache.yml | 10 ++-- .github/workflows/e2e-tests.yml | 46 +++++++--------- .../workflows/release-new-action-version.yml | 2 +- .github/workflows/test-graalpy.yml | 6 +-- .github/workflows/test-pypy.yml | 8 +-- .github/workflows/test-python.yml | 54 +++++++------------ 6 files changed, 51 insertions(+), 75 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index 0c73a0b0..d6713a37 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -21,7 +21,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -39,7 +39,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -75,7 +75,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9'] steps: - uses: actions/checkout@v4 @@ -97,7 +97,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 @@ -116,7 +116,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] python-version: ['3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index a14739de..8a8c31c1 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -17,24 +17,18 @@ jobs: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ubuntu-20.04, windows-latest] + operating-system: + [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 - - name: Run with setup-python 3.8 + - name: Run with setup-python 3.12 uses: ./ with: - python-version: 3.8 - - name: Verify 3.8 - run: python __tests__/verify-python.py 3.8 - - - name: Run with setup-python 3.8.10 - uses: ./ - with: - python-version: 3.8.10 - - name: Verify 3.8.10 - run: python __tests__/verify-python.py 3.8.10 + python-version: 3.12 + - name: Verify 3.12 + run: python __tests__/verify-python.py 3.12 - name: Run with setup-python 3.9.13 uses: ./ @@ -43,7 +37,7 @@ jobs: - name: Verify 3.9.13 run: python __tests__/verify-python.py 3.9.13 - - name: Run with setup-python 3.9.13 + - name: Run with setup-python 3.10.11 uses: ./ with: python-version: 3.10.11 @@ -64,29 +58,29 @@ jobs: - name: Verify 3.12.4 run: python __tests__/verify-python.py 3.12.4 - - name: Run with setup-python 3.10 + - name: Run with setup-python 3.10.11 id: cp310 uses: ./ with: - python-version: '3.10' - - name: Verify 3.10 - run: python __tests__/verify-python.py 3.10 - - name: Run python-path sample 3.10 + python-version: '3.10.11' + - name: Verify 3.10.11 + run: python __tests__/verify-python.py 3.10.11 + - name: Run python-path sample 3.10.11 run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version - - name: Run with setup-python ==3.8 + - name: Run with setup-python ==3.12 uses: ./ with: - python-version: '==3.8' - - name: Verify ==3.8 - run: python __tests__/verify-python.py 3.8 + python-version: '==3.12' + - name: Verify ==3.12 + run: python __tests__/verify-python.py 3.12 - - name: Run with setup-python <3.11 + - name: Run with setup-python <3.13 uses: ./ with: - python-version: '<3.11' - - name: Verify <3.11 - run: python __tests__/verify-python.py 3.10 + python-version: '<3.13' + - name: Verify <3.13 + run: python __tests__/verify-python.py 3.12 - name: Test Raw Endpoint Access run: | curl -L https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json | jq empty diff --git a/.github/workflows/release-new-action-version.yml b/.github/workflows/release-new-action-version.yml index d8171ef8..7e5de347 100644 --- a/.github/workflows/release-new-action-version.yml +++ b/.github/workflows/release-new-action-version.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Update the ${{ env.TAG_NAME }} tag - uses: actions/publish-action@v0.2.2 + uses: actions/publish-action@v0.3.0 with: source-tag: ${{ env.TAG_NAME }} slack-webhook: ${{ secrets.SLACK_WEBHOOK }} diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index fe8f497e..5f972aa3 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] graalpy: - 'graalpy-23.0' - 'graalpy-22.3' @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] graalpy: ['graalpy23.0', 'graalpy22.3'] steps: @@ -88,7 +88,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup GraalPy and check latest diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index 355bc232..0ee7a929 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] pypy: - 'pypy-2.7' - 'pypy-3.10' @@ -74,7 +74,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] pypy: ['pypy2.7', 'pypy3.9', 'pypy3.10-nightly'] steps: @@ -99,7 +99,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup PyPy and check latest @@ -132,7 +132,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup PyPy and check latest diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index c8aef26c..f9c13e76 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,11 +20,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -58,11 +55,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -99,11 +93,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -138,11 +129,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, '==3.12.3'] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3'] steps: - name: Checkout uses: actions/checkout@v4 @@ -182,11 +170,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: [3.8.10, 3.9.13, 3.10.11, 3.11.9, 3.12.3] - exclude: - - os: ubuntu-22.04 - python: 3.8.10 + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] steps: - name: Checkout uses: actions/checkout@v4 @@ -226,7 +211,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -260,7 +245,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -288,7 +273,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - name: Checkout uses: actions/checkout@v4 @@ -317,8 +302,8 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-latest, windows-latest, ubuntu-20.04, ubuntu-22.04] - python: ['3.8', '3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python: ['3.11', '3.12'] steps: - name: Checkout uses: actions/checkout@v4 @@ -341,8 +326,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + python-version: ['3.11', '3.12'] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -365,16 +350,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest uses: ./ with: python-version: | - 3.8 - 3.9 - 3.10 3.11 3.12 check-latest: true From 9f1b224e9e37a5d71e17d3333481487c1488b5b2 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Wed, 9 Oct 2024 18:01:13 +0530 Subject: [PATCH 02/11] ubuntu24-label-changes --- .github/workflows/test-graalpy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index 5f972aa3..8bbedb3b 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: [ubuntu-latest, macos-latest, macos-13] graalpy: - 'graalpy-23.0' - 'graalpy-22.3' @@ -63,7 +63,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: [ubuntu-latest, macos-latest, macos-13] graalpy: ['graalpy23.0', 'graalpy22.3'] steps: @@ -88,7 +88,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: [ubuntu-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup GraalPy and check latest From 7f96e74d47ce5ab526c1b8e9395db0f304132454 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Thu, 10 Oct 2024 13:12:42 +0530 Subject: [PATCH 03/11] ubuntu24-label-changes --- .github/workflows/e2e-tests.yml | 14 +++++++------- .github/workflows/test-python.yml | 8 ++++---- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 8a8c31c1..83be2909 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -58,15 +58,15 @@ jobs: - name: Verify 3.12.4 run: python __tests__/verify-python.py 3.12.4 - - name: Run with setup-python 3.10.11 - id: cp310 + - name: Run with setup-python 3.12 + id: cp312 uses: ./ with: - python-version: '3.10.11' - - name: Verify 3.10.11 - run: python __tests__/verify-python.py 3.10.11 - - name: Run python-path sample 3.10.11 - run: pipx run --python '${{ steps.cp310.outputs.python-path }}' nox --version + python-version: '3.12' + - name: Verify 3.12 + run: python __tests__/verify-python.py 3.12 + - name: Run python-path sample 3.12 + run: pipx run --python '${{ steps.cp312.outputs.python-path }}' nox --version - name: Run with setup-python ==3.12 uses: ./ diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index f9c13e76..4904df79 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -206,7 +206,7 @@ jobs: run: python -c 'import math; print(math.factorial(5))' setup-pre-release-version-from-manifest: - name: Setup 3.13.0-alpha.6 ${{ matrix.os }} + name: Setup 3.13.0-beta.1 ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -216,11 +216,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.13.0-alpha.6 + - name: setup-python 3.13.0-beta.1 id: setup-python uses: ./ with: - python-version: '3.13.0-alpha.6' + python-version: '3.13.0-beta.1' - name: Check python-path run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}' @@ -229,7 +229,7 @@ jobs: - name: Validate version run: | $pythonVersion = (python --version) - if ("Python 3.13.0a6" -ne "$pythonVersion"){ + if ("Python 3.13.0b1" -ne "$pythonVersion"){ Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6" exit 1 } From 1188c844e3108899f8cf5362ac1b3048506935cc Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Thu, 10 Oct 2024 13:28:12 +0530 Subject: [PATCH 04/11] ubuntu24-label-changes --- .github/workflows/e2e-tests.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 83be2909..924ceb01 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -58,15 +58,15 @@ jobs: - name: Verify 3.12.4 run: python __tests__/verify-python.py 3.12.4 - - name: Run with setup-python 3.12 - id: cp312 + - name: Run with setup-python 3.11.9 + id: cp311 uses: ./ with: - python-version: '3.12' - - name: Verify 3.12 - run: python __tests__/verify-python.py 3.12 - - name: Run python-path sample 3.12 - run: pipx run --python '${{ steps.cp312.outputs.python-path }}' nox --version + python-version: '3.11.9' + - name: Verify 3.11.9 + run: python __tests__/verify-python.py 3.11.9 + - name: Run python-path sample 3.11.9 + run: pipx run --python '${{ steps.cp311.outputs.python-path }}' nox --version - name: Run with setup-python ==3.12 uses: ./ From 80ab5a6221eaa02ba72f719ca3e15aca0af68693 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Thu, 10 Oct 2024 17:53:49 +0530 Subject: [PATCH 05/11] ubuntu24-label-changes --- .github/workflows/test-python.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 4904df79..c0a7eacc 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -240,49 +240,49 @@ jobs: run: python -c 'import math; print(math.factorial(5))' setup-dev-version: - name: Setup 3.13-dev ${{ matrix.os }} + name: Setup 3.14-dev ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: [ubuntu-latest] steps: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.13-dev + - name: setup-python 3.14-dev id: setup-python uses: ./ with: - python-version: '3.13-dev' + python-version: '3.14-dev' - name: Check python-path run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}' shell: bash - name: Validate version - run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.13.') }} + run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.14.') }} shell: bash - name: Run simple code run: python -c 'import math; print(math.factorial(5))' setup-prerelease-version: - name: Setup 3.13 ${{ matrix.os }} + name: Setup 3.14 ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: [ubuntu-latest] steps: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.13 + - name: setup-python 3.14 id: setup-python uses: ./ with: - python-version: '3.13' + python-version: '3.14' allow-prereleases: true - name: Check python-path @@ -290,7 +290,7 @@ jobs: shell: bash - name: Validate version - run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.13.') }} + run: ${{ startsWith(steps.setup-python.outputs.python-version, '3.14.') }} shell: bash - name: Run simple code From d1c8c0117897a5b66ffb0ac1b188180c3596c20b Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Fri, 11 Oct 2024 15:57:13 +0530 Subject: [PATCH 06/11] updated versions and os --- .github/workflows/e2e-cache.yml | 10 +-- .github/workflows/e2e-tests.yml | 39 ++++++----- .github/workflows/test-graalpy.yml | 14 ++-- .github/workflows/test-pypy.yml | 10 ++- .github/workflows/test-python.yml | 109 ++++++++++++++++++++++++----- 5 files changed, 135 insertions(+), 47 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index d6713a37..df1339c9 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.9', 'pypy-3.9-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -40,7 +40,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.9', 'pypy-3.9-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -76,7 +76,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.9', 'pypy-3.9'] + python-version: ['3.10', 'pypy-3.10'] steps: - uses: actions/checkout@v4 - name: Install poetry @@ -98,7 +98,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.9', 'pypy-3.9-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -117,7 +117,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.9', 'pypy-3.9-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 924ceb01..8263e7ad 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -18,18 +18,18 @@ jobs: strategy: matrix: operating-system: - [ubuntu-latest, windows-latest, macos-latest, macos-13] + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] steps: - name: Checkout uses: actions/checkout@v4 - - name: Run with setup-python 3.12 - uses: ./ - with: - python-version: 3.12 - - name: Verify 3.12 - run: python __tests__/verify-python.py 3.12 - - name: Run with setup-python 3.9.13 uses: ./ with: @@ -51,12 +51,19 @@ jobs: - name: Verify 3.11.9 run: python __tests__/verify-python.py 3.11.9 - - name: Run with setup-python 3.12.4 + - name: Run with setup-python 3.12.7 uses: ./ with: - python-version: 3.12.4 - - name: Verify 3.12.4 - run: python __tests__/verify-python.py 3.12.4 + python-version: 3.12.7 + - name: Verify 3.12.7 + run: python __tests__/verify-python.py 3.12.7 + + - name: Run with setup-python 3.13.0 + uses: ./ + with: + python-version: 3.13.0 + - name: Verify 3.13.0 + run: python __tests__/verify-python.py 3.13.0 - name: Run with setup-python 3.11.9 id: cp311 @@ -68,12 +75,12 @@ jobs: - name: Run python-path sample 3.11.9 run: pipx run --python '${{ steps.cp311.outputs.python-path }}' nox --version - - name: Run with setup-python ==3.12 + - name: Run with setup-python ==3.13 uses: ./ with: - python-version: '==3.12' - - name: Verify ==3.12 - run: python __tests__/verify-python.py 3.12 + python-version: '==3.13' + - name: Verify ==3.13 + run: python __tests__/verify-python.py 3.13 - name: Run with setup-python <3.13 uses: ./ diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index 8bbedb3b..04549bc8 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -18,10 +18,10 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, macos-13] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] graalpy: - - 'graalpy-23.0' - - 'graalpy-22.3' + - 'graalpy-24.1' + - 'graalpy-23.1' steps: - name: Checkout @@ -63,8 +63,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, macos-13] - graalpy: ['graalpy23.0', 'graalpy22.3'] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] + graalpy: ['graalpy24.1', 'graalpy23.1'] steps: - name: Checkout @@ -88,14 +88,14 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, macos-13] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup GraalPy and check latest uses: ./ id: graalpy with: - python-version: 'graalpy-23.x' + python-version: 'graalpy-24.x' check-latest: true - name: GraalPy and Python version run: python --version diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index 0ee7a929..46b09585 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -20,7 +20,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] pypy: - 'pypy-2.7' - 'pypy-3.10' diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index c0a7eacc..122a3d67 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -20,8 +20,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] steps: - name: Checkout uses: actions/checkout@v4 @@ -55,8 +63,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] steps: - name: Checkout uses: actions/checkout@v4 @@ -93,8 +109,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] steps: - name: Checkout uses: actions/checkout@v4 @@ -129,8 +153,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3'] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0] steps: - name: Checkout uses: actions/checkout@v4 @@ -170,8 +202,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] steps: - name: Checkout uses: actions/checkout@v4 @@ -211,7 +251,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] steps: - name: Checkout uses: actions/checkout@v4 @@ -302,8 +350,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python: ['3.11', '3.12'] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python: ['3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -326,8 +382,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.11', '3.12'] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] + python-version: ['3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -350,7 +414,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13] + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-24.04, + windows-latest, + macos-latest, + macos-13 + ] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -359,12 +431,13 @@ jobs: python-version: | 3.11 3.12 + 3.13 check-latest: true - name: Validate version run: | $pythonVersion = (python --version) - if ("$pythonVersion" -NotMatch "3.12"){ - Write-Host "The current version is $pythonVersion; expected version is 3.12" + if ("$pythonVersion" -NotMatch "3.13"){ + Write-Host "The current version is $pythonVersion; expected version is 3.13" exit 1 } $pythonVersion From 7234b81688335cb073811bb50180576e3fd3c636 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Mon, 14 Oct 2024 18:14:19 +0530 Subject: [PATCH 07/11] Modified workflows to enhance the testing in accordance with latest changes --- .github/workflows/e2e-cache.yml | 10 +-- .github/workflows/e2e-tests.yml | 51 ++++++++++++--- .github/workflows/test-graalpy.yml | 11 ++-- .github/workflows/test-pypy.yml | 2 +- .github/workflows/test-python.yml | 101 +++++++++++++++++++++++------ 5 files changed, 135 insertions(+), 40 deletions(-) diff --git a/.github/workflows/e2e-cache.yml b/.github/workflows/e2e-cache.yml index df1339c9..a1cd4b04 100644 --- a/.github/workflows/e2e-cache.yml +++ b/.github/workflows/e2e-cache.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.10', 'pypy-3.10-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -40,7 +40,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.10', 'pypy-3.10-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -76,7 +76,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.10', 'pypy-3.10'] + python-version: ['3.10', 'pypy-3.10', '3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 - name: Install poetry @@ -98,7 +98,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.10', 'pypy-3.10-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python @@ -117,7 +117,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest, macos-13] - python-version: ['3.10', 'pypy-3.10-v7.x'] + python-version: ['3.10', 'pypy-3.10-v7.x', '3.9', 'pypy-3.9-v7.x'] steps: - uses: actions/checkout@v4 - name: Setup Python diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index 8263e7ad..b216d1d4 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -12,6 +12,41 @@ on: workflow_dispatch: jobs: + test-setup-python-older: + name: Test setup-python old versions + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: + [ + ubuntu-20.04, + ubuntu-22.04, + ubuntu-latest, + windows-latest, + macos-latest, + macos-13 + ] + python: [3.8.10, 3.8.18] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Run with setup-python ${{ matrix.python }} + id: setup-python + uses: ./ + with: + python-version: ${{ matrix.python }} + - name: Verify ${{ matrix.python }} + run: python __tests__/verify-python.py ${{ matrix.python }} test-setup-python: name: Test setup-python runs-on: ${{ matrix.operating-system }} @@ -21,7 +56,7 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 @@ -65,15 +100,15 @@ jobs: - name: Verify 3.13.0 run: python __tests__/verify-python.py 3.13.0 - - name: Run with setup-python 3.11.9 - id: cp311 + - name: Run with setup-python 3.13 + id: cp313 uses: ./ with: - python-version: '3.11.9' - - name: Verify 3.11.9 - run: python __tests__/verify-python.py 3.11.9 - - name: Run python-path sample 3.11.9 - run: pipx run --python '${{ steps.cp311.outputs.python-path }}' nox --version + python-version: '3.13' + - name: Verify 3.13 + run: python __tests__/verify-python.py 3.13 + - name: Run python-path sample 3.13 + run: pipx run --python '${{ steps.cp313.outputs.python-path }}' nox --version - name: Run with setup-python ==3.13 uses: ./ diff --git a/.github/workflows/test-graalpy.yml b/.github/workflows/test-graalpy.yml index 04549bc8..35a74f87 100644 --- a/.github/workflows/test-graalpy.yml +++ b/.github/workflows/test-graalpy.yml @@ -18,11 +18,12 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13] graalpy: - 'graalpy-24.1' - 'graalpy-23.1' - + - 'graalpy-23.0' + - 'graalpy-22.3' steps: - name: Checkout uses: actions/checkout@v4 @@ -63,8 +64,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] - graalpy: ['graalpy24.1', 'graalpy23.1'] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13] + graalpy: ['graalpy24.1', 'graalpy23.1', 'graalpy23.0', 'graalpy22.3'] steps: - name: Checkout @@ -88,7 +89,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-20.04, ubuntu-22.04, ubuntu-24.04, macos-latest, macos-13] + os: [ubuntu-20.04, ubuntu-22.04, ubuntu-latest, macos-latest, macos-13] steps: - uses: actions/checkout@v4 - name: Setup GraalPy and check latest diff --git a/.github/workflows/test-pypy.yml b/.github/workflows/test-pypy.yml index 46b09585..2562b5fc 100644 --- a/.github/workflows/test-pypy.yml +++ b/.github/workflows/test-pypy.yml @@ -24,7 +24,7 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 122a3d67..aa4cf865 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -24,12 +24,21 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' steps: - name: Checkout uses: actions/checkout@v4 @@ -67,12 +76,21 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' steps: - name: Checkout uses: actions/checkout@v4 @@ -113,12 +131,21 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' steps: - name: Checkout uses: actions/checkout@v4 @@ -157,12 +184,21 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: [3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0] + python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, '==3.12.3', 3.13.0] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' steps: - name: Checkout uses: actions/checkout@v4 @@ -206,12 +242,21 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: [3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + python: [3.8.10, 3.8.18, 3.9.13, 3.10.11, 3.11.9, 3.12.3, 3.13.0] + exclude: + - os: ubuntu-22.04 + python: '3.8.10' + - os: ubuntu-latest + python: '3.8.10' + - os: macos-latest + python: '3.8.18' + - os: windows-latest + python: '3.8.18' steps: - name: Checkout uses: actions/checkout@v4 @@ -255,7 +300,7 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 @@ -293,7 +338,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] steps: - name: Checkout uses: actions/checkout@v4 @@ -321,7 +366,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] steps: - name: Checkout uses: actions/checkout@v4 @@ -354,12 +399,12 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python: ['3.11', '3.12', '3.13'] + python: ['3.8', '3.9', '3.11', '3.12', '3.13'] steps: - name: Checkout uses: actions/checkout@v4 @@ -386,12 +431,27 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 ] - python-version: ['3.11', '3.12', '3.13'] + python: ['3.8', '3.9', '3.11', '3.12', '3.13'] + exclude: + - os: macos-latest + python: '3.8' + - os: windows-latest + python: '3.8' + - os: macos-latest + python: '3.9' + - os: windows-latest + python: '3.9' + - os: macos-latest + python: '3.11' + - os: macos-13 + python: '3.11' + - os: windows-latest + python: '3.11' steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -418,7 +478,7 @@ jobs: [ ubuntu-20.04, ubuntu-22.04, - ubuntu-24.04, + ubuntu-latest, windows-latest, macos-latest, macos-13 @@ -429,15 +489,14 @@ jobs: uses: ./ with: python-version: | - 3.11 3.12 3.13 check-latest: true - name: Validate version run: | $pythonVersion = (python --version) - if ("$pythonVersion" -NotMatch "3.13"){ - Write-Host "The current version is $pythonVersion; expected version is 3.13" + if ("$pythonVersion" -NotMatch "3.12"){ + Write-Host "The current version is $pythonVersion; expected version is 3.12" exit 1 } $pythonVersion From fa256f775aebeedef41f93490ee3b57b990a5a2a Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Mon, 14 Oct 2024 18:28:08 +0530 Subject: [PATCH 08/11] Modified workflows to enhance the testing in accordance with latest changes --- .github/workflows/test-python.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index aa4cf865..06e031e2 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -474,15 +474,7 @@ jobs: strategy: fail-fast: false matrix: - os: - [ - ubuntu-20.04, - ubuntu-22.04, - ubuntu-latest, - windows-latest, - macos-latest, - macos-13 - ] + os: [ubuntu-latest, windows-latest, macos-latest, macos-13, ubuntu-20.04, ubuntu-22.04] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest @@ -495,7 +487,7 @@ jobs: - name: Validate version run: | $pythonVersion = (python --version) - if ("$pythonVersion" -NotMatch "3.12"){ + if ("$pythonVersion" -NotMatch "3.13"){ Write-Host "The current version is $pythonVersion; expected version is 3.12" exit 1 } From 9cf340e3a9ed145e86c018eda78cc9e3b39635a6 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Mon, 14 Oct 2024 18:32:10 +0530 Subject: [PATCH 09/11] ran format-check --- .github/workflows/test-python.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index 06e031e2..d71c8215 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -474,7 +474,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-13, ubuntu-20.04, ubuntu-22.04] + os: + [ + ubuntu-latest, + windows-latest, + macos-latest, + macos-13, + ubuntu-20.04, + ubuntu-22.04 + ] steps: - uses: actions/checkout@v4 - name: Setup Python and check latest From 9f18544227bffe3e6f606f292d6dd6a0c8943a79 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Mon, 14 Oct 2024 20:06:05 +0530 Subject: [PATCH 10/11] modifed message --- .github/workflows/test-python.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index d71c8215..e6503c1d 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -496,7 +496,7 @@ jobs: run: | $pythonVersion = (python --version) if ("$pythonVersion" -NotMatch "3.13"){ - Write-Host "The current version is $pythonVersion; expected version is 3.12" + Write-Host "The current version is $pythonVersion; expected version is 3.13" exit 1 } $pythonVersion From 0bae723ab00ba8a1374f3d8bf255639866d1cf02 Mon Sep 17 00:00:00 2001 From: priya-kinthali Date: Wed, 16 Oct 2024 12:36:14 +0530 Subject: [PATCH 11/11] included testing for 3.14.0-alpha.1 --- .github/workflows/test-python.yml | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test-python.yml b/.github/workflows/test-python.yml index e6503c1d..42505191 100644 --- a/.github/workflows/test-python.yml +++ b/.github/workflows/test-python.yml @@ -291,7 +291,7 @@ jobs: run: python -c 'import math; print(math.factorial(5))' setup-pre-release-version-from-manifest: - name: Setup 3.13.0-beta.1 ${{ matrix.os }} + name: Setup 3.14.0-alpha.1 ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: fail-fast: false @@ -309,11 +309,11 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: setup-python 3.13.0-beta.1 + - name: setup-python 3.14.0-alpha.1 id: setup-python uses: ./ with: - python-version: '3.13.0-beta.1' + python-version: '3.14.0-alpha.1' - name: Check python-path run: ./__tests__/check-python-path.sh '${{ steps.setup-python.outputs.python-path }}' @@ -322,8 +322,8 @@ jobs: - name: Validate version run: | $pythonVersion = (python --version) - if ("Python 3.13.0b1" -ne "$pythonVersion"){ - Write-Host "The current version is $pythonVersion; expected version is 3.13.0a6" + if ("Python 3.14.0a1" -ne "$pythonVersion"){ + Write-Host "The current version is $pythonVersion; expected version is 3.14.0a1" exit 1 } $pythonVersion @@ -338,7 +338,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] + os: + [ + ubuntu-latest, + ubuntu-22.04, + ubuntu-20.04, + windows-latest, + macos-latest, + macos-13 + ] steps: - name: Checkout uses: actions/checkout@v4 @@ -366,7 +374,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04] + os: + [ + ubuntu-latest, + ubuntu-22.04, + ubuntu-20.04, + windows-latest, + macos-latest, + macos-13 + ] steps: - name: Checkout uses: actions/checkout@v4