Skip to content

Commit 9ba49d7

Browse files
committed
chore(deps)!: require 3.5+
1 parent 857eaf3 commit 9ba49d7

File tree

3 files changed

+5
-20
lines changed

3 files changed

+5
-20
lines changed

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@ virtualenv <your-env>
5050

5151
Python 3.5, 3.6 and 3.7, and 3.8 are fully supported and tested. This library may work on later versions of 3, but we do not currently run tests against those versions
5252

53-
## Deprecated Python Versions
54-
55-
Python == 2.7
5653

5754
## Third Party Libraries and Dependencies
5855

noxfile.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def lint(session):
4444
)
4545

4646

47-
@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"])
47+
@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
4848
@nox.parametrize(
4949
"oauth2client",
5050
[
@@ -54,13 +54,11 @@ def lint(session):
5454
"oauth2client>=4,<=5dev",
5555
],
5656
)
57+
@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
5758
def unit(session, oauth2client):
5859
session.install(*test_dependencies)
5960
session.install(oauth2client)
60-
if session.python < "3.0":
61-
session.install("django<2.0.0")
62-
else:
63-
session.install("django>=2.0.0")
61+
session.install("django>=2.0.0")
6462

6563
session.install('.')
6664

setup.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,6 @@
1919
"""
2020
from __future__ import print_function
2121

22-
import sys
23-
24-
if sys.version_info < (2, 7):
25-
print("google-api-python-client requires python version >= 2.7.", file=sys.stderr)
26-
sys.exit(1)
27-
if (3, 1) <= sys.version_info < (3, 4):
28-
print("google-api-python-client requires python3 version >= 3.4.", file=sys.stderr)
29-
sys.exit(1)
30-
3122
import io
3223
import os
3324
from setuptools import setup
@@ -61,18 +52,17 @@
6152
author_email="[email protected]",
6253
url="https://github.com/googleapis/google-api-python-client/",
6354
install_requires=install_requires,
64-
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
55+
python_requires=">=3.5",
6556
packages=packages,
6657
package_data={},
6758
license="Apache 2.0",
6859
keywords="google api client",
6960
classifiers=[
70-
"Programming Language :: Python :: 2",
71-
"Programming Language :: Python :: 2.7",
7261
"Programming Language :: Python :: 3",
7362
"Programming Language :: Python :: 3.5",
7463
"Programming Language :: Python :: 3.6",
7564
"Programming Language :: Python :: 3.7",
65+
"Programming Language :: Python :: 3.8",
7666
"Development Status :: 5 - Production/Stable",
7767
"Intended Audience :: Developers",
7868
"License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)