-
Notifications
You must be signed in to change notification settings - Fork 7.1k
drop support for Python 3.7 #7110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -58,7 +58,6 @@ def write_version_file(): | |||
pytorch_dep += "==" + os.getenv("PYTORCH_VERSION") | |||
|
|||
requirements = [ | |||
"typing_extensions", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We only ever used this for Literal
, which is available through typing
in the standard library for Python >= 3.8.
We have some failing 3.7 jobs that we have no influence over. They are generated here from
|
pytorch/test-infra#1416 was closed in favor of pytorch/test-infra#1475. IIUC, this was done since PyTorch core tests stable binaries as well: pytorch/test-infra#1416 (comment). I'm fairly certain we don't so we should be good to remove everywhere. cc @atalman and @malfet to be sure. |
CI failures seem unrelated. I'll deal with them today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, but I wonder if we it'll be at all possible possible use more templating to make this change smaller in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Philip!
Hey @pmeier! You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py |
Summary: Co-authored-by: Nikita Shulga <[email protected]> Reviewed By: vmoens Differential Revision: D43116112 fbshipit-source-id: a106557ca98afd84e179a53e1665b44c7fd9bcb9
According to pytorch/pytorch#80513 (comment), core will drop support for 3.7 with the upcoming
torch==2.0.0
release. We should do the same.cc @seemethere