Skip to content

Commit

Permalink
Switch to Python 3.12 by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
TeamSpen210 committed Dec 3, 2023
1 parent 8ada6da commit 6da5b28
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
fetch-depth: 0

- name: Build wheels
uses: pypa/cibuildwheel@v2.12.1
uses: pypa/cibuildwheel@v2.12.2

- uses: actions/upload-artifact@v3
with:
Expand All @@ -51,7 +51,7 @@ jobs:
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.11'
python-version: '3.12'

- name: Build sdist
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev', 'pypy3.8', 'pypy3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13-dev', 'pypy3.8', 'pypy3.9']

steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/run-tools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.12'
cache: 'pip'
cache-dependency-path: |
test-requirements.txt
Expand Down Expand Up @@ -62,3 +62,7 @@ jobs:
run: |
mypy --python-version 3.11 src/srctools/ type_tests/
if: (success() || failure()) && steps.install_deps.outcome == 'success'
- name: MyPy - Python 3.12
run: |
mypy --python-version 3.12 src/srctools/ type_tests/
if: (success() || failure()) && steps.install_deps.outcome == 'success'

0 comments on commit 6da5b28

Please sign in to comment.