Commit e28e66e
authored
Also test CPython 3.14 (V2) (zauberzeug#5243)
### Motivation
Python 3.14 is released!
https://www.python.org/downloads/release/python-3140/
**Real motivation: zauberzeug#5237 did not work out...**
### Implementation
This pull request adds support for Python 3.14 to the project and
addresses compatibility issues with certain dependencies. The most
important changes are grouped below:
**Python 3.14 support and dependency compatibility:**
* Added Python 3.14 to the test matrix in the GitHub Actions workflow to
ensure CI coverage for the new version.
* Updated the `vbuild` dependency in `pyproject.toml` to use a specific
Git commit for Python 3.14, as the released version is not yet
compatible.
* Added a conditional requirement for `pydantic` in `pyproject.toml` to
exclude versions 2.0–2.11 for Python 3.14 and above, since these
versions are incompatible.
**Test script adjustments:**
* Modified `test_startup.sh` to skip the `examples/ai_interface` test
when running under Python 3.14, due to its reliance on Pydantic V1 which
is not compatible with Python 3.14.
### Progress
- [x] I chose a meaningful title that completes the sentence: "If
applied, this PR will..."
- [x] The implementation is complete (We'll stare at the pipeline to
make that conclusion).
- [x] Pytests have been added (or are not necessary).
- [x] Documentation has been added (or is not necessary).
---------
Co-authored-by: evnchn <>1 parent 1bb276c commit e28e66e
File tree
6 files changed
+234
-172
lines changed- .github/workflows
- nicegui
- tests
6 files changed
+234
-172
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | | - | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
0 commit comments