Skip to content

Commit 6acf3e5

Browse files
authored
Document Python 2 deprecation (#6910)
1 parent 3c21b4c commit 6acf3e5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

google-cloud-speech/README.rst

+9
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ dependencies.
4949
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
5050

5151

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

google-cloud-speech/setup.py

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
'Programming Language :: Python :: 3.4',
7676
'Programming Language :: Python :: 3.5',
7777
'Programming Language :: Python :: 3.6',
78+
'Programming Language :: Python :: 3.7',
7879
'Operating System :: OS Independent',
7980
'Topic :: Internet',
8081
],
@@ -83,6 +84,7 @@
8384
namespace_packages=namespaces,
8485
install_requires=dependencies,
8586
extras_require=extras,
87+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
8688
include_package_data=True,
8789
zip_safe=False,
8890
)

0 commit comments

Comments
 (0)