Skip to content

[pull] master from jupyter-server:master #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 287 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
287 commits
Select commit Hold shift + click to select a range
6b43fa7
Back to dev version
blink1073 Mar 23, 2021
a6a5d10
Merge pull request #454 from afshin/config-dir
blink1073 Mar 23, 2021
40f653d
allow pre_save_hook to cancel save with HTTPError
minrk Mar 24, 2021
c3303cd
Merge pull request #456 from minrk/allow-pre-save-raise
blink1073 Mar 24, 2021
12b28ff
Changelog for 1.5.1
blink1073 Mar 24, 2021
4d730d1
Merge pull request #458 from jupyter-server/blink1073-patch-1
blink1073 Mar 24, 2021
6607c5c
Release 1.5.1
blink1073 Mar 24, 2021
b53f9c3
Back to dev version
blink1073 Mar 24, 2021
6cad9ee
Merge pull request #404 from vidartf/km-re-now
blink1073 Mar 24, 2021
5a5052e
descriptive log for port unavailable and port-retries=0
afshin Mar 25, 2021
500e94e
Merge pull request #459 from afshin/backport-5136
blink1073 Mar 25, 2021
c8588ef
Delete the extra “or” that prevents easy cut-and-paste of URLs.
jasongrout Mar 26, 2021
5d207a8
Merge pull request #460 from jasongrout/no-or
blink1073 Mar 26, 2021
5d50daa
Add env variable support for port options
afshin Mar 26, 2021
5ee5e2b
Add support for JUPYTER_TOKEN_FILE
afshin Mar 30, 2021
c18361c
Merge pull request #462 from afshin/jupyter-token-file
kevin-bates Mar 30, 2021
d785a5c
Update description for kernel restarted
jtpio Mar 30, 2021
d3d2805
Merge pull request #461 from afshin/backport-5221
blink1073 Mar 30, 2021
3f66c16
Merge pull request #463 from jtpio/api-spec-description
blink1073 Mar 30, 2021
0db8cb2
Remove unnecessary future imports
afshin Mar 31, 2021
9d79ef9
Merge pull request #464 from afshin/backport-5805
blink1073 Mar 31, 2021
fc8a057
Rename GatewayKernelManager to GatewayKernelManagers
kevin-bates Mar 31, 2021
062b5f4
Restructure files
kevin-bates Mar 31, 2021
92ed13d
Add Changelog to Sphinx Docs
afshin Apr 1, 2021
a0f98a0
Merge pull request #465 from afshin/sphinx-changelog
blink1073 Apr 1, 2021
e537be5
Refactor to more closely model standard kernel managers
kevin-bates Apr 3, 2021
cf02edf
Add ReadTheDocs config
jtpio Apr 8, 2021
fcd70b6
Use node 14 for the docs environment
jtpio Apr 8, 2021
724c38e
Merge pull request #468 from jtpio/rtd
blink1073 Apr 8, 2021
8d6b667
Add Changelog for 1.6
blink1073 Apr 8, 2021
7718297
Merge pull request #469 from jupyter-server/blink1073-patch-1
blink1073 Apr 8, 2021
cea2e02
Release 1.6.0
blink1073 Apr 8, 2021
723786e
Back to dev version
blink1073 Apr 8, 2021
588b5be
Correct 'Content-Type' headers
faucct Apr 9, 2021
1f313d9
Merge pull request #471 from faucct/patch-1
blink1073 Apr 9, 2021
5839771
Fix race condition with async kernel management
jtpio Apr 9, 2021
02cc7d7
Merge pull request #472 from jtpio/race-condition
blink1073 Apr 9, 2021
276762e
Fix kernel lookup
davidbrochart Apr 12, 2021
5dfdb1d
Merge pull request #475 from davidbrochart/fix_kernel_lookup
kevin-bates Apr 12, 2021
c7f24a4
Add Extension App aliases to server App
jtpio Apr 12, 2021
2756a29
Merge pull request #473 from jtpio/server-aliases
blink1073 Apr 12, 2021
34ec42d
Update Changelog for 1.6.1
blink1073 Apr 12, 2021
c741c00
Merge pull request #476 from jupyter-server/blink1073-patch-1
blink1073 Apr 12, 2021
3cccc37
Release 1.6.1
blink1073 Apr 12, 2021
940bd2e
back to dev version
blink1073 Apr 12, 2021
43384a3
Use Jupyter Packaging
jtpio Apr 14, 2021
efbe484
Merge pull request #477 from jtpio/packaging-0-9
blink1073 Apr 14, 2021
88e87f8
Tighten xsrf checks
jtpio Apr 16, 2021
9fb3729
Re-enable support for answer_yes flag
jtpio Apr 16, 2021
dc2a5b5
Merge pull request #478 from jtpio/xsrf
blink1073 Apr 16, 2021
a715321
Merge pull request #479 from jtpio/answer-yes
blink1073 Apr 16, 2021
dfe6800
Add changelog for 1.6.2
blink1073 Apr 16, 2021
dc771c4
Merge pull request #480 from jupyter-server/blink1073-patch-1
blink1073 Apr 16, 2021
1296e6f
Bump to 1.6.2
blink1073 Apr 16, 2021
b7574c1
update release instructions
blink1073 Apr 16, 2021
1d8de0e
update release instructions
blink1073 Apr 16, 2021
26612a3
Bump to 1.7.0.dev0
blink1073 Apr 16, 2021
2f78646
update release instructions
blink1073 Apr 16, 2021
41e837f
update release instructions
blink1073 Apr 16, 2021
2e36f8a
Fix nudge and activity issues when kernel ports change on restarts
kevin-bates Apr 17, 2021
aa26367
Merge pull request #482 from kevin-bates/handle-port-changes
blink1073 Apr 19, 2021
992d7ae
Update with latest, handle case where GatewayKM has no parent
kevin-bates Apr 19, 2021
1200ffb
Address code analysis issues
kevin-bates Apr 20, 2021
2b51ee3
Gate anyio version
afshin Apr 21, 2021
fe4a643
Update changelog for 1.6.3
blink1073 Apr 21, 2021
b889445
Merge pull request #484 from jupyter-server/blink1073-patch-1
blink1073 Apr 21, 2021
73557fa
Bump to 1.6.3
blink1073 Apr 21, 2021
8bfdd40
Bump to 1.7.0.dev0
blink1073 Apr 21, 2021
0d11ffc
Fix loading of sibling extensions
afshin Apr 21, 2021
68a64ea
Merge pull request #485 from afshin/siblings
blink1073 Apr 21, 2021
3cd12ca
Update changelog for 1.6.4
blink1073 Apr 21, 2021
3877a2c
Merge branch 'master' into refactor-gateway-km
kevin-bates Apr 21, 2021
ab1ee17
Merge pull request #486 from jupyter-server/blink1073-patch-1
blink1073 Apr 21, 2021
8082658
Bump to 1.6.4
blink1073 Apr 21, 2021
d3b40f4
Bump to 1.7.0.dev0
blink1073 Apr 21, 2021
b71bf81
Rename GatewayKernelManagers to GatewayMappingKernelManager
kevin-bates Apr 22, 2021
265abd2
Add Appropriate Token Permission for CodeQL Workflow
afshin Apr 22, 2021
6a3fc57
Merge pull request #489 from afshin/codeql-permission
blink1073 Apr 22, 2021
a561051
Typo in shutdown with answer_yes
kiendang Apr 24, 2021
15d3782
Merge pull request #491 from kiendang/shutdown-y-typo
blink1073 Apr 24, 2021
d2ae127
Remove some of ipython_genutils no-op.
Carreau Mar 8, 2021
0fa4721
DOC: Autoreformat docstrings.
Carreau Apr 24, 2021
3cb4230
Merge pull request #440 from Carreau/no-genutils
blink1073 Apr 24, 2021
ca5622a
Merge pull request #493 from Carreau/doc-1
blink1073 Apr 24, 2021
cf50700
Prep for Release Helper Usage
jtpio Apr 25, 2021
6f4c0b8
Remove permissions from CI workflow
jtpio Apr 30, 2021
7ceebda
Merge pull request #494 from jtpio/releaser
blink1073 Apr 30, 2021
cb0d3aa
Fix for recursive symlink - Notebook 4670
kevin-bates Apr 29, 2021
ad9ccb3
Merge pull request #497 from kevin-bates/handle-eacces
blink1073 Apr 30, 2021
d040e51
Remove some of ipython_genutils no-op.
Carreau Mar 8, 2021
4f4eab2
DOC: Autoreformat docstrings.
Carreau Apr 24, 2021
e6b46cd
Prep for Release Helper Usage
jtpio Apr 25, 2021
d80df5b
Remove permissions from CI workflow
jtpio Apr 30, 2021
80d9ad5
Fix for recursive symlink - Notebook 4670
kevin-bates Apr 29, 2021
6dce4d9
Merge branch 'master' of github.com:jupyter/jupyter_server
mwakaba2 May 1, 2021
02d2e8b
Upgrade anyio to v3
mwakaba2 Apr 24, 2021
eee9d65
Automated Changelog Entry for 1.7.0a0 on master
github-actions[bot] May 1, 2021
afae85a
Merge pull request #498 from jupyter-server/changelog-5d560c9aaa5e11e…
blink1073 May 1, 2021
9b3abb9
Automated Changelog Entry for 1.7.0a0 on master
github-actions[bot] May 1, 2021
52327b4
Merge pull request #499 from jupyter-server/changelog-de6a5dc6aa6411e…
blink1073 May 1, 2021
e4784ba
Publish 1.7.0a0
github-actions[bot] May 1, 2021
5e77b73
Bump to 1.8.0.dev0
github-actions[bot] May 1, 2021
827fc6a
Merge branch 'master' into refactor-gateway-km
kevin-bates May 1, 2021
eff9b0a
Cap anyio < 3 for python < 3.7
mwakaba2 May 3, 2021
87298c9
return True on successful ExtensionPoint validation
minrk May 3, 2021
0a86f7c
fail validation if validate returns False
minrk May 3, 2021
08bfe34
ExtensionManager: load default config manager by default
minrk May 3, 2021
678878f
Merge pull request #492 from mwakaba2/upgrade-anyio-3
kevin-bates May 3, 2021
ccb4e2d
Merge pull request #503 from minrk/validate-return
Zsailer May 3, 2021
a0135ca
Merge pull request #502 from minrk/default-config-manager
Zsailer May 3, 2021
f4ba1ce
Resolve conflict due to anyio updates
kevin-bates May 3, 2021
fa12a2e
Merge pull request #483 from kevin-bates/refactor-gateway-km
blink1073 May 4, 2021
97858ec
Include backtrace in debug output when extension fails to load
candlerb May 5, 2021
bc2dc4e
Merge pull request #506 from candlerb/candlerb/extension-backtrace
blink1073 May 5, 2021
bb1342f
Automated Changelog Entry for 1.7.0a1 on master
github-actions[bot] May 5, 2021
6dfb11b
Merge pull request #507 from jupyter-server/changelog-9703266aad8a11e…
blink1073 May 5, 2021
9e56ba4
Publish 1.7.0a1
github-actions[bot] May 5, 2021
48cf6a5
Bump to 1.8.0.dev0
github-actions[bot] May 5, 2021
1302c7e
Increase minimum jupyter_core dependency
kevin-bates May 6, 2021
69aa2e5
Merge pull request #509 from kevin-bates/bump-core
blink1073 May 6, 2021
77f72c9
Automated Changelog Entry for 1.7.0a2 on master
github-actions[bot] May 6, 2021
c6d2c9a
Merge pull request #510 from jupyter-server/changelog-3439b2e4aeb411e…
blink1073 May 6, 2021
a9409ea
Publish 1.7.0a2
github-actions[bot] May 6, 2021
858b6a7
Bump to 1.7.0.dev0
github-actions[bot] May 6, 2021
c656351
initial commit
the-higgs May 7, 2021
0b20cce
remove redundant code
the-higgs May 7, 2021
75f9bf0
pass kernal id to start_kernal
the-higgs May 7, 2021
3c7cf64
fix tests
the-higgs May 7, 2021
30f8d5b
Async NbconvertRootHandler with anyio.to_thread.run_sync()
May 7, 2021
3927d28
Merge pull request #512 from hMED22/make-nbconvert-root-handler-async…
blink1073 May 7, 2021
20f93cc
simplify code
the-higgs May 7, 2021
627898f
Merge pull request #511 from higgsb0/use_kernel_id
Zsailer May 7, 2021
d9272f2
Drop dependency on pywin32
kevin-bates May 9, 2021
0c63b2e
Merge pull request #514 from kevin-bates/drop-pywin32
SylvainCorlay May 9, 2021
ef9f319
Remove Packaging Dependency
jtpio May 10, 2021
454a66a
Merge pull request #515 from jtpio/remove-packaging-dep
blink1073 May 10, 2021
7193873
Automated Changelog Entry for 1.7.0 on master
github-actions[bot] May 10, 2021
c24af83
Combine changelog entries
blink1073 May 10, 2021
896f8ab
Merge pull request #516 from jupyter-server/changelog-2bc0d316b17c11e…
Zsailer May 10, 2021
1187968
Bump to 1.7.0
blink1073 May 10, 2021
f5b3b2d
Bump to 1.8.0.dev0
blink1073 May 10, 2021
15417ff
init_httpserver at the end of initialize (#517)
minrk May 13, 2021
6bf5914
restore preference for SelectorEventLoop on Windows (#513)
minrk May 13, 2021
284c938
set default config dir name (#504)
minrk May 13, 2021
83a49c8
Enable Server Tests on Windows (#519)
jtpio May 18, 2021
5f76fda
Upgrade anyio to 3.1 for all py versions (#521)
May 19, 2021
b063117
add property with sorted extensions (#522)
Zsailer May 20, 2021
bbe676d
Automated Changelog Entry for 1.8.0 on master (#524)
blink1073 May 20, 2021
687e19b
Publish 1.8.0
github-actions[bot] May 20, 2021
3343101
Bump to 1.9.0.dev0
github-actions[bot] May 20, 2021
40c477b
[Notebook port 4835] Add UNIX socket support to notebook server (#525)
jtpio May 24, 2021
fd19cdc
fix jp_ws_fetch not work by its own #441 (#527)
eastonsuo May 26, 2021
19ab0a9
Test Downstream Packages (#528)
blink1073 May 26, 2021
86b68e6
argon2 as an optional dependency (#532)
vidartf Jun 1, 2021
f29bb11
adds `GatewayClient.auth_scheme` configurable (#529)
telamonian Jun 1, 2021
51e3ec3
Update link to meeting notes (#535)
krassowski Jun 3, 2021
450010e
enable a way to run a task when an io_loop is created (#531)
eastonsuo Jun 17, 2021
c0a67e4
Fixes AsyncContentsManager#exists (#542)
icankeep Jun 24, 2021
f712734
Fix nbconvert handler (#545)
davidbrochart Jun 24, 2021
18156d5
Automated Changelog Entry for 1.9.0 on master (#546)
Jun 24, 2021
42c27d9
Publish 1.9.0
github-actions[bot] Jun 24, 2021
2595716
Bump to 1.10.0.dev0
github-actions[bot] Jun 24, 2021
6f970c5
Rebuild package-lock, fixing local setup (#548)
martinRenou Jul 2, 2021
81d46e3
extensions: allow extensions in namespace packages (#523)
oliver-sanders Jul 7, 2021
f7290dc
PR: Add a new preferred-dir traitlet (#549)
goanpeca Jul 8, 2021
195ed51
stop hook for extensions (#526)
oliver-sanders Jul 8, 2021
e3b2dad
small test changes (#541)
oliver-sanders Jul 8, 2021
c9ee2a4
Fix examples/simple test execution (#552)
davidbrochart Jul 19, 2021
0d83ebb
Automated Changelog Entry for 1.10.0 on master (#554)
Zsailer Jul 21, 2021
a8858c1
Publish 1.10.0
github-actions[bot] Jul 22, 2021
b4b1517
Bump to 1.11.0.dev0
github-actions[bot] Jul 22, 2021
42a1956
Protect against unset spec (#556)
fcollonval Jul 23, 2021
5630284
Automated Changelog Entry for 1.10.1 on master (#557)
Jul 23, 2021
1ef3a02
Publish 1.10.1
github-actions[bot] Jul 23, 2021
37b3015
Bump to 1.11.0.dev0
github-actions[bot] Jul 23, 2021
05913dd
Update check-release.yml (#558)
afshin Jul 23, 2021
7d2f04f
Fix typo in allow_password_change help (#559)
manics Jul 23, 2021
52e9467
add space in the welcome message (#561)
echarles Jul 26, 2021
2d43c93
fix: make command line aliases work again (#564)
mariobuikhuizen Aug 2, 2021
7956dc5
decode bytes from secure cookie (#562)
oliver-sanders Aug 2, 2021
26d01b7
Automated Changelog Entry for 1.10.2 on master (#567)
Zsailer Aug 2, 2021
8989616
Publish 1.10.2
github-actions[bot] Aug 2, 2021
559ea43
Bump to 1.11.0.dev0
github-actions[bot] Aug 2, 2021
f914126
clean up link checking (#569)
Aug 11, 2021
1444737
Set stacklevel on warning to point to the right place. (#572)
Carreau Aug 17, 2021
e617a8a
Add Pre-Commit Config
fcollonval Aug 20, 2021
be7f643
Initial pre-commit reformat
fcollonval Aug 20, 2021
90f619c
Correct git blame ignore
fcollonval Aug 20, 2021
bc37a81
Allow non-empty directory deletion for windows through settings
fcollonval Aug 20, 2021
e3a146e
Update `always_delete_dir` documentation
fcollonval Aug 23, 2021
7231909
Respect reraise setting
vidartf Aug 13, 2021
37a1ecb
lint unused var
vidartf Aug 17, 2021
52e1095
Ensure extension manager always has a handle to serverapp
vidartf Aug 17, 2021
31ce1a6
Add simple regression tests
vidartf Aug 17, 2021
9c419a6
Tune pypy version on OSX CI
vidartf Aug 20, 2021
e164bc7
Fix pypy conditionals
vidartf Aug 24, 2021
b908f55
Fix the fix
vidartf Aug 24, 2021
49d5772
pytest: package conftest (#576)
oliver-sanders Aug 24, 2021
633fd0a
pytest_plugin: allow user specified headers in jp_ws_fetch
oliver-sanders Sep 8, 2021
7574898
pytest_plugin: fix mutable kwarg defaults
oliver-sanders Sep 8, 2021
887aeb7
Shutdown kernels on api/shutdown
martinRenou Sep 6, 2021
4450cd2
Shutdown terminals on api/shutdown
martinRenou Sep 6, 2021
fe71878
Call cleanup on api/shutdown
martinRenou Sep 6, 2021
836b5ab
Fix call to cleanup
martinRenou Sep 6, 2021
1863fde
Fix jupyter_client warning (#581)
martinRenou Sep 9, 2021
289ce54
Automated Changelog Entry for 1.11.0 on master (#582)
Sep 9, 2021
67cdb6b
Publish 1.11.0
github-actions[bot] Sep 9, 2021
ac93dd8
Do not log connection error if the kernel is already shutdown (#584)
martinRenou Sep 17, 2021
f4c3889
[BUG]: allow None for min_open_files_limit trait (#587)
Zsailer Oct 4, 2021
8da8f51
Automated Changelog Entry for 1.11.1 on master (#589)
Zsailer Oct 4, 2021
218dbb2
Publish 1.11.1
github-actions[bot] Oct 4, 2021
ba3dacf
Bump to 1.12.0.dev0
github-actions[bot] Oct 4, 2021
cc1b87c
add a pytest fixture for capturing logging stream (#588)
Zsailer Oct 5, 2021
1a6a481
Bump ansi-regex from 5.0.0 to 5.0.1 (#590)
dependabot[bot] Oct 7, 2021
f944deb
Fix missing await when call 'async_replace_file' (#595)
Wh1isper Oct 20, 2021
29be9c6
bugfix: dir_exists is never awaited (#597)
stdll00 Oct 29, 2021
6bd015c
make nbconvert API test less dependent on nbconvert versions (#601)
Zsailer Nov 1, 2021
8b9a3f7
Remove request_unixsocket dependency (#599)
kevin-bates Nov 1, 2021
fda4cc5
fix deprecation warning by making the regex a raw string (#600)
Zsailer Nov 1, 2021
1139804
Automated Changelog Entry for 1.11.2 on master (#602)
Zsailer Nov 1, 2021
f41eb75
Publish 1.11.2
github-actions[bot] Nov 1, 2021
121c0e6
Bump to 1.12.0.dev0
github-actions[bot] Nov 1, 2021
3ecb4e0
Fix allow_origin_pat property to properly parse regex (#603)
havok2063 Nov 2, 2021
a1b013e
Consistent logging method (#607)
mwakaba2 Nov 6, 2021
6c8c923
update jpserver-extensions trait to work with traitlets 5.x (#610)
Zsailer Nov 15, 2021
fdceb62
Enforce labels on PRs (#613)
blink1073 Nov 18, 2021
5931903
set xsrf cookie on base url (#612)
minrk Nov 18, 2021
c5c515b
test_api: Normalize file name and path (#608)
toonn Nov 22, 2021
758dba6
Use pending kernels (#593)
blink1073 Nov 23, 2021
0039a84
Automated Changelog Entry for 1.12.0 on master (#615)
blink1073 Nov 23, 2021
fe41702
Publish 1.12.0
github-actions[bot] Nov 23, 2021
e3eec2a
use maintainer-tools (#616)
blink1073 Nov 24, 2021
309375c
await _finish_kernel_start (#617)
jtpio Nov 26, 2021
ead8337
Update to Python 3.10 in the CI workflows (#618)
jtpio Nov 26, 2021
04dbdd6
Automated Changelog Entry for 1.12.1 on master (#619)
blink1073 Nov 26, 2021
3b72d9c
Publish 1.12.1
github-actions[bot] Nov 26, 2021
e5cb6c4
Clean up version info handling (#620)
blink1073 Nov 28, 2021
7e11d8e
Nudge on the control channel instead of the shell (#628)
JohanMabille Dec 3, 2021
2f3f628
Clean up downstream tests (#629)
blink1073 Dec 6, 2021
b51969f
Persistent session storage (#614)
Zsailer Dec 6, 2021
c3976ac
Automated Changelog Entry for 1.13.0 on master (#631)
Zsailer Dec 6, 2021
3af6396
Publish 1.13.0
github-actions[bot] Dec 6, 2021
a054178
Bump to 1.14.0.dev0
github-actions[bot] Dec 6, 2021
82cd791
fix macos check (#632)
blink1073 Dec 6, 2021
affd5d9
nudge both the shell and control channels (#636)
Zsailer Dec 9, 2021
156a7fd
Automated Changelog Entry for 0.13.1 on master (#637)
Zsailer Dec 9, 2021
a7329dc
Typo in changelog
Zsailer Dec 9, 2021
ea43db9
Publish 1.13.1
github-actions[bot] Dec 9, 2021
efde026
Bump to 1.14.0.dev0
github-actions[bot] Dec 9, 2021
606487a
remove redundant pylint check (#635)
minrk Dec 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["es2015"],
{
"presets": ["es2015"]
}
22 changes: 11 additions & 11 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 1,
"no-cond-assign": 2,
"no-debugger": 2,
"comma-dangle": 0,
"no-unreachable" : 2
}
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"semi": 1,
"no-cond-assign": 2,
"no-debugger": 2,
"comma-dangle": 0,
"no-unreachable": 2
}
}
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Initial pre-commit reformat
42fe3bb4188a1fbd1810674776e7855cd529b8fc
2 changes: 2 additions & 0 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[blame]
ignoreRevsFile = .git-blame-ignore-revs
29 changes: 29 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Check Release
on:
push:
branches: ["master"]
pull_request:
branches: ["*"]

jobs:
check_release:
runs-on: ubuntu-latest
strategy:
matrix:
group: [check_release, link_check]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install Dependencies
run: |
pip install -e .
- name: Check Release
if: ${{ matrix.group == 'check_release' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Run Link Check
if: ${{ matrix.group == 'link_check' }}
uses: jupyter-server/jupyter_releaser/.github/actions/check-links@v1
63 changes: 33 additions & 30 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ name: "CodeQL"

on:
push:
branches: [ '*' ]
branches: ["master"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
branches: [master]
schedule:
- cron: '25 18 * * 4'
- cron: "25 18 * * 4"

permissions:
security-events: write

jobs:
analyze:
Expand All @@ -29,41 +32,41 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'python' ]
language: ["python"]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more...
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection

steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
queries: security-and-quality
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main
queries: security-and-quality

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release
#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
49 changes: 49 additions & 0 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
name: Test downstream projects

on:
push:
branches: "*"
pull_request:
branches: "*"

jobs:
tests:
runs-on: ubuntu-latest
timeout-minutes: 15

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Test jupyterlab_server
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: jupyterlab_server

- name: Test jupyterlab
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: jupyterlab
test_command: "python -m jupyterlab.browser_check --no-browser-test"

- name: Test nbclassic
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: nbclassic

- name: Test run nbclassic
run: |
pip install nbclassic
pip install --force-reinstall "."

# Make sure we can start and kill the nbclassic server
jupyter nbclassic --no-browser &
TASK_PID=$!
# Make sure the task is running
ps -p $TASK_PID || exit 1
sleep 5
kill $TASK_PID
wait $TASK_PID
11 changes: 11 additions & 0 deletions .github/workflows/enforce-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Enforce PR label

on:
pull_request:
types: [labeled, unlabeled, opened, edited, synchronize]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- name: enforce-triage-label
uses: jupyterlab/maintainer-tools/.github/actions/enforce-label@v1
29 changes: 29 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Jupyter Server Integration Tests [Linux]
on:
push:
branches: "master"
pull_request:
branches: "*"
jobs:
build:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install the Python dependencies
run: |
pip install -e ".[test]"
- name: List installed packages
run: |
pip freeze
pip check
- name: Run the tests
run: |
pytest -vv --integration_tests=true jupyter_server
120 changes: 64 additions & 56 deletions .github/workflows/python-linux.yml
Original file line number Diff line number Diff line change
@@ -1,68 +1,76 @@
name: Jupyter Server Tests [Linux]
on:
push:
branches: '*'
branches: "master"
pull_request:
branches: '*'
branches: "*"
jobs:
# Run "pre-commit run --all-files"
pre-commit:
runs-on: ubuntu-20.04
timeout-minutes: 2

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8

# ref: https://github.com/pre-commit/action
- uses: pre-commit/action@v2.0.0
- name: Help message if pre-commit fail
if: ${{ failure() }}
run: |
echo "You can install pre-commit hooks to automatically run formatting"
echo "on each commit with:"
echo " pre-commit install"
echo "or you can run by hand on staged files with"
echo " pre-commit run"
echo "or after-the-fact on already committed files with"
echo " pre-commit run --all-files"

build:
runs-on: ${{ matrix.os }}-latest
strategy:
fail-fast: false
matrix:
os: [ubuntu]
python-version: [ '3.6', '3.7', '3.8', '3.9', 'pypy3' ]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "pypy3"]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
architecture: 'x64'
- name: Upgrade packaging dependencies
run: |
pip install --upgrade pip setuptools wheel --user
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache pip
uses: actions/cache@v1
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-pip-${{ matrix.python-version }}-
${{ runner.os }}-pip-
- name: Install the Python dependencies
run: |
pip install -e .[test] codecov
- name: List installed packages
run: |
pip freeze
pip check
- name: Run the tests
if: ${{ matrix.python-version != 'pypy3' }}
run: |
pytest -vv jupyter_server --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered
- name: Run the tests on pypy
if: ${{ matrix.python-version == 'pypy3' }}
run: |
pytest -vv jupyter_server
- name: Install the Python dependencies for the examples
run: |
cd examples/simple && pip install -e .
- name: Run the tests for the examples
run: |
pytest examples/simple/tests/test_handlers.py
- name: Coverage
if: ${{ matrix.python-version != 'pypy3' }}
run: |
codecov
- name: Test full install
run: |
pip uninstall -y jupyter_server
pip install .
cd /tmp
pytest --pyargs jupyter_server
- name: Checkout
uses: actions/checkout@v2
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Install the Python dependencies
run: |
pip install -e ".[test]" codecov
- name: List installed packages
run: |
pip freeze
pip check
- name: Run the tests
if: ${{ matrix.python-version != 'pypy3' }}
run: |
pytest -vv jupyter_server --cov jupyter_server --cov-branch --cov-report term-missing:skip-covered
- name: Run the tests on pypy
if: ${{ matrix.python-version == 'pypy3' }}
run: |
pytest -vv jupyter_server
- name: Install the Python dependencies for the examples
run: |
cd examples/simple && pip install -e .
- name: Run the tests for the examples
run: |
pytest examples/simple
- name: Coverage
if: ${{ matrix.python-version != 'pypy3' }}
run: |
codecov
- name: Test full install
run: |
python -m venv test_install
./test_install/bin/python -m pip install -U pip
./test_install/bin/python -m pip install ".[test]"
pushd test_install
./bin/pytest --pyargs jupyter_server
popd
Loading