Fix invocation with Python 3.9 (#1798929)

- Recommend Python 3.9
This commit is contained in:
Miro Hrončok
2020-02-06 13:14:19 +01:00
parent cbb1e4c150
commit aa466cd2d6
2 changed files with 23 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
diff --git a/src/tox/constants.py b/src/tox/constants.py
index 8dcc86b..1c90e47 100644
--- a/src/tox/constants.py
+++ b/src/tox/constants.py
@@ -30,7 +30,7 @@ def _construct_default_factors(cpython_versions, pypy_versions, other_interprete
class PYTHON:
PY_FACTORS_RE = re.compile("^(?!py$)(py|pypy|jython)([2-9][0-9]?)?$")
- CPYTHON_VERSION_TUPLES = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8)]
+ CPYTHON_VERSION_TUPLES = [(2, 7), (3, 4), (3, 5), (3, 6), (3, 7), (3, 8), (3, 9)]
PYPY_VERSION_TUPLES = [(2, 7), (3, 5)]
OTHER_PYTHON_INTERPRETERS = ["jython"]
DEFAULT_FACTORS = _construct_default_factors(