Force Python version on Travis

This fixes an error

    TypeError: Plain typing.NoReturn is not valid as type argument

The error is due to a bug in Python 2.7.1

https://bugs.python.org/issue34921
This commit is contained in:
Yannick Vaucher
2021-11-15 11:20:56 +01:00
parent 1ca667e20d
commit f92fb1ce20
+3 -1
View File
@@ -3,7 +3,9 @@ sudo: false
cache: pip
python:
- "3.7"
# Force a newer version than 3.7.1 which break build
# due to https://bugs.python.org/issue34921
- "3.7.2"
addons:
postgresql: "9.5"