Skip to content

Drop the Python 3.10 safe-path shim - #29

Merged
jaraco merged 1 commit into
mainfrom
drop-py310-safe-path
Oct 18, 2026
Merged

jaraco merged 1 commit into
mainfrom
drop-py310-safe-path

Conversation

@jaraco

@jaraco jaraco commented Oct 17, 2026

Copy link
Copy Markdown
Member

coherent.build now infers Requires-Python: >= 3.11 because CPython's 3.10 branch is gone (coherent-oss/system#36). As a result, Ruff flags the sys.version_info >= (3, 11) check in pytest_command as outdated (UP036), which fails this project's own test run.

This removes the 3.10 fallback (added in #28) along with the jaraco.compat.py310.safe_path import, relying on PYTHONSAFEPATH as on 3.11+.

Opened as a PR rather than pushed because coherent.test is shared infrastructure and this drops a code path. The 3.10 CI jobs will fail until coherent-oss/system#37 lands.

🤖 Generated with Claude Code

coherent.build now infers Requires-Python >= 3.11 (coherent-oss/system#36),
so the 3.10 branch in pytest_command is unreachable and Ruff flags it (UP036).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jaraco
jaraco merged commit a16447d into main Oct 18, 2026
33 of 41 checks passed
@jaraco
jaraco deleted the drop-py310-safe-path branch October 18, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant