Revert "We do support 3.14" (#158856)

Reverting to fix lint
This reverts commit 2a249f1967.

An emergency fix since the change needed to fix this is a little more complex than expected (see https://github.com/pytorch/pytorch/pull/158853 for reference)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/158856
Approved by: https://github.com/Camyll, https://github.com/atalman
This commit is contained in:
Zain Rizvi 2025-07-22 19:40:53 +00:00 committed by PyTorch MergeBot
parent 832ab990c9
commit 659bfbf443

View File

@ -20,7 +20,7 @@ build-backend = "setuptools.build_meta"
name = "torch" name = "torch"
description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration" description = "Tensors and Dynamic neural networks in Python with strong GPU acceleration"
readme = "README.md" readme = "README.md"
requires-python = ">=3.9" requires-python = ">=3.9,<3.14"
# TODO: change to `license = "BSD-3-Clause"` and enable PEP 639 after pinning setuptools>=77 # TODO: change to `license = "BSD-3-Clause"` and enable PEP 639 after pinning setuptools>=77
# FIXME: As of 2025.06.20, it is hard to ensure the minimum version of setuptools in our CI environment. # FIXME: As of 2025.06.20, it is hard to ensure the minimum version of setuptools in our CI environment.
# TOML-table-based license deprecated in setuptools>=77, and the deprecation warning will be changed # TOML-table-based license deprecated in setuptools>=77, and the deprecation warning will be changed