require Python 3.5 for async/await syntax

This commit is contained in:
Min RK
2018-03-02 11:12:31 +01:00
parent 5e14904205
commit 58d602e549
2 changed files with 4 additions and 5 deletions

View File

@@ -3,10 +3,9 @@ sudo: false
cache: cache:
- pip - pip
python: python:
- nightly
- 3.6 - 3.6
- 3.5 - 3.5
- 3.4 - nightly
env: env:
global: global:
- ASYNC_TEST_TIMEOUT=15 - ASYNC_TEST_TIMEOUT=15

View File

@@ -15,8 +15,8 @@ import shutil
import sys import sys
v = sys.version_info v = sys.version_info
if v[:2] < (3,4): if v[:2] < (3, 5):
error = "ERROR: JupyterHub requires Python version 3.4 or above." error = "ERROR: JupyterHub requires Python version 3.5 or above."
print(error, file=sys.stderr) print(error, file=sys.stderr)
sys.exit(1) sys.exit(1)
@@ -100,7 +100,7 @@ setup_args = dict(
license = "BSD", license = "BSD",
platforms = "Linux, Mac OS X", platforms = "Linux, Mac OS X",
keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'], keywords = ['Interactive', 'Interpreter', 'Shell', 'Web'],
python_requires = ">=3.4", python_requires = ">=3.5",
classifiers = [ classifiers = [
'Intended Audience :: Developers', 'Intended Audience :: Developers',
'Intended Audience :: System Administrators', 'Intended Audience :: System Administrators',