Skip to content

Deprecate Python 3.10 support#3101

Merged
hunhoffe merged 4 commits into
mainfrom
deprecate-python-3.10
May 29, 2026
Merged

Deprecate Python 3.10 support#3101
hunhoffe merged 4 commits into
mainfrom
deprecate-python-3.10

Conversation

@hunhoffe
Copy link
Copy Markdown
Collaborator

@hunhoffe hunhoffe commented May 20, 2026

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.

  • 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.

hunhoffe and others added 2 commits May 20, 2026 08:11
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>
@hunhoffe hunhoffe changed the title ci: deprecate Python 3.10 support Deprecate Python 3.10 support May 20, 2026
@hunhoffe hunhoffe marked this pull request as ready for review May 21, 2026 17:46
@hunhoffe hunhoffe enabled auto-merge May 26, 2026 20:38
@hunhoffe hunhoffe disabled auto-merge May 27, 2026 15:32
@hunhoffe hunhoffe added this pull request to the merge queue May 29, 2026
Merged via the queue into main with commit 5298d97 May 29, 2026
79 of 80 checks passed
@hunhoffe hunhoffe deleted the deprecate-python-3.10 branch May 29, 2026 15:34
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.

2 participants