diff --git a/README.rst b/README.rst index c55730ef..cfe712ac 100644 --- a/README.rst +++ b/README.rst @@ -10,7 +10,7 @@ See the `docs`_ for examples and usage. Supported Python Versions ------------------------- -Python >= 3.4 +Python >= 3.5 Deprecated Python Versions -------------------------- diff --git a/noxfile.py b/noxfile.py index 22d86cd3..e8040694 100644 --- a/noxfile.py +++ b/noxfile.py @@ -24,7 +24,7 @@ GOOGLE_AUTH = 'google-auth >= 0.10.0' -@nox.session(python=['2.7', '3.4', '3.5', '3.6', '3.7']) +@nox.session(python=['2.7', '3.5', '3.6', '3.7', '3.8']) def unit_tests(session): """Run the unit test suite.""" @@ -49,7 +49,7 @@ def unit_tests(session): ) -@nox.session(python='3.6') +@nox.session(python='3.8') def docs(session): """Build the docs.""" @@ -66,7 +66,7 @@ def docs(session): session.run('bash', os.path.join('scripts', 'build_docs.sh')) -@nox.session(python='3.6') +@nox.session(python='3.8') def doctest(session): """Run the doctests.""" # Install Sphinx and other dependencies. @@ -88,7 +88,7 @@ def doctest(session): ) -@nox.session(python='3.6') +@nox.session(python='3.8') def lint(session): """Run flake8. @@ -105,7 +105,7 @@ def lint(session): session.run("black", "--check", os.path.join("google", "resumable_media"), "tests") -@nox.session(python='3.6') +@nox.session(python='3.8') def lint_setup_py(session): """Verify that setup.py is valid (including RST check).""" session.install('docutils', 'Pygments') @@ -113,13 +113,13 @@ def lint_setup_py(session): 'python', 'setup.py', 'check', '--restructuredtext', '--strict') -@nox.session(python='3.6') +@nox.session(python='3.8') def blacken(session): session.install("black") session.run("black", os.path.join("google", "resumable_media"), "tests") -@nox.session(python=['2.7', '3.6']) +@nox.session(python=['2.7', '3.8']) def system_tests(session): """Run the system test suite.""" @@ -148,7 +148,7 @@ def system_tests(session): ) -@nox.session(python='3.6') +@nox.session(python='3.8') def cover(session): """Run the final coverage report. diff --git a/setup.py b/setup.py index 4fb1baae..ff5e0e91 100644 --- a/setup.py +++ b/setup.py @@ -49,7 +49,7 @@ zip_safe=False, install_requires=REQUIREMENTS, extras_require=EXTRAS_REQUIRE, - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', @@ -58,10 +58,10 @@ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', 'Topic :: Internet', ], ) diff --git a/tests/system/requests/test_upload.py b/tests/system/requests/test_upload.py index 9b32555f..22509760 100644 --- a/tests/system/requests/test_upload.py +++ b/tests/system/requests/test_upload.py @@ -76,7 +76,7 @@ def get_upload_id(upload_url): parse_result = urllib_parse.urlparse(upload_url) parsed_query = urllib_parse.parse_qs(parse_result.query) # NOTE: We are unpacking here, so asserting exactly one match. - upload_id, = parsed_query[u"upload_id"] + (upload_id,) = parsed_query[u"upload_id"] return upload_id