Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ff8deb

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 05ec921 commit 7ff8deb

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

packages/google-cloud-automl/README.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,15 @@ dependencies.
5050
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
5151

5252

53+
Supported Python Versions
54+
^^^^^^^^^^^^^^^^^^^^^^^^^
55+
Python >= 3.4
56+
57+
Deprecated Python Versions
58+
^^^^^^^^^^^^^^^^^^^^^^^^^^
59+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
60+
61+
5362
Mac/Linux
5463
^^^^^^^^^
5564

packages/google-cloud-automl/setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,15 @@
6161
'Programming Language :: Python :: 3.4',
6262
'Programming Language :: Python :: 3.5',
6363
'Programming Language :: Python :: 3.6',
64+
'Programming Language :: Python :: 3.7',
6465
'Operating System :: OS Independent',
6566
'Topic :: Internet',
6667
],
6768
platforms='Posix; MacOS X; Windows',
6869
packages=packages,
6970
namespace_packages=namespaces,
7071
install_requires=dependencies,
72+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
7173
include_package_data=True,
7274
zip_safe=False,
7375
)

0 commit comments

Comments
 (0)