-
Notifications
You must be signed in to change notification settings - Fork 27.8k
General policy for supported Python version #74203
Copy link
Copy link
Closed
Labels
module: python frontendFor issues relating to PyTorch's Python frontendFor issues relating to PyTorch's Python frontendoncall: relengIn support of CI and Release EngineeringIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Metadata
Metadata
Assignees
Labels
module: python frontendFor issues relating to PyTorch's Python frontendFor issues relating to PyTorch's Python frontendoncall: relengIn support of CI and Release EngineeringIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Context
Following yet another discussion on which Python version we support (#74087) we would like to open a broader discussion on this.
For historical context on how we dealt with 3.6.X versions, we dropped <3.6.2 early on to be able to use features from it #47314. We then moved to 3.7.0 as minimum version when 3.6 reached EOL #71494.
The naming for versions below will be "major.minor.patch".
Related policies are:
Based on this here are two proposals to move forward:
In both cases we will have
pip install torchstill works just fine. For older versions of Python you will only get the most recent PyTorch version that is available. The difference between the options below is how recent will the version of PyTorch be.1) Adopt NEP 29
Deprecation dates under this proposal
2) Use NEP 29 for patch versions and EOL for minor versions
Deprecation dates under this proposal
WDYT ?