Repository navigation
Commit 5fe0749
authored
CI: drop Python 3.10 and promote python.supported to
* ci: drop Python 3.10 and promote python.supported to ci/versions.yml
Mirrors the cupy backport (cupy/cupy#10383).
SSoT:
- Add python.supported to ci/versions.yml as the canonical list the wheel
matrix is built across (same shape used by cupy's CI).
- Thread it through ci.yml -> build-wheel.yml via a new python-versions
input; replace the yq read of build-wheel.yml's matrix with ci/versions.yml
in the baseline-reuse check.
3.10 drops:
- Remove 3.10 from python.supported.
- Bump the 9 PY_VER='3.10' rows in ci/test-matrix.yml to '3.11' (each
differs from existing 3.11 rows in LOCAL_CTK or GPU, so no row is lost).
- Drop the 3.10 classifier + bump requires-python to >=3.11 across all
five pyproject.toml files.
- Drop "3.10.*" from cuda_bindings/pixi.toml and cuda_core/pixi.toml python
feature matrices; bump cuda_pathfinder/pixi.toml python >=3.10 to >=3.11.
- Bump ruff.toml target-version and the mypy python_version pins to 3.11.
- Drop the pre-commit tomli marker gate.
Cleanups unlocked by the 3.11 floor:
- Collapse the StrEnum backport shim in cuda_core/cuda/core/typing.py
(3.11+ has enum.StrEnum).
- Drop the tomli build-dep and backports.strenum runtime-dep from
cuda_core/pyproject.toml, and the tomli test dep from the test group.
- Replace tomli try/except fallbacks with a plain import tomllib in
build_hooks.py, toolshed/check_cuda_core_bindings_floor.py, and
cuda_core/tests/test_bindings_floor.py.
pixi.lock refresh:
- Regenerated cuda_bindings/pixi.lock, cuda_core/pixi.lock,
cuda_pathfinder/pixi.lock, benchmarks/cuda_bindings/pixi.lock,
benchmarks/cuda_core/pixi.lock to track the pixi.toml / pyproject.toml
changes.
* ci: delete 3.10 rows from test-matrix; add release-note bullets; fix pre-commit config
- ci/test-matrix.yml: delete the 9 PY_VER='3.10' rows instead of bumping them.
- .pre-commit-config.yaml: the dangling empty 'additional_dependencies:' key under
the check-cuda-core-bindings-floor hook was rejected by pre-commit's schema;
remove the key.
- cuda_bindings 13.5.0 and cuda_core 1.3.0: add a Highlights section with a
bullet noting the Python 3.10 drop (follows the 12.9.5 / 13.1.0 / 0.5.0
precedent for the Python 3.9 drop).
- Create cuda_pathfinder 1.8.4 and cuda_python 13.5.0 release-note placeholders
with the same bullet (the newest existing files in those two projects already
track shipped tags).
* ci: apply ruff fixes unlocked by the Python 3.11 floor
Ruff's py311 target rules now fire on pre-existing code:
- UP017: datetime.timezone.utc -> datetime.UTC (toolshed/check_spdx.py)
- UP036: drop dead sys.version_info >= (3, 11) blocks in
cuda_core/cuda/core/_utils/pycompat.py, cuda_core/tests/test_enum_coverage.py,
cuda_bindings/tests/test_basics.py, and
cuda_python_test_helpers/cuda_python_test_helpers/sample_runner.py.
- UP042: Classification(str, Enum) -> Classification(StrEnum) in
ci/tools/classify_pixi_lockfile_freshness.py.
- I001 and ruff-format cleanups to the files touched above and the
tomli->tomllib drop in the previous commit.
* docs: align CUDAError docstring with error_handling.rst; drop 3.10 from install.rst example
Per Andy's PR review (#3080). The CUDAError docstring in both the .pyi
and the .pyx said the detail is 'appended to the message on older
interpreters', which contradicts the error_handling.rst edit in this
PR. Also drop 'python310' from the cuda_bindings nightly-wheel example
in install.rst (and add 3.15 variants).ci/versions.yml (#3080)1 parent 9b28da6 commit 5fe0749
45 files changed
Lines changed: 1036 additions & 1053 deletions
File tree
- .github/workflows
- benchmarks
- cuda_bindings
- cuda_core
- ci
- tools
- cuda_bindings
- docs/source
- release
- tests
- cuda_core
- cuda/core
- _memory
- _utils
- docs/source
- release
- tests
- cuda_pathfinder
- docs/source
- release
- cuda_python_test_helpers
- cuda_python_test_helpers
- cuda_python
- docs/source/release
- samples/cuda_core/Utilities
- toolshed
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
27 | 31 | | |
28 | 32 | | |
29 | 33 | | |
| |||
47 | 51 | | |
48 | 52 | | |
49 | 53 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 54 | + | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| |||
222 | 228 | | |
223 | 229 | | |
224 | 230 | | |
225 | | - | |
| 231 | + | |
226 | 232 | | |
227 | 233 | | |
228 | 234 | | |
| |||
386 | 392 | | |
387 | 393 | | |
388 | 394 | | |
| 395 | + | |
389 | 396 | | |
390 | 397 | | |
391 | 398 | | |
| |||
413 | 420 | | |
414 | 421 | | |
415 | 422 | | |
| 423 | + | |
416 | 424 | | |
417 | 425 | | |
418 | 426 | | |
| |||
440 | 448 | | |
441 | 449 | | |
442 | 450 | | |
| 451 | + | |
443 | 452 | | |
444 | 453 | | |
445 | 454 | | |
| |||
465 | 474 | | |
466 | 475 | | |
467 | 476 | | |
| 477 | + | |
468 | 478 | | |
469 | 479 | | |
470 | 480 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | 44 | | |
48 | 45 | | |
49 | 46 | | |
| |||
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | 63 | | |
70 | 64 | | |
71 | 65 | | |
| |||
120 | 114 | | |
121 | 115 | | |
122 | 116 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 117 | | |
127 | 118 | | |
128 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | | - | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| |||
0 commit comments