From 6acf3e5edf94064eaa6557438d3ce2a994cedc5f Mon Sep 17 00:00:00 2001 From: Christopher Wilcox Date: Fri, 14 Dec 2018 12:25:37 -0800 Subject: [PATCH] Document Python 2 deprecation (#6910) --- google-cloud-speech/README.rst | 9 +++++++++ google-cloud-speech/setup.py | 2 ++ 2 files changed, 11 insertions(+) diff --git a/google-cloud-speech/README.rst b/google-cloud-speech/README.rst index f0d20c4c608b..b2e1644d75ba 100644 --- a/google-cloud-speech/README.rst +++ b/google-cloud-speech/README.rst @@ -49,6 +49,15 @@ dependencies. .. _`virtualenv`: https://virtualenv.pypa.io/en/latest/ +Supported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^ +Python >= 3.4 + +Deprecated Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^^ +Python == 2.7. Python 2.7 support will be removed on January 1, 2020. + + Mac/Linux ^^^^^^^^^ diff --git a/google-cloud-speech/setup.py b/google-cloud-speech/setup.py index 87e279dab473..30170bf72271 100644 --- a/google-cloud-speech/setup.py +++ b/google-cloud-speech/setup.py @@ -75,6 +75,7 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Operating System :: OS Independent', 'Topic :: Internet', ], @@ -83,6 +84,7 @@ namespace_packages=namespaces, install_requires=dependencies, extras_require=extras, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', include_package_data=True, zip_safe=False, )