Add Python 3.13, 3.14, and free threaded 3.14t to the testing#55
Add Python 3.13, 3.14, and free threaded 3.14t to the testing#55
Conversation
Updated Python versions in CI workflow and upgraded actions.
|
Is there any point in testing against 3.14t? |
I should have the permissions to do that. I'm not sure where these are coming from though – I haven't worked much with Trio's CI.
The extra CI jobs aren't free in terms of computing capacity, and may delay other jobs from being started. I'd be willing to include 3.14t only if there's demonstrable benefit from doing so, but the nature of sniffio is such that free-threading doesn't really come into play. |
|
Correction: I don't seem to have the administrative privileges to turn off the required jobs. |
|
@A5rocks ping – retiring the old jobs is indeed in order. |
This gives me a 404. |
|
Given:
I think that testing on free-threaded Python would be appropriate (it passes) but I have removed it for now. |
|
Actually, given that it uses thread-locals, testing against 3.14t could be justified. So, feel free to add it back. |
But is this not already covered by CPython tests? And I do not see any use of threads in the sniffio tests. |
CPython tests, as opposed to what? And I don't know about tests but sniffio does in fact use thread-locals, so 3.14t is borderline justifiable to test against. |
|
Can this be merged, or do those Required tags next to the Python 3.7 tests block merging? |
sniffio uses instances of the |
We're not testing that |
|
The current code uses the I would be happy to drop Python 3.14 (and 3.8, 3.9) and keep 3.14t as the safest path, which reduces the number of CI test runs. |
I'd like other maintainers to share their opinions on that. |
Done. I've kept 3.8 and 3.9 for now since they still work, but if anyone does the obvious followup and switches CI to use https://github.com/re-actors/alls-green (which we use in Trio for exactly this reason) I'll remove the others. |
| python-version: ${{ matrix.python }} | ||
| cache: pip | ||
| cache-dependency-path: test-requirements.txt | ||
| - name: Setup python (dev) |
There was a problem hiding this comment.
Another potential followup: setup-python supports -dev versions now, so this step can be removed.
(CI is sisyphean...)
There was a problem hiding this comment.
Do you intend to also get rid of those non-standard requirements files in favor of dependency groups? I'd be happy to send a PR.
There was a problem hiding this comment.
I would be fine with that, yeah. (I hadn't exactly intended that since I had thought we were using pip-compile! But we're not, so...)



https://devguide.python.org/versions