Repository navigation
py(chore[floor]) Require Python 3.11 - #84
Merged
Merged
Conversation
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 markers #83 added for pillow and fastmcp. `uv lock` collapses the coverage, sphinx, myst-parser, watchdog, starlette and websockets pairs and removes tomli and backports-asyncio-runner; the >=3.11 entries did not move. `ruff check --fix` under py311 rewrote the asyncio.TimeoutError, dt.timezone.utc and unused `noqa: PERF203` sites, and `Mode` in sphinx-vite-builder became a `StrEnum` (its members are only compared, never formatted). what: - pyproject.toml, packages/*/pyproject.toml: requires-python >=3.11, drop the 3.10 classifier; root mypy and ruff targets set to 3.11 - pyproject.toml: pillow and fastmcp lose their python_version marker, tomli is dropped, and the 3.10-only mypy overrides are removed - docs/conftest.py and the PIL importorskip are removed; tomllib is imported directly in scripts/ci and docs/_ext - tests.yml, .tool-versions, README files, how-to: drop 3.10 - uv.lock: collapse the 3.10 forks
why: The floor moves from 3.10 to 3.11 in #84, a breaking change for installs on 3.10. what: - CHANGES: add a Breaking changes entry to the unreleased section
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #84 +/- ##
==========================================
+ Coverage 93.41% 93.42% +0.01%
==========================================
Files 279 278 -1
Lines 24130 24118 -12
==========================================
- Hits 22540 22532 -8
+ Misses 1590 1586 -4 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Python 3.10 reached end of life in October 2026. Every workspace package
now requires Python 3.11, and the Python 3.10 accommodations from #83 are
gone.
Changes
requires-python = ">=3.11"in the root and all packages, 3.10classifier removed, mypy and ruff targets set to 3.11
pillowandfastmcplose theirpython_version >= '3.11'marker;tomliis dropped; the 3.10-only mypy overrides,docs/conftest.pyand the
PILimportorskipguard are removedtomllibis imported directly inscripts/cianddocs/_extruff check --fixunder py311:TimeoutError,dt.UTC, an unusednoqa: PERF203;Modeinsphinx-vite-builderis aStrEnum.tool-versions, READMEs and one how-to drop 3.10uv.lockcollapses the 3.10 forks (coverage, sphinx, myst-parser,sphinx-design, sphinx-autobuild, watchdog, starlette, websockets,
markdown-it-py); tomli and backports-asyncio-runner drop out; the
soupsieve 2.10 entry for Python below 3.11.5 stays
CHANGESentryTest plan
uv lockparsed before/after: only older fork entries removedruff check,ruff format --check,mypy .(no 3.10 overrides),check-versionson 3.15uv run pytest: 2411 passed, 161 skippedsphinx-build -W -b dirhtml docs