Skip to content

Commit 00428a1

Browse files
authored
Enforce Python 3.6 in setup.py to support JKM (#142)
1 parent 94e4d5c commit 00428a1

File tree

3 files changed

+14
-12
lines changed

3 files changed

+14
-12
lines changed

.travis.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ cache:
55
directories:
66
- $HOME/.cache/bower
77
- $HOME/.cache/pip
8-
python:
9-
- 3.6
10-
118
env:
129
global:
1310
- PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH
@@ -28,7 +25,6 @@ install:
2825
- pip freeze
2926
- wget https://github.com/jgm/pandoc/releases/download/1.19.1/pandoc-1.19.1-1-amd64.deb && sudo dpkg -i pandoc-1.19.1-1-amd64.deb
3027

31-
3228
script:
3329
- jupyter kernelspec list
3430
- |
@@ -41,7 +37,7 @@ script:
4137
else
4238
true
4339
fi
44-
- 'if [[ $GROUP == python ]]; then nosetests -v --with-coverage --cover-package=jupyter_server jupyter_server; fi'
40+
- 'if [[ $GROUP == python ]]; then nosetests -v jupyter_server; fi'
4541
- |
4642
if [[ $GROUP == docs ]]; then
4743
EXIT_STATUS=0
@@ -54,17 +50,20 @@ script:
5450
exit $EXIT_STATUS
5551
fi
5652
57-
5853
matrix:
5954
include:
60-
- python: 3.5
55+
- python: 3.6
6156
env: GROUP=python
6257
- python: 3.7
6358
env: GROUP=python
6459
- python: 3.8
6560
env: GROUP=python
6661
- python: 3.6
6762
env: GROUP=docs
63+
- python: 3.7
64+
env: GROUP=docs
65+
- python: 3.8
66+
env: GROUP=docs
6867

6968
after_success:
7069
- codecov

appveyor.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ environment:
66
matrix:
77
- CONDA_PY: 36
88
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
9+
- CONDA_PY: 37
10+
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
11+
- CONDA_PY: 38
12+
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
913

1014
platform:
1115
- x64
@@ -21,4 +25,4 @@ install:
2125
- cmd: pip install .[test]
2226

2327
test_script:
24-
- nosetests -v jupyter_server --exclude-dir notebook\tests\selenium
28+
- nosetests -v jupyter_server --exclude-dir jupyter_server\tests\selenium

setup.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
name = "jupyter_server"
2020

2121
# Minimal Python version sanity check
22-
if sys.version_info < (3,5):
23-
error = "ERROR: %s requires Python version 3.5 or above." % name
22+
if sys.version_info < (3,6):
23+
error = "ERROR: %s requires Python version 3.6 or above." % name
2424
print(error, file=sys.stderr)
2525
sys.exit(1)
2626

@@ -67,7 +67,6 @@
6767
'License :: OSI Approved :: BSD License',
6868
'Programming Language :: Python',
6969
'Programming Language :: Python :: 3',
70-
'Programming Language :: Python :: 3.5',
7170
'Programming Language :: Python :: 3.6',
7271
'Programming Language :: Python :: 3.7',
7372
],
@@ -95,7 +94,7 @@
9594
'nbval', 'nose-exclude', 'selenium', 'pytest', 'pytest-cov'],
9695
'test:sys_platform == "win32"': ['nose-exclude'],
9796
},
98-
python_requires = '>=3.5',
97+
python_requires = '>=3.6',
9998
entry_points = {
10099
'console_scripts': [
101100
'jupyter-server = jupyter_server.serverapp:main',

0 commit comments

Comments
 (0)