Skip to content
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

build: explicitly require Python 3.7+ #5878

Merged
merged 2 commits into from
Aug 17, 2022
Merged

Conversation

groszewn
Copy link
Contributor

Python 3.6 is well past its EOL, so we should require 3.7+.

Contributes to #5725

Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this!

@@ -214,7 +214,7 @@ jobs:
# flake8 should run on each Python version that we target,
# because the errors and warnings can differ due to language
# changes, and we want to catch them all.
python_version: ['3.6', '3.7']
python_version: ['3.7', '3.8']
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to add 3.9 and 3.10 in addition to 3.8? We should be 3.10 compatible as of #5793, and while obviously we haven't been good about keeping this line up to date, the comment above has a rationale for running at least flake8 for every supported Python version.

If you do that we could also add 3.9 and 3.10 tags in both setup.py files as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, updated!

@groszewn groszewn merged commit 6126bf7 into tensorflow:master Aug 17, 2022
@groszewn groszewn deleted the drop_py_36 branch August 17, 2022 01:03
yatbear pushed a commit to yatbear/tensorboard that referenced this pull request Mar 27, 2023
* build: explicitly require Python 3.7+

Contributes to tensorflow#5725

* Run flake8 for all targeted python versions
dna2github pushed a commit to dna2fork/tensorboard that referenced this pull request May 1, 2023
* build: explicitly require Python 3.7+

Contributes to tensorflow#5725

* Run flake8 for all targeted python versions
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