Skip to content

Commit e7311d6

Browse files
committed
Merge branch 'master' into extension-app-config
2 parents 0eff967 + 6c88b31 commit e7311d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+3956
-4398
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: Jupyter Server Tests
22
on:
33
push:
44
branches:
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
os: [ubuntu-latest, macos-latest, windows-latest]
15-
python-version: [ '3.6', '3.7', '3.8' ]
15+
python-version: [ '3.5', '3.6', '3.7', '3.8' ]
1616
steps:
1717
- name: Checkout
1818
uses: actions/checkout@v1
@@ -24,6 +24,10 @@ jobs:
2424
- name: Install the Python dependencies
2525
run: |
2626
pip install -e .[test]
27+
- name: ipykernel fix on windows 3.8
28+
if: matrix.os == 'windows-latest' && matrix.python-version == '3.8'
29+
run: |
30+
pip install --upgrade git+https://github.com/ipython/ipykernel.git
2731
- name: Run the tests
2832
run: |
29-
nosetests -v jupyter_server
33+
pytest

.travis.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ script:
3737
else
3838
true
3939
fi
40-
- 'if [[ $GROUP == python ]]; then nosetests -v jupyter_server; fi'
40+
- 'if [[ $GROUP == python ]]; then pytest; fi'
4141
- |
4242
if [[ $GROUP == docs ]]; then
4343
EXIT_STATUS=0
@@ -52,12 +52,16 @@ script:
5252
5353
matrix:
5454
include:
55+
- python: 3.5
56+
env: GROUP=python
5557
- python: 3.6
5658
env: GROUP=python
5759
- python: 3.7
5860
env: GROUP=python
5961
- python: 3.8
6062
env: GROUP=python
63+
- python: 3.5
64+
env: GROUP=docs
6165
- python: 3.6
6266
env: GROUP=docs
6367
- python: 3.7

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Jupyter Server
22

33
[![Google Group](https://img.shields.io/badge/-Google%20Group-lightgrey.svg)](https://groups.google.com/forum/#!forum/jupyter)
4-
[![Build Status](https://travis-ci.org/jupyter/jupyter_server.svg?branch=master)](https://travis-ci.org/jupyter/jupyter_server)
4+
[![Build Status](https://github.com/jupyter/jupyter_server/workflows/CI/badge.svg)](https://github.com/jupyter/jupyter_server/actions)
55
[![Documentation Status](https://readthedocs.org/projects/jupyter-server/badge/?version=latest)](http://jupyter-server.readthedocs.io/en/latest/?badge=latest)
66

77
The Jupyter Server provides the backend for Jupyter web applications such as

appveyor.yml

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,19 @@ matrix:
44

55
environment:
66
matrix:
7+
- CONDA_PY: 35
8+
CONDA_PY_SPEC: 3.5
9+
CONDA_INSTALL_LOCN: "C:\\Miniconda35-x64"
710
- CONDA_PY: 36
11+
CONDA_PY_SPEC: 3.6
812
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
913
- CONDA_PY: 37
10-
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
14+
CONDA_PY_SPEC: 3.7
15+
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"
1116
- CONDA_PY: 38
12-
CONDA_INSTALL_LOCN: "C:\\Miniconda36-x64"
17+
CONDA_PY_SPEC: 3.8
18+
# appveyor doesn't come with this directory, so use 37's since we're creating an env anyway
19+
CONDA_INSTALL_LOCN: "C:\\Miniconda37-x64"
1320

1421
platform:
1522
- x64
@@ -18,11 +25,17 @@ build: off
1825

1926
install:
2027
- cmd: call %CONDA_INSTALL_LOCN%\Scripts\activate.bat
28+
- cmd: set CONDA_PY=%CONDA_PY%
29+
- cmd: set CONDA_PY_SPEC=%CONDA_PY_SPEC%
2130
- cmd: conda config --set show_channel_urls true
2231
- cmd: conda config --add channels conda-forge
23-
#- cmd: conda update --yes --quiet conda
24-
- cmd: conda install -y pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
32+
- cmd: conda update --yes --quiet conda
33+
- cmd: conda info -a
34+
- cmd: conda create -y -q -n test-env-%CONDA_PY% python=%CONDA_PY_SPEC% pyzmq tornado jupyter_client nbformat nbconvert ipykernel pip nose
35+
- cmd: conda activate test-env-%CONDA_PY%
2536
- cmd: pip install .[test]
37+
# FIXME: Use patch for python 3.8, windows issues (https://github.com/ipython/ipykernel/pull/456) - remove once released
38+
- IF %CONDA_PY% == 38 pip install --upgrade git+https://github.com/ipython/ipykernel.git
2639

2740
test_script:
28-
- nosetests -v jupyter_server --exclude-dir jupyter_server\tests\selenium
41+
- pytest

jupyter_server/auth/tests/test_security.py

Lines changed: 0 additions & 25 deletions
This file was deleted.

jupyter_server/extension/tests/test_extension.py

Lines changed: 0 additions & 92 deletions
This file was deleted.

jupyter_server/nbconvert/tests/test_nbconvert_handlers.py

Lines changed: 0 additions & 134 deletions
This file was deleted.

0 commit comments

Comments
 (0)