diff options
author | Tres Seaver <tseaver@palladion.com> | 2020-12-10 15:19:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-10 15:19:02 -0500 |
commit | fdbed0f0cbae8de21c73338a6817f8aa79cef4c9 (patch) | |
tree | 275f901acf4102b2510182e9550fdc74605e605b /noxfile.py | |
parent | cbf14b314bee8652c6523845116125db232bd0e5 (diff) | |
download | python-api-core-fdbed0f0cbae8de21c73338a6817f8aa79cef4c9.tar.gz |
feat: add support for Python 3.9 (#111)
Also, add missing declaration of support for Python 3.8.
Closes #110.
Diffstat (limited to 'noxfile.py')
-rw-r--r-- | noxfile.py | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -15,7 +15,6 @@ from __future__ import absolute_import import os import shutil -import sys # https://github.com/google/importlab/issues/25 import nox # pytype: disable=import-error @@ -24,7 +23,7 @@ _MINIMAL_ASYNCIO_SUPPORT_PYTHON_VERSION = [3, 6] def _greater_or_equal_than_36(version_string): - tokens = version_string.split('.') + tokens = version_string.split(".") for i, token in enumerate(tokens): try: tokens[i] = int(token) @@ -72,13 +71,13 @@ def default(session): session.run(*pytest_args) -@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"]) +@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]) def unit(session): """Run the unit test suite.""" default(session) -@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8"]) +@nox.session(python=["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]) def unit_grpc_gcp(session): """Run the unit test suite with grpcio-gcp installed.""" |