Skip to content

Commit

Permalink
ci: use Python 3.13 final + default to Python 3.13 (#883)
Browse files Browse the repository at this point in the history
* ci: use Python 3.13 final

* ci: default to Python 3.13

* ci: match coverage against `env.PYTHON_VERSION`
  • Loading branch information
mkniewallner authored Oct 8, 2024
1 parent 5f407ad commit c9f7ae5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

env:
PYTHON_VERSION: '3.12'
PYTHON_VERSION: '3.13'
# renovate: datasource=pypi depName=uv
UV_VERSION: '0.4.18'

Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
image: macos-15
- name: windows
image: windows-2022
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13-dev', 'pypy3.10']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10']
fail-fast: false
runs-on: ${{ matrix.os.image }}
name: ${{ matrix.os.name }} (${{ matrix.python-version }})
Expand Down Expand Up @@ -94,7 +94,7 @@ jobs:
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
if: ${{ matrix.os.name == 'linux' && matrix.python-version == '3.12' }}
if: ${{ matrix.os.name == 'linux' && matrix.python-version == env.PYTHON_VERSION }}

check-docs:
runs-on: ubuntu-24.04
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
PYTHON_VERSION: '3.12'
PYTHON_VERSION: '3.13'
# renovate: datasource=pypi depName=uv
UV_VERSION: '0.4.18'

Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
target: [x86_64, aarch64]
python: ['3.12', 'pypy3.10']
python: ['3.13', 'pypy3.10']
steps:
- name: Check out
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,10 +75,10 @@ jobs:
strategy:
matrix:
target: [x64]
python: ['3.12', 'pypy3.10']
python: ['3.13', 'pypy3.10']
# PyPy doesn't support Windows ARM64.
include:
- python: '3.12'
- python: '3.13'
target: aarch64
steps:
- name: Check out
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
strategy:
matrix:
target: [x86_64, aarch64]
python: ['3.12', 'pypy3.10']
python: ['3.13', 'pypy3.10']
steps:
- name: Check out
uses: actions/checkout@v4
Expand Down

0 comments on commit c9f7ae5

Please sign in to comment.