Skip to content

Commit 6de753d

Browse files
authored
feat: add Python 3.9 support, drop Python 3.5 support (#655)
Closes #654.
1 parent 2d3b8d1 commit 6de753d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

noxfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def blacken(session):
7575
session.run("black", *BLACK_PATHS)
7676

7777

78-
@nox.session(python=["3.6", "3.7", "3.8"])
78+
@nox.session(python=["3.6", "3.7", "3.8", "3.9"])
7979
def unit(session):
8080
session.install(*TEST_DEPENDENCIES)
8181
session.install(*(ASYNC_DEPENDENCIES))
@@ -90,7 +90,7 @@ def unit(session):
9090
)
9191

9292

93-
@nox.session(python=["2.7", "3.5"])
93+
@nox.session(python=["2.7"])
9494
def unit_prev_versions(session):
9595
session.install(*TEST_DEPENDENCIES)
9696
session.install(".")

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"pyasn1-modules>=0.2.1",
2424
# rsa==4.5 is the last version to support 2.7
2525
# https://github.com/sybrenstuvel/python-rsa/issues/152#issuecomment-643470233
26-
'rsa<4.6; python_version < "3.5"',
27-
'rsa>=3.1.4,<5; python_version >= "3.5"',
26+
'rsa<4.6; python_version < "3.6"',
27+
'rsa>=3.1.4,<5; python_version >= "3.6"',
2828
"setuptools>=40.3.0",
2929
"six>=1.9.0",
3030
)
@@ -48,17 +48,17 @@
4848
namespace_packages=("google",),
4949
install_requires=DEPENDENCIES,
5050
extras_require=extras,
51-
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
51+
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*",
5252
license="Apache 2.0",
5353
keywords="google auth oauth client",
5454
classifiers=[
5555
"Programming Language :: Python :: 2",
5656
"Programming Language :: Python :: 2.7",
5757
"Programming Language :: Python :: 3",
58-
"Programming Language :: Python :: 3.5",
5958
"Programming Language :: Python :: 3.6",
6059
"Programming Language :: Python :: 3.7",
6160
"Programming Language :: Python :: 3.8",
61+
"Programming Language :: Python :: 3.9",
6262
"Development Status :: 5 - Production/Stable",
6363
"Intended Audience :: Developers",
6464
"License :: OSI Approved :: Apache Software License",

0 commit comments

Comments
 (0)