Bump Python support to 3.4 and up

This commit is contained in:
Carol Willing
2017-07-19 14:57:52 -07:00
parent 738976a956
commit d34f6e779d
3 changed files with 32 additions and 22 deletions

View File

@@ -53,7 +53,7 @@ for administration of the Hub and its users.
A Linux/Unix based system with the following: A Linux/Unix based system with the following:
- [Python](https://www.python.org/downloads/) 3.3 or greater - [Python](https://www.python.org/downloads/) 3.4 or greater
- [nodejs/npm](https://www.npmjs.com/) Install a recent version of - [nodejs/npm](https://www.npmjs.com/) Install a recent version of
[nodejs/npm](https://docs.npmjs.com/getting-started/installing-node) [nodejs/npm](https://docs.npmjs.com/getting-started/installing-node)
For example, install it on Linux (Debian/Ubuntu) using: For example, install it on Linux (Debian/Ubuntu) using:

View File

@@ -7,6 +7,16 @@ command line for details.
## [Unreleased] 0.8 ## [Unreleased] 0.8
#### Added
#### Changed
#### Fixed
#### Removed
- End support for Python 3.3
## 0.7 ## 0.7
### [0.7.2] - 2017-01-09 ### [0.7.2] - 2017-01-09

View File

@@ -15,8 +15,8 @@ import shutil
import sys import sys
v = sys.version_info v = sys.version_info
if v[:2] < (3,3): if v[:2] < (3,4):
error = "ERROR: JupyterHub requires Python version 3.3 or above." error = "ERROR: JupyterHub requires Python version 3.4 or above."
print(error, file=sys.stderr) print(error, file=sys.stderr)
sys.exit(1) sys.exit(1)