Repository navigation
feat: Python 3.10 reached end of life in October 2026; OpenAdapt now requires Python 3.11 or newer - #2382
Draft
abrichr wants to merge 4 commits into
Draft
feat: Python 3.10 reached end of life in October 2026; OpenAdapt now requires Python 3.11 or newer#2382abrichr wants to merge 4 commits into
abrichr wants to merge 4 commits into
Conversation
…cies to fixed releases
…requires Python 3.11 or newer Raise requires-python to 3.11 in the launcher, flow, agent, capture, privacy, tray, types and verify; drop the 3.10 classifiers; move the uv required-environments, ruff and mypy targets, and the main-tier CI matrices to 3.11 (capture's AT-SPI leg stays on ubuntu-22.04, now with 3.11). The launcher's supported range is 3.11-3.12. With no 3.10 fork, every lock now holds only Pillow 13.0.0, filelock 4.2.12 and dnspython 2.9.2, so the lockfile-only 3.11 floors are gone.
This was referenced Nov 21, 2026
Merged
This branch has not been deployed
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.
Python 3.10 reached end of life in October 2026; OpenAdapt now requires Python 3.11 or newer.
Stacked on
claude/dep-security-2026-11-20, the dependency-security PR #2383. Until that merges, this diff includes its three commits; rebase onto main once it does. Merge only after theopenadapt-flow-v3.4.0tag exists. This change ships in the release after Flow 3.4.0: the next Flow minor and launcher release carry it together.Why
The fixed releases of Pillow (13.0.0), filelock (4.2.1) and dnspython (2.9.2) require Python 3.11 or newer, and Pillow has no patched 12.x. While the locks resolve Python 3.10, each of them keeps a vulnerable Pillow 12.3.0 entry for that fork. Dependabot flags those entries: 30 critical and 149 high alerts. Projected against these locks, the open alerts drop to 0 critical, 0 high, 1 medium (mako in
packages/desktop/uv.lock, which the Desktop release agent owns) and 0 low.What changes
requires-pythonrises to 3.11 in the launcher, flow, agent, capture, privacy, tray, types and verify. Upper caps such as<3.13don't change.required-environments, the rufftarget-versionand the mypypython_version(including.github/mypy-interop.ini) now target 3.11.tomli(only needed below 3.11) and the now-redundantpython_version >= '3.11'markers on sigstore and theopenenvextra._SUPPORTED_PYTHONis now (3.11, 3.12), and the engine messages and the--helpquick start say 3.11–3.12.docs/cli.md,docs/getting-started/*, the package READMEs and contributing guides, the benchmark and example READMEs, privacyCOMPLIANCE.md, the claude-code demo script, the.github/workflows/README.mdtier table, andllms-full.txt(regenerated) all now say 3.11.Release notes
Flow and the launcher take their changelog entries from semantic-release, which uses the commit subject. This PR's commit subject is the sentence above, so the squash title must stay
feat: .... That gives a minor release. A!or aBREAKING CHANGEfooter would make the launcher 2.0 and Flow 4.0.Agent, capture, privacy, tray, types and verify publish when a reviewed version bump starts their changelog. This PR doesn't bump them, so it releases nothing. Each one's next release entry should carry the same sentence.
Not changed
docs/python-313-314-install-evidence.md,docs/monorepo/INSTALL_WEIGHT.md, the legacy freeze docs and the design notes..github/ci-tools, theapt-installhelper (Ubuntu 22.04's system Python is 3.10), and the stdlib-only vocabularylint.py, which runs on any Python 3.10 or later.legacy/.Docs site
OpenAdaptAI/openadapt-ops#350 (draft) makes the same change on docs.openadapt.ai. Merge it after these releases are on PyPI: its compatibility-table test checks the published metadata.
Overlap
#2365 (quickstart, approved) rewrites some of the same launcher strings: the
--helpquick start, the README install line and the remedy message. Whichever merges second rebases, keeping #2365's wording with 3.11 in place of 3.10.Tests
On Python 3.12:
llms-full.txt.mypymatches main apart from one new tomllib redefinition, fixed here insanitized_artifact.py; tests touching that module: 465 passed, and 2 fail intest_runtime_validation.pythe same way on the base branch (destination trust classification on this host).Also checked:
uv lock --checkpasses in all eight directories.scripts/ci/check_lock_wheels.pypasses: every lock installs on its oldest Python on each platform.rufffindings match main's baseline in every package.