From 80d0bc5ecf691f6a903b90316b383f40a37be1de Mon Sep 17 00:00:00 2001 From: Christopher Wilcox Date: Fri, 14 Dec 2018 12:25:21 -0800 Subject: [PATCH] Add notice of Python 2.7 deprecation (#112) --- packages/google-cloud-dialogflow/README.rst | 9 +++++++++ packages/google-cloud-dialogflow/setup.py | 2 ++ 2 files changed, 11 insertions(+) diff --git a/packages/google-cloud-dialogflow/README.rst b/packages/google-cloud-dialogflow/README.rst index d4259d279d7c..82d539c89d81 100644 --- a/packages/google-cloud-dialogflow/README.rst +++ b/packages/google-cloud-dialogflow/README.rst @@ -48,6 +48,15 @@ Installation `virtualenv `_. +Supported Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^ +Python >= 3.4 + +Deprecated Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^^ +Python == 2.7. Python 2.7 support will be removed on January 1, 2020. + + Usage ----- diff --git a/packages/google-cloud-dialogflow/setup.py b/packages/google-cloud-dialogflow/setup.py index e6254b2201dc..b0e8ed296bc0 100644 --- a/packages/google-cloud-dialogflow/setup.py +++ b/packages/google-cloud-dialogflow/setup.py @@ -33,12 +33,14 @@ 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: CPython', ], description='Client library for the Dialogflow API', include_package_data=True, long_description=long_description, install_requires=install_requires, + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', license='Apache 2.0', packages=find_packages(), url='https://github.com/dialogflow/dialogflow-python-client-v2',