ci: Update Python version matrix in CI workflows to exclude 3.13 (#5305)

ci: Update Python versions in GitHub Actions workflows to remove 3.13

- Modified the Python version matrix in both `nightly_build.yml` and `python_test.yml` to exclude Python 3.13, ensuring compatibility and streamlining the testing process.
- This change enhances the clarity of the supported Python versions in the CI configuration.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-12-17 09:07:31 -03:00 • committed by GitHub
commit 03d64d21b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -145,7 +145,7 @@ jobs:
needs: create-nightly-tag needs: create-nightly-tag
uses: ./.github/workflows/python_test.yml uses: ./.github/workflows/python_test.yml
with: with:
python-versions: '["3.10", "3.11", "3.12", "3.13"]' python-versions: '["3.10", "3.11", "3.12"]'
# Not making nightly builds dependent on integration test success # Not making nightly builds dependent on integration test success
# due to inherent flakiness of 3rd party integrations # due to inherent flakiness of 3rd party integrations

View file

@ -37,7 +37,7 @@ jobs:
UV_CACHE_DIR: /tmp/.uv-cache UV_CACHE_DIR: /tmp/.uv-cache
strategy: strategy:
matrix: matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]' ) }} python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]' ) }}
splitCount: [5] splitCount: [5]
group: [1, 2, 3, 4, 5] group: [1, 2, 3, 4, 5]
steps: steps:
@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]' ) }} python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]' ) }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
@ -114,7 +114,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12", "3.13"]') }} python-version: ${{ fromJson(inputs.python-versions || '["3.10", "3.11", "3.12"]') }}
steps: steps:
- name: Check out the code at a specific ref - name: Check out the code at a specific ref
uses: actions/checkout@v4 uses: actions/checkout@v4