Repository navigation
Commit 977267d
authored
chore(python): test on 3.12 through 3.14; floor moves to 3.12 (#256)
## Summary
Tests the client on every interpreter it supports, 3.12 through 3.14, in
a fail-fast-off matrix like the Node matrix in the TypeScript client,
and moves the floor from 3.11 to 3.12 now that robosystems itself runs
on 3.14. Python 3.10 reached end of life this month and 3.11 has been
security-only since 2024; PyPI's interpreter breakdown for this package
shows 3.11 at about an eighth of version-tagged installs, which this PR
trades for a floor the scientific stack is converging on.
## Changes
- **Packaging** — `requires-python` 3.11 → 3.12; the 3.11 classifier
dropped and 3.14 added; basedpyright's `pythonVersion` now the floor
(3.12) so the typecheck is against what we promise, not what we develop
on.
- **CI** — `test.yml` runs the whole job (pytest, ruff, basedpyright,
GraphQL codegen drift gate) under `matrix.python-version: ['3.12',
'3.13', '3.14']`, `fail-fast: false`. The checks are now named `test
(3.12)`, `test (3.13)`, `test (3.14)`; the Main Branch ruleset's
required check moves from `test` to those three, as the TypeScript
client's does for `test (22)` / `test (24)`.
- **Release build** — `create-release.yml` builds and publishes on 3.14.
No generated code, facade or model changed.
## Compatibility
INTERNAL to the emitted surface. Packaging note for the release notes: a
consumer on Python 3.11 keeps resolving to 2.14.2 and receives no later
release.
## Testing
Suite run locally in scratch venvs on 3.12, 3.13 and 3.14 and on the old
3.11 floor: 688 passed, 17 skipped on each. `ruff check`, `ruff format
--check` and `basedpyright` clean on the new lock with the 3.12
typecheck target. The codegen drift gate was not run locally; CI runs it
on all three legs. No distribution built.
🤖 Generated with [Claude Code](https://claude.com/claude-code)3 files changed
Lines changed: 11 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments