Skip to content

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

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. gp-libs now requires
Python 3.11.

Changes

  • requires-python = ">=3.11,<4.0", 3.10 classifier removed, mypy and
    ruff targets set to 3.11
  • CI matrix drops 3.10 and the docutils 0.22.4 exclude that only existed
    for it
  • uv.lock collapses the 3.10-only forks (coverage, sphinx, myst-parser,
    sphinx-design, watchdog, starlette, websockets, markdown-it-py,
    sphinx-autobuild); tomli and exceptiongroup drop out. The soupsieve
    2.10 entry for Python below 3.11.5 stays.
  • README, CONTRIBUTING and .tool-versions state 3.11
  • CHANGES entry

Test plan

  • uv lock parsed before/after: only older fork entries removed
  • ruff check --fix, ruff format --check, mypy ., py.test (102 passed) on 3.15
  • CI matrix 3.11-3.15

why: Python 3.10 reached end of life in October 2026. Requiring 3.11
lets the lock drop its 3.10-only forks. `uv lock` collapses the
coverage, sphinx, myst-parser, watchdog and starlette pairs and removes
tomli and exceptiongroup; the >=3.11 entries did not move. `ruff check
--fix` under py311 rewrote nothing, and there were no
`sys.version_info` branches to remove.

what:
- pyproject.toml: requires-python >=3.11, drop the 3.10 classifier,
  mypy python_version and ruff target-version to 3.11
- tests.yml: drop 3.10 and its docutils 0.22.4 exclude
- .tool-versions, README.md, CONTRIBUTING.md: drop 3.10
- uv.lock: collapse the 3.10 forks
@tony tony changed the title py(chore[floor]): Require Python 3.11 py(chore[floor]) Require Python 3.11 Nov 8, 2026
why: The floor moves from 3.10 to 3.11 in #100, a breaking change for
installs on 3.10.

what:
- CHANGES: add the breaking-change entry under gp-libs 0.0.20
@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 76.63%. Comparing base (e7787a8) to head (7dee16c).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   76.63%   76.63%           
=======================================
  Files          15       15           
  Lines        1023     1023           
=======================================
  Hits          784      784           
  Misses        239      239           

☔ 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 358e119 into master Nov 8, 2026
28 checks passed
@tony
tony deleted the py-3.11-floor branch November 8, 2026 00:29
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