Deprecate Python 3.10 support#3101
Merged
Merged
Conversation
Python 3.11 is now the minimum supported version. * Drop 3.10 from the buildAndTestPythons matrix and from both Linux/Windows buildRyzenWheels matrices. * Drop cp310 from the cibuildwheel build targets and raise python_requires to >=3.11 in both wheel setup.py files, so a pip install on 3.10 fails fast at resolution time. * Bump the lintAndFormat, buildAndTestMulti, buildAndTestAieTools, and buildAndTestAieToolsHsaBuildOnly jobs from python3.10 to python3.12 (they use Python as a runtime, not a test target). * Drop the python3.10 fallback branch from utils/quick_setup.sh. * Update the supported-versions comment in docs/Building.md to match the post-change wheel matrix (3.11, 3.12, 3.13, 3.14). buildAndTestRyzenAISw is intentionally left unchanged: it tests a cmake/ninja build inside a frozen Ryzen AI 1.3 SDK image whose venv is cp310-only, and the workflow does not pip-install the mlir-aie wheel, so python_requires never gates it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Two README files still listed 3.10 in their "supported by our wheels" prose. docs/README.md was also stale on 3.11 and 3.14 from before this deprecation; both files now read "3.11, 3.12, 3.13, and 3.14" to match docs/Building.md and the post-deprecation wheel matrix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
andrej
approved these changes
May 26, 2026
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 reaches upstream end-of-life in October 2026, and the rest of our CI matrix (3.11 → 3.14) is healthy, so this seems like a good time to drop it.
buildAndTestRyzenAISw is intentionally left unchanged: it tests a cmake/ninja build inside a frozen Ryzen AI 1.3 SDK image whose venv is cp310-only, and the workflow does not pip-install the mlir-aie wheel, so python_requires never gates it.