Skip to content

py(chore[floor]) Require Python 3.11 - #583

Merged
tony merged 2 commits into
masterfrom
py-3.11-floor
Nov 8, 2026
Merged

tony merged 2 commits into
masterfrom
py-3.11-floor

Conversation

@tony

@tony tony commented Nov 8, 2026

Copy link
Copy Markdown
Member

Summary

Python 3.10 reached end of life in October 2026. vcspull now requires
Python 3.11.

Changes

  • requires-python = ">=3.11,<4.0", 3.10 classifier removed, mypy and
    ruff targets set to 3.11
  • Self is imported from typing instead of typing_extensions; an
    unused noqa: PERF203 is dropped
  • .tool-versions and README state 3.11; the libvcs>=0.46.0,<0.47.0
    constraint is unchanged
  • uv.lock collapses the 3.10-only forks; tomli, exceptiongroup and
    backports-asyncio-runner drop out; soupsieve 2.10 for Python below
    3.11.5 stays
  • CHANGES entry

Test plan

  • uv lock parsed before/after: only older fork entries removed
  • ruff check, ruff format --check, mypy . on 3.15
  • py.test: 1464 passed, 1 skipped
  • CI on 3.15

tony added 2 commits November 7, 2026 19:18
why: Python 3.10 reached end of life in October 2026. Requiring 3.11
lets the lock drop its 3.10-only forks and the `typing_extensions`
imports. `uv lock` collapses the coverage, sphinx, myst-parser,
watchdog, starlette and websockets pairs and removes tomli,
exceptiongroup and backports-asyncio-runner; the >=3.11 entries did not
move. `ruff check --fix` under py311 rewrote the four `Self` imports to
`typing.Self` and dropped an unused `noqa: PERF203`. The libvcs
constraint is unchanged.

what:
- pyproject.toml: requires-python >=3.11, drop the 3.10 classifier,
  mypy and ruff targets to 3.11
- src, tests: `from typing import Self`
- .tool-versions, README.md: drop 3.10
- uv.lock: collapse the 3.10 forks
why: The floor moves from 3.10 to 3.11 in #583, a breaking change for
installs on 3.10.

what:
- CHANGES: add a Breaking changes entry under vcspull v1.69.x
@codecov

codecov Bot commented Nov 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.65%. Comparing base (26d70a7) to head (89fe304).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #583   +/-   ##
=======================================
  Coverage   83.65%   83.65%           
=======================================
  Files          32       32           
  Lines        4595     4595           
  Branches      928      928           
=======================================
  Hits         3844     3844           
  Misses        498      498           
  Partials      253      253           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tony
tony merged commit 6b6adbd into master Nov 8, 2026
8 checks passed
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