CI: try Python 3.15 release candidate (DRAFT — hold until 3.15 GA) - #15105
CI: try Python 3.15 release candidate (DRAFT — hold until 3.15 GA)#15105priya-sundaram-dev wants to merge 2 commits into
Conversation
Closing this pull request as invalid@priya-sundaram-dev, this pull request is being closed as none of the checkboxes have been marked. It is important that you go through the checklist and mark the ones relevant to this pull request. Please read the Contributing guidelines. If you're facing any problem on how to mark a checkbox, please read the following instructions:
NOTE: Only |
|
algorithms-keeper is a bit strict about its checkboxes! |
Let's fix those files in this PR to see if we can get our tests to pass. |
|
I dug into this one and I don't think the fix lives in those files — here's what I found:
So this is an upstream dependency reaching for Two honest paths, and I'd like your call:
I lean (1) first to get the culprit's name on record (it's likely one shared transitive dep, so a single pin probably clears all 10), then (2) only if the fix isn't out yet. Want me to push the diagnostic import so we can see exactly which package it is? |
|
Please rebase to resolve the git conflicts. Could |
Point CI workflows at the 3.15 RC (allow-prereleases already enabled) and add the 3.15 trove classifier, to document which dependencies and tests are not yet ready. Must stay in DRAFT until Python 3.15 has a production release (early October). Requested in TheAlgorithms#15081.
30f3cfe to
c39032d
Compare
for more information, see https://pre-commit.ci
|
Rebased onto On the
So swapping httpx wouldn't fix it — the Concretely: bump the floor to |
|
—> from typing import Self
https://docs.python.org/3/library/typing.html#typing.Self was added in Python 3.11. We should have not been ignoring Are we using the most current version of bs4? |
|
Good catches on both — the real fix isn't a bigger
bs4 — no, we're a bit behind. After #15113 lands the only remaining 3.15 import break should be |
Part of the maintenance experiments requested in #15081.
What this does
Points the CI workflows at the Python 3.15 release candidate (
python-version: 3.15, withallow-prereleases: true, which was already enabled) and adds theProgramming Language :: Python :: 3.15trove classifier.Status: DRAFT until 3.15 GA
Per the request, this stays in DRAFT until Python 3.15 has a production release (early October) — it should not merge before then.
Intentionally minimal
requires-pythonstays>=3.14(still accurate) and[tool.mypy] python_versionstays3.14for now, so mypy keeps type-checking against the current stable target. Bumping those is a separate decision for after 3.15 GA.cp315wheels and which tests break on the RC. I'll record the specific failures as comments on this PR as CI reports them.