Skip to content

Commit bfb6df2

Browse files
MarkDaoustcopybara-github
authored andcommitted
Limit python version. TensorFlow is currently >=3.8 (soon >=3.9).
We can't realistically support older versions. Sorry! #2213 You can always access older versions by installing from a specific hash. PiperOrigin-RevId: 520956159
1 parent 7a03899 commit bfb6df2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@
3333
'pyyaml',
3434
]
3535

36-
# Dataclasses is in-built from py >=3.7. This version is a backport for py 3.6.
37-
if (sys.version_info.major, sys.version_info.minor) == (3, 6):
38-
REQUIRED_PKGS.append('dataclasses')
39-
4036
VIS_REQUIRE = [
4137
'numpy',
4238
'PILLOW',
@@ -46,6 +42,7 @@
4642
# https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords
4743
setup(
4844
name=project_name,
45+
python_requires='>=3.8',
4946
version=version,
5047
description=DOCLINES[0],
5148
long_description='\n'.join(DOCLINES[2:]),

0 commit comments

Comments
 (0)