Commit 4086f7a
committed
ci: split a 3.10 compat job so the framework integration tests actually run (#27)
The release workflow was the repository's only CI and pinned Python 3.10. The
framework integration tests added for entrypoint detection depend on flask,
fastapi, celery and click, which are gated `python_version >= '3.11'` for a real
reason: on 3.10 ray==2.0.0 pins click<=8.0.4 while celery>=5.3 needs
click>=8.1.2. So on 3.10 all four tests hit `pytest.importorskip` and skip
silently -- the decorator-rule regression they exist to catch could ship with a
green suite, which is exactly how that regression reached the final review in
the first place.
Bumping the release job to 3.12 alone would have dropped the only CI exercise of
the `python_version < '3.11'` half of the dependency matrix, and there are seven
such branches (ray, jedi, networkx, pydantic, rich, typer, typing-extensions).
So: a `compat` job runs the suite on 3.10, the release job runs on 3.12 where the
integration tests install, and the release gates on compat. Both halves of the
matrix stay covered. The package is pure-Python and `requires-python` is
unchanged, so the built wheel is unaffected by the interpreter bump.1 parent b6c082e commit 4086f7a
1 file changed
Lines changed: 35 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
16 | 22 | | |
17 | | - | |
18 | 23 | | |
19 | 24 | | |
20 | 25 | | |
| |||
29 | 34 | | |
30 | 35 | | |
31 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
32 | 65 | | |
33 | 66 | | |
34 | 67 | | |
| |||
0 commit comments