Commit 5f767ae
Support Python 3.14 (#2871)
* Bump sphinx from 8.2.3 to 9.1.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 8.2.3 to 9.1.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](sphinx-doc/sphinx@v8.2.3...v9.1.0)
---
updated-dependencies:
- dependency-name: sphinx
dependency-version: 9.1.0
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump doc8
* Support Python 3.14
* Don't bump Sphinx
* Fix secrets file lookup for multi-Python matrix
Use modulo arithmetic to map job index to secrets file index,
ensuring that adding Python versions to the matrix doesn't break
the secrets file lookup. Each test pattern maps to the same
secrets file regardless of Python version.
The number of secrets files is determined dynamically from
the extracted tarball.
* Support only 3.14
* Fix ruff
* Revert "Fix ruff"
This reverts commit 9a342f4.
* Ignore ruff TC rules until beartype supports TYPE_CHECKING
Beartype requires imports to be available at runtime, not just under
`if TYPE_CHECKING`. See beartype/beartype#594
for when beartype 0.23 will add support for TYPE_CHECKING imports.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Remove runtime beartype application to test functions
Python 3.14's deferred annotation evaluation (PEP 649) causes
`_Stringifier.__format__` to raise a TypeError when beartype
inspects function signatures at test collection time.
This is a workaround until beartype 0.23 is released with full
Python 3.14 support.
See:
- beartype/beartype#594
- beartype/beartype#440
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Drop pytest-beartype-tests due to Python 3.14 annotation issue
* [pre-commit.ci lite] apply automatic fixes
* Apply ruff format (PEP 758 except syntax)
* Restore pytest-beartype-tests; disable plugin in repeated pytest.main calls
* Ignore .claude/scheduled_tasks.lock
* Add 'stringify' to spelling dict
* Use real subprocess for pytest collection to avoid plugin state accumulation
* Add new tests to CI matrix; exclude meta-tests from collected-once check
* Restore Python 3.14 in test workflow matrix after merge
* Use real subprocess in test_custom_linters to avoid beartype state accumulation
* Add 'subprocess' to spelling dict
* Re-apply subprocess collection: in-process approach fails on Python 3.14 full-suite runs
* Bump pytest-beartype-tests to 2026.4.26; revert subprocess workaround in ci/test_custom_linters.py
* Run coverage tool on Python 3.14 to parse PEP 758 except syntax
* Set Python 3.14 via setup-uv python-version on coverage job
* Drop comment on coverage job python-version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>1 parent 39e5296 commit 5f767ae
9 files changed
Lines changed: 22 additions & 13 deletions
File tree
- .github/workflows
- src/mock_vws
- _flask_server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
| 194 | + | |
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
| 294 | + | |
294 | 295 | | |
295 | 296 | | |
296 | 297 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
169 | 175 | | |
170 | 176 | | |
171 | 177 | | |
| |||
330 | 336 | | |
331 | 337 | | |
332 | 338 | | |
333 | | - | |
| 339 | + | |
334 | 340 | | |
335 | 341 | | |
336 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments