From f92fb1ce209220d5f06218306da6d7b66bf5884b Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Mon, 15 Nov 2021 11:19:28 +0100 Subject: [PATCH] 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 --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 99d2eb0..02edeef 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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"