Skip to content

Commit f7916cd

Browse files
committed
Update versions in CI
1 parent 5a668c9 commit f7916cd

File tree

6 files changed

+20
-21
lines changed

6 files changed

+20
-21
lines changed

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/setup-python@v5
5454
name: Install Python
5555
with:
56-
python-version: '3.12'
56+
python-version: '3.13'
5757

5858
- name: Build sdist
5959
run: |

.github/workflows/run-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
python-version: [
22-
'3.8', '3.9', '3.10', '3.11', '3.12',
23-
'3.13-dev', 'pypy3.10',
22+
'3.9', '3.10', '3.11', '3.12', '3.13',
23+
'pypy3.10',
2424
]
2525

2626
steps:

.github/workflows/run-tools.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- uses: actions/checkout@v4
2222
with:
2323
submodules: true
24-
- name: Set up Python 3.12
24+
- name: Set up Python 3.13
2525
uses: actions/setup-python@v5
2626
with:
27-
python-version: '3.12'
27+
python-version: '3.13'
2828
cache: 'pip'
2929
cache-dependency-path: |
3030
test-requirements.txt
@@ -46,10 +46,6 @@ jobs:
4646
if: (success() || failure()) && steps.install_deps.outcome == 'success'
4747

4848
# Check every version.
49-
- name: MyPy - Python 3.8
50-
run: |
51-
mypy --python-version 3.8 src/srctools/ type_tests/
52-
if: (success() || failure()) && steps.install_deps.outcome == 'success'
5349
- name: MyPy - Python 3.9
5450
run: |
5551
mypy --python-version 3.9 src/srctools/ type_tests/
@@ -66,11 +62,11 @@ jobs:
6662
run: |
6763
mypy --python-version 3.12 src/srctools/ type_tests/
6864
if: (success() || failure()) && steps.install_deps.outcome == 'success'
69-
70-
- name: Pyright - Python 3.8
65+
- name: MyPy - Python 3.13
7166
run: |
72-
pyright --pythonversion 3.8
67+
mypy --python-version 3.13 src/srctools/ type_tests/
7368
if: (success() || failure()) && steps.install_deps.outcome == 'success'
69+
7470
- name: Pyright - Python 3.9
7571
run: |
7672
pyright --pythonversion 3.9
@@ -87,3 +83,7 @@ jobs:
8783
run: |
8884
pyright --pythonversion 3.12
8985
if: (success() || failure()) && steps.install_deps.outcome == 'success'
86+
- name: Pyright - Python 3.13
87+
run: |
88+
pyright --pythonversion 3.13
89+
if: (success() || failure()) && steps.install_deps.outcome == 'success'

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,11 +105,12 @@ exclude = [
105105
stubPath = "src/" # Use our module for stubs.
106106
# We want to do conversions when setting.
107107
reportPropertyTypeMismatch = false
108-
pythonVersion = "3.8"
108+
pythonVersion = "3.9"
109109
# We omit PIL in the tools CI, not necessary.
110110
reportMissingModuleSource = false
111111

112112
[tool.mypy]
113+
local_partial_types = true
113114
warn_unused_ignores = true
114115
warn_redundant_casts = true
115116
warn_return_any = true

test-requirements.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@ pytest>=7.3.2
22
pytest-datadir>=1.4.1
33
pytest-regressions>=2.4.2
44
dirty_equals >= 0.6
5-
# 10.0+ removes 32-bit wheels.
6-
Pillow == 9.5.0; python_version == '3.8'
7-
Pillow > 10.0.0; python_version > '3.8'
5+
Pillow >= 11.0.0

tool-requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Static analysis test requirements.
2-
types-Pillow>=8.3.0
3-
types-pyinstaller>=5.7.0
4-
mypy == 1.13.0
5-
pyright == 1.1.390
6-
ruff == 0.8.1
2+
types-Pillow>=11.0.0
3+
types-pyinstaller>=6.11.0
4+
mypy == 1.14.0
5+
pyright == 1.1.391
6+
ruff == 0.8.4

0 commit comments

Comments
 (0)