From a31650a99ab37c681710a58a46284411d1a7e4e9 Mon Sep 17 00:00:00 2001 From: gbtami Date: Sun, 5 Jul 2020 10:55:36 +0200 Subject: [PATCH] Back to Xenial on travis --- .travis.yml | 2 +- pychess | 4 ++-- setup.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 12738a551..b5f1d9227 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ matrix: include: - os: linux sudo: required - dist: bionic + dist: xenial language: generic env: PYTHON="python3" PACKAGES="python3-cairo python3-gi python3-gi-cairo python3-sqlalchemy python3-psutil python3-websockets python3-pip stockfish" diff --git a/pychess b/pychess index bbe3edbaa..d7dc8bfa9 100755 --- a/pychess +++ b/pychess @@ -43,8 +43,8 @@ if not getattr(sys, 'frozen', False): pass # Check requirements -if sys.version_info < (3, 5, 3): - print('ERROR: PyChess requires Python >= 3.5.3') +if sys.version_info < (3, 5, 0): + print('ERROR: PyChess requires Python >= 3.5.0') sys.exit(1) try: diff --git a/setup.py b/setup.py index 1c51f8a28..d3687b76a 100755 --- a/setup.py +++ b/setup.py @@ -27,8 +27,8 @@ else: from distutils.core import setup -if sys.version_info < (3, 5, 3): - print('ERROR: PyChess requires Python >= 3.5.3') +if sys.version_info < (3, 5, 0): + print('ERROR: PyChess requires Python >= 3.5.0') sys.exit(1) if sys.platform == "win32":