Repository navigation
Conversation
torch nightly binaries no longer build Python 3.10: FULL_PYTHON_VERSIONS in generate_binary_build_matrix.py starts at 3.11, no generated binary workflow builds py3_10, and the last cp310 torch nightly is 2.15.0.dev20260923. The pytorch-triton builds still produce cp310 wheels nothing depends on. - _build-triton-wheel-linux.yml: drop "3.10" from the py_vers matrix and its now-unreachable cp310 PYTHON_EXECUTABLE case. - build-triton-wheel.yml: drop "3.10" from the Windows (XPU) py_vers matrix. build_triton.bat installs Python through the generic install_python.bat, so it has no 3.10-specific code. Test plan: - Both workflows parse, and no 3.10 / cp310 references remain in the Triton build workflows or scripts. - actionlint 1.7.12 on the two workflows: no new findings (the remaining two are pre-existing shellcheck notes). - CI: ciflow/binaries runs the Triton wheel builds; the matrices should list 3.11 through 3.15t only.
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/199398
Note: Links to docs will display an error until the docs builds have been completed. ⏳ No Failures, 16 PendingAs of commit 1e3cce6 with merge base 4772073 ( 🟡 GREEN LIGHT - PR requires human review:
reason: This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@pytorchmergebot merge -f "lint is green, lets merge" |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
torch nightly binaries no longer build Python 3.10: FULL_PYTHON_VERSIONS in generate_binary_build_matrix.py starts at 3.11, no generated binary workflow builds py3_10, and the last cp310 torch nightly is 2.15.0.dev20260923. The pytorch-triton builds still produce cp310 wheels nothing depends on. - _build-triton-wheel-linux.yml: drop "3.10" from the py_vers matrix and its now-unreachable cp310 PYTHON_EXECUTABLE case. - build-triton-wheel.yml: drop "3.10" from the Windows (XPU) py_vers matrix. build_triton.bat installs Python through the generic install_python.bat, so it has no 3.10-specific code. Test plan: - Both workflows parse, and no 3.10 / cp310 references remain in the Triton build workflows or scripts. - actionlint 1.7.12 on the two workflows: no new findings (the remaining two are pre-existing shellcheck notes). - CI: ciflow/binaries runs the Triton wheel builds; the matrices should list 3.11 through 3.15t only.) Made with AI, Claude Pull Request resolved: pytorch#199398 Approved by: https://github.com/huydhn
## Summary Raise the minimum Python in the package metadata from 3.10 to 3.11, to match what 2.15 builds. - `pyproject.toml`: `requires-python = ">=3.11"`, and remove the `Programming Language :: Python :: 3.10` classifier. - `README.md`: the source-build prerequisite says "Python 3.11 or later". ## Why The binary build matrix no longer includes Python 3.10: `FULL_PYTHON_VERSIONS` in `.github/scripts/generate_binary_build_matrix.py` starts at `3.11`, and the 2.15.0 wheels on the test channel are `cp311` to `cp315` (plus `cp314t` and `cp315t`), with no `cp310`. `pyproject.toml` was not updated, so the 2.15.0 wheels carry: ``` Requires-Python: >=3.10 Classifier: Programming Language :: Python :: 3.10 ``` That tells PyPI and `pip show` that 3.10 is supported, and makes `uv` and Poetry try to resolve 2.15 for Python 3.10 and fail on a missing wheel instead of reporting that 3.11 is required. The PRs that dropped 3.10 from the builds (#198233, #199398) only changed build and CI config and did not touch `pyproject.toml`. ## Not changed - `[tool.ruff]` settings and the `# TODO: Remove Python-3.10 specific suppressions` comment. - The Python 3.10 code paths in dynamo; #199417 handles those. ## Testing `pyproject.toml` parses (`tomllib`), and `project.requires-python` is `>=3.11` with the classifiers `3 :: Only`, `3.11` to `3.15`. I did not build a wheel or an sdist from this change. Cherry-pick to `release/2.15` is a separate PR. Pull Request resolved: #202271 Approved by: https://github.com/huydhn, https://github.com/albanD
) ## Summary Raise the minimum Python in the package metadata from 3.10 to 3.11, to match what 2.15 builds. - `pyproject.toml`: `requires-python = ">=3.11"`, and remove the `Programming Language :: Python :: 3.10` classifier. - `README.md`: the source-build prerequisite says "Python 3.11 or later". - `[tool.ruff] target-version = "py310"`: pinned so lint does not change (see below). ## Why The binary build matrix no longer includes Python 3.10: `FULL_PYTHON_VERSIONS` in `.github/scripts/generate_binary_build_matrix.py` starts at `3.11`, and the 2.15.0 wheels on the test channel are `cp311` to `cp315` (plus `cp314t` and `cp315t`), with no `cp310`. `pyproject.toml` was not updated, so the 2.15.0 wheels carry: ``` Requires-Python: >=3.10 Classifier: Programming Language :: Python :: 3.10 ``` That tells PyPI and `pip show` that 3.10 is supported, and makes `uv` and Poetry try to resolve 2.15 for Python 3.10 and fail on a missing wheel instead of reporting that 3.11 is required. The PRs that dropped 3.10 from the builds (pytorch#198233, pytorch#199398) only changed build and CI config and did not touch `pyproject.toml`. ## Lint Ruff derives its target version from `requires-python`, so raising it to 3.11 enabled the pyupgrade rules for 3.11 and failed the Lint job: 257 findings in 162 files (UP036 obsolete `sys.version_info` checks 104, UP035 `typing_extensions` imports 101, UP044 `Unpack` 30, UP017 `datetime.UTC` 20, UP041 2). I reproduced the same counts locally with `ruff==0.14.4` and the repo config. 134 of the fixes need `--unsafe-fixes`, and they touch `torch/_dynamo` files that the Python 3.10 cleanup PRs (pytorch#199417) are editing, so they do not belong in a metadata change. This PR pins `target-version = "py310"` in `[tool.ruff]`, which restores the previous lint behavior: on the 162 files `ruff check` passes, and `ruff format --check` reports the same single file (`torch/utils/checkpoint.py`) as on the base commit. The pin should be removed together with the Python 3.10 code cleanup. ## Not changed - `[tool.ruff]` settings and the `# TODO: Remove Python-3.10 specific suppressions` comment. - The Python 3.10 code paths in dynamo; pytorch#199417 handles those. ## Testing `pyproject.toml` parses (`tomllib`), and `project.requires-python` is `>=3.11` with the classifiers `3 :: Only`, `3.11` to `3.15`. With the pin, `ruff check` (ruff 0.14.4, repo config) passes on all 162 files the Lint job had flagged. I did not build a wheel or an sdist from this change. Cherry-pick to `release/2.15` is a separate PR. Pull Request resolved: pytorch#202271 Approved by: https://github.com/huydhn, https://github.com/albanD
) ## Summary Raise the minimum Python in the package metadata from 3.10 to 3.11, to match what 2.15 builds. - `pyproject.toml`: `requires-python = ">=3.11"`, and remove the `Programming Language :: Python :: 3.10` classifier. - `README.md`: the source-build prerequisite says "Python 3.11 or later". ## Why The binary build matrix no longer includes Python 3.10: `FULL_PYTHON_VERSIONS` in `.github/scripts/generate_binary_build_matrix.py` starts at `3.11`, and the 2.15.0 wheels on the test channel are `cp311` to `cp315` (plus `cp314t` and `cp315t`), with no `cp310`. `pyproject.toml` was not updated, so the 2.15.0 wheels carry: ``` Requires-Python: >=3.10 Classifier: Programming Language :: Python :: 3.10 ``` That tells PyPI and `pip show` that 3.10 is supported, and makes `uv` and Poetry try to resolve 2.15 for Python 3.10 and fail on a missing wheel instead of reporting that 3.11 is required. The PRs that dropped 3.10 from the builds (pytorch#198233, pytorch#199398) only changed build and CI config and did not touch `pyproject.toml`. ## Not changed - `[tool.ruff]` settings and the `# TODO: Remove Python-3.10 specific suppressions` comment. - The Python 3.10 code paths in dynamo; pytorch#199417 handles those. ## Testing `pyproject.toml` parses (`tomllib`), and `project.requires-python` is `>=3.11` with the classifiers `3 :: Only`, `3.11` to `3.15`. I did not build a wheel or an sdist from this change. Cherry-pick to `release/2.15` is a separate PR. Pull Request resolved: pytorch#202271 Approved by: https://github.com/huydhn, https://github.com/albanD
) ## Summary Raise the minimum Python in the package metadata from 3.10 to 3.11, to match what 2.15 builds. - `pyproject.toml`: `requires-python = ">=3.11"`, and remove the `Programming Language :: Python :: 3.10` classifier. - `README.md`: the source-build prerequisite says "Python 3.11 or later". - `[tool.ruff] target-version = "py310"`: pinned so lint does not change (see below). ## Why The binary build matrix no longer includes Python 3.10: `FULL_PYTHON_VERSIONS` in `.github/scripts/generate_binary_build_matrix.py` starts at `3.11`, and the 2.15.0 wheels on the test channel are `cp311` to `cp315` (plus `cp314t` and `cp315t`), with no `cp310`. `pyproject.toml` was not updated, so the 2.15.0 wheels carry: ``` Requires-Python: >=3.10 Classifier: Programming Language :: Python :: 3.10 ``` That tells PyPI and `pip show` that 3.10 is supported, and makes `uv` and Poetry try to resolve 2.15 for Python 3.10 and fail on a missing wheel instead of reporting that 3.11 is required. The PRs that dropped 3.10 from the builds (pytorch#198233, pytorch#199398) only changed build and CI config and did not touch `pyproject.toml`. ## Lint Ruff derives its target version from `requires-python`, so raising it to 3.11 enabled the pyupgrade rules for 3.11 and failed the Lint job: 257 findings in 162 files (UP036 obsolete `sys.version_info` checks 104, UP035 `typing_extensions` imports 101, UP044 `Unpack` 30, UP017 `datetime.UTC` 20, UP041 2). I reproduced the same counts locally with `ruff==0.14.4` and the repo config. 134 of the fixes need `--unsafe-fixes`, and they touch `torch/_dynamo` files that the Python 3.10 cleanup PRs (pytorch#199417) are editing, so they do not belong in a metadata change. This PR pins `target-version = "py310"` in `[tool.ruff]`, which restores the previous lint behavior: on the 162 files `ruff check` passes, and `ruff format --check` reports the same single file (`torch/utils/checkpoint.py`) as on the base commit. The pin should be removed together with the Python 3.10 code cleanup. ## Not changed - `[tool.ruff]` settings and the `# TODO: Remove Python-3.10 specific suppressions` comment. - The Python 3.10 code paths in dynamo; pytorch#199417 handles those. ## Testing `pyproject.toml` parses (`tomllib`), and `project.requires-python` is `>=3.11` with the classifiers `3 :: Only`, `3.11` to `3.15`. With the pin, `ruff check` (ruff 0.14.4, repo config) passes on all 162 files the Lint job had flagged. I did not build a wheel or an sdist from this change. Cherry-pick to `release/2.15` is a separate PR. Pull Request resolved: pytorch#202271 Approved by: https://github.com/huydhn, https://github.com/albanD
) ## Summary Raise the minimum Python in the package metadata from 3.10 to 3.11, to match what 2.15 builds. - `pyproject.toml`: `requires-python = ">=3.11"`, and remove the `Programming Language :: Python :: 3.10` classifier. - `README.md`: the source-build prerequisite says "Python 3.11 or later". - `[tool.ruff] target-version = "py310"`: pinned so lint does not change (see below). ## Why The binary build matrix no longer includes Python 3.10: `FULL_PYTHON_VERSIONS` in `.github/scripts/generate_binary_build_matrix.py` starts at `3.11`, and the 2.15.0 wheels on the test channel are `cp311` to `cp315` (plus `cp314t` and `cp315t`), with no `cp310`. `pyproject.toml` was not updated, so the 2.15.0 wheels carry: ``` Requires-Python: >=3.10 Classifier: Programming Language :: Python :: 3.10 ``` That tells PyPI and `pip show` that 3.10 is supported, and makes `uv` and Poetry try to resolve 2.15 for Python 3.10 and fail on a missing wheel instead of reporting that 3.11 is required. The PRs that dropped 3.10 from the builds (pytorch#198233, pytorch#199398) only changed build and CI config and did not touch `pyproject.toml`. ## Lint Ruff derives its target version from `requires-python`, so raising it to 3.11 enabled the pyupgrade rules for 3.11 and failed the Lint job: 257 findings in 162 files (UP036 obsolete `sys.version_info` checks 104, UP035 `typing_extensions` imports 101, UP044 `Unpack` 30, UP017 `datetime.UTC` 20, UP041 2). I reproduced the same counts locally with `ruff==0.14.4` and the repo config. 134 of the fixes need `--unsafe-fixes`, and they touch `torch/_dynamo` files that the Python 3.10 cleanup PRs (pytorch#199417) are editing, so they do not belong in a metadata change. This PR pins `target-version = "py310"` in `[tool.ruff]`, which restores the previous lint behavior: on the 162 files `ruff check` passes, and `ruff format --check` reports the same single file (`torch/utils/checkpoint.py`) as on the base commit. The pin should be removed together with the Python 3.10 code cleanup. ## Not changed - `[tool.ruff]` settings and the `# TODO: Remove Python-3.10 specific suppressions` comment. - The Python 3.10 code paths in dynamo; pytorch#199417 handles those. ## Testing `pyproject.toml` parses (`tomllib`), and `project.requires-python` is `>=3.11` with the classifiers `3 :: Only`, `3.11` to `3.15`. With the pin, `ruff check` (ruff 0.14.4, repo config) passes on all 162 files the Lint job had flagged. I did not build a wheel or an sdist from this change. Cherry-pick to `release/2.15` is a separate PR. Pull Request resolved: pytorch#202271 Approved by: https://github.com/huydhn, https://github.com/albanD
torch nightly binaries no longer build Python 3.10: FULL_PYTHON_VERSIONS in
generate_binary_build_matrix.py starts at 3.11, no generated binary workflow
builds py3_10, and the last cp310 torch nightly is 2.15.0.dev20260923. The
pytorch-triton builds still produce cp310 wheels nothing depends on.
now-unreachable cp310 PYTHON_EXECUTABLE case.
build_triton.bat installs Python through the generic install_python.bat,
so it has no 3.10-specific code.
Test plan:
build workflows or scripts.
are pre-existing shellcheck notes).
3.11 through 3.15t only.)
Made with AI, Claude