Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 3f73694

Browse files
authored
Announce deprecation of Python 2.7 (#311)
1 parent 9cdfaaa commit 3f73694

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ For more information on setting up your Python development environment, please r
2626

2727
.. _`Python Development Environment Setup Guide`: https://cloud.google.com/python/setup
2828

29+
Supported Python Versions
30+
^^^^^^^^^^^^^^^^^^^^^^^^^
31+
Python >= 3.4
32+
33+
Deprecated Python Versions
34+
^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
Python == 2.7. Python 2.7 support will be removed on January 1, 2020.
36+
2937
Documentation
3038
-------------
3139

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
packages=find_packages(exclude=('tests*', 'system_tests*')),
4141
namespace_packages=('google',),
4242
install_requires=DEPENDENCIES,
43+
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
4344
license='Apache 2.0',
4445
keywords='google auth oauth client',
4546
classifiers=[
@@ -49,6 +50,7 @@
4950
'Programming Language :: Python :: 3.4',
5051
'Programming Language :: Python :: 3.5',
5152
'Programming Language :: Python :: 3.6',
53+
'Programming Language :: Python :: 3.7',
5254
'Development Status :: 5 - Production/Stable',
5355
'Intended Audience :: Developers',
5456
'License :: OSI Approved :: Apache Software License',

0 commit comments

Comments
 (0)