Skip to content

Commit

Permalink
build: explicitly require Python 3.7+ (tensorflow#5878)
Browse files Browse the repository at this point in the history
* build: explicitly require Python 3.7+

Contributes to tensorflow#5725

* Run flake8 for all targeted python versions
  • Loading branch information
groszewn authored and dna2github committed May 1, 2023
1 parent 05049d6 commit c82d56b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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', '3.9', '3.10']
steps:
- uses: actions/checkout@50fbc622fc4ef5163becd7fab6573eac35f8462e
- uses: actions/setup-python@152ba7c4dd6521b8e9c93f72d362ce03bf6c4f20
Expand Down
5 changes: 3 additions & 2 deletions tensorboard/data/server/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"bin/*",
],
},
python_requires=">=3.6",
python_requires=">=3.7",
install_requires=[],
tests_require=[],
# PyPI package information. <https://pypi.org/classifiers/>
Expand All @@ -43,9 +43,10 @@
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down
4 changes: 2 additions & 2 deletions tensorboard/pip_package/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_readme():
},
install_requires=REQUIRED_PACKAGES,
tests_require=REQUIRED_PACKAGES,
python_requires=">=3.6",
python_requires=">=3.7",
# PyPI package information.
classifiers=[
"Development Status :: 4 - Beta",
Expand All @@ -73,10 +73,10 @@ def get_readme():
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Software Development :: Libraries :: Python Modules",
Expand Down

0 comments on commit c82d56b

Please sign in to comment.