Skip to content
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

Bgd 5953 workspace switching kernel causes an error #18

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
a20fe64
ContentsHandler return 404 rather than raise exc (#1357)
bloomsa Nov 15, 2023
9f8ff28
Add more typings (#1356)
blink1073 Nov 15, 2023
fcd5740
Publish 2.10.1
blink1073 Nov 15, 2023
60798e3
Bump to 2.11.0.dev0
blink1073 Nov 15, 2023
8ed8b33
typo: ServerApp (#1361)
IITII Nov 16, 2023
ea6ceee
Support get file(notebook) md5 (#1363)
Wh1isper Nov 19, 2023
0983b71
Update ruff and typings (#1365)
blink1073 Nov 19, 2023
e7c0f33
Update api docs with md5 param (#1364)
Wh1isper Nov 19, 2023
cc74bb6
Publish 2.11.0
blink1073 Nov 21, 2023
8e5d766
Bump to 2.12.0.dev0
blink1073 Nov 21, 2023
ecd5b1f
Change md5 to hash and hash_algorithm, fix incompatibility (#1367)
Wh1isper Nov 24, 2023
40a95e5
avoid unhandled error on some invalid paths (#1369)
minrk Nov 25, 2023
3755794
Publish 2.11.1
blink1073 Nov 27, 2023
88eca99
Bump to 2.12.0.dev0
blink1073 Nov 27, 2023
0056c3a
Merge pull request from GHSA-h56g-gq9v-vc8r
minrk Dec 4, 2023
9bd9657
Publish 2.11.2
blink1073 Dec 4, 2023
1dd6d13
Bump to 2.12.0.dev0
blink1073 Dec 4, 2023
290fcf6
chore: update pre-commit hooks (#1370)
pre-commit-ci[bot] Dec 4, 2023
3e08300
Update for tornado 6.4 (#1372)
blink1073 Dec 5, 2023
3bd347b
Support async Authorizers (#1373)
Zsailer Dec 5, 2023
ae6857a
Publish 2.12.0
Zsailer Dec 5, 2023
7f2b4f6
Bump to 2.13.0.dev0
Zsailer Dec 5, 2023
b462387
log extension import time at debug level unless it's actually slow (#…
minrk Dec 6, 2023
a59beb9
Add support for async Authorizers (part 2) (#1374)
Zsailer Dec 6, 2023
cd2a4e0
Publish 2.12.1
Zsailer Dec 6, 2023
b0bbedf
Bump to 2.13.0.dev0
Zsailer Dec 6, 2023
bf8aab2
Use ruff docstring-code-format (#1377)
blink1073 Dec 16, 2023
69d3c58
Enable htmlzip and epub on readthedocs (#1379)
bollwyvl Dec 21, 2023
ac15039
Update pre-commit deps (#1380)
blink1073 Dec 23, 2023
c5493d0
Fix a typo in error message (#1381)
krassowski Jan 2, 2024
4991568
Force legacy ws subprotocol when using gateway (#1311)
epignot Jan 4, 2024
a42c08b
Publish 2.12.2
Zsailer Jan 4, 2024
b711b10
Bump to 2.13.0.dev0
Zsailer Jan 4, 2024
250b924
Fix test param for pytest-xdist (#1382)
tornaria Jan 5, 2024
d3aaaa9
Simplify the jupytext downstream test (#1383)
mwouts Jan 7, 2024
99b9126
Import User unconditionally (#1384)
yuvipanda Jan 9, 2024
6bcaf45
Publish 2.12.3
blink1073 Jan 9, 2024
359148b
Bump to 2.13.0.dev0
blink1073 Jan 9, 2024
7bb21b4
Fix log arguments for gateway client error (#1385)
minrk Jan 11, 2024
f9c6924
Publish 2.12.4
blink1073 Jan 11, 2024
cfd7981
Bump to 2.13.0.dev0
blink1073 Jan 11, 2024
a3a9d3d
Improve warning handling (#1386)
blink1073 Jan 16, 2024
b48e64c
Publish 2.12.5
blink1073 Jan 16, 2024
f8534ca
Bump to 2.13.0.dev0
blink1073 Jan 16, 2024
a71b466
fix "Shutdown" -> "Shut down" (#1389)
Timeroot Feb 4, 2024
8c963a1
chore: update pre-commit hooks (#1390)
pre-commit-ci[bot] Feb 7, 2024
62f4ca2
websockets: add configurations for ping interval and timeout (#1391)
oliver-sanders Feb 15, 2024
7d3264d
Add deprecation note for `ServerApp.preferred_dir` (#1396)
krassowski Feb 15, 2024
95d3b96
Fix color in windows log console with colorama (#1397)
hansepac Feb 16, 2024
b3caa3c
Replace _jupyter_server_extension_paths in apidocs (#1393)
manics Feb 18, 2024
da50f2a
Add an option to have authentication enabled for all endpoints by def…
krassowski Mar 4, 2024
1369a53
Update release workflows (#1399)
blink1073 Mar 4, 2024
d1b8e2c
Publish 2.13.0
blink1073 Mar 4, 2024
49d8cab
Bump to 2.14.0.dev0
blink1073 Mar 4, 2024
69361ee
Pin to Pytest 7 (#1401)
blink1073 Mar 10, 2024
df27810
Update pytest requirement from <8,>=7.0 to >=7.0,<9 (#1402)
dependabot[bot] Mar 12, 2024
f26c1a0
Don't crash on invalid JSON in page_config (#1403) (#1404)
holzman Mar 12, 2024
0adfb2a
Ignore zero-length page_config.json, restore previous behavior of cra…
holzman Mar 13, 2024
da948f0
don't include token in dashboard link, when available (#1406)
minrk Mar 14, 2024
3fbf07e
chore: update pre-commit hooks (#1409)
pre-commit-ci[bot] Apr 1, 2024
0b4d667
Update simple extension README to cd into correct subdirectory (#1410)
markypizz Apr 3, 2024
19498e8
Set all min deps (#1411)
blink1073 Apr 4, 2024
be994d2
Fix jupytext and lint CI failures (#1413)
blink1073 Apr 6, 2024
de6d904
docs: list server extensions (#1412)
oliver-sanders Apr 8, 2024
0746288
Link to GitHub repo from the docs (#1415)
krassowski Apr 11, 2024
e7e5269
Publish 2.14.0
blink1073 Apr 11, 2024
af1342d
Bump to 2.15.0.dev0
blink1073 Apr 11, 2024
375ed54
chore: update pre-commit hooks (#1421)
pre-commit-ci[bot] May 7, 2024
547f7a2
Removing excessive logging from reading local files (#1420)
lresende May 9, 2024
f137916
Use hatch fmt command (#1424)
blink1073 May 28, 2024
79fbf80
Merge pull request from GHSA-hrw6-wg82-cm62
minrk May 31, 2024
6f9b23f
Publish 2.14.1
blink1073 May 31, 2024
2bd980d
Bump to 2.15.0.dev0
blink1073 May 31, 2024
21332f4
Update simple extension examples: _jupyter_server_extension_points (#…
manics May 31, 2024
e07e35f
chore: update pre-commit hooks (#1427)
pre-commit-ci[bot] Jun 4, 2024
b85c15b
Add Changelog for 2.14.1 (#1430)
blink1073 Jun 9, 2024
f2d40f6
chore: update pre-commit hooks (#1441)
pre-commit-ci[bot] Jul 2, 2024
5be0a9a
Update documentation for `cookie_secret` (#1433)
krassowski Jul 10, 2024
0940671
Do not log environment variables passed to kernels (#1437)
krassowski Jul 10, 2024
b961d4e
Pass session_id during Websocket connect (#1440)
gogasca Jul 12, 2024
535d7df
Publish 2.14.2
Zsailer Jul 12, 2024
6ec7321
merge upstream
sigmarkarl Oct 8, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
uses: jupyterlab/maintainer-tools/.github/actions/downstream-test@v1
with:
package_name: jupytext
test_command: pip install pytest-jupyter[server] gitpython pre-commit && python -m ipykernel install --name jupytext-dev --user && pytest -vv -raXxs -W default --durations 10 --color=yes
test_command: pip install pytest-jupyter[server] gitpython pre-commit && python -m ipykernel install --name jupytext-dev --user && pytest -vv -raXxs -W default --durations 10 --ignore=tests/functional/others --color=yes

downstream_check: # This job does nothing and is only used for the branch protection
if: always()
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
post_version_spec:
description: "Post Version Specifier"
required: false
silent:
description: "Set a placeholder in the changelog and don't publish the release."
required: false
type: boolean
since:
description: "Use PRs with activity since this date or git reference"
required: false
Expand All @@ -22,15 +26,18 @@ on:
jobs:
prep_release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Prep Release
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
version_spec: ${{ github.event.inputs.version_spec }}
silent: ${{ github.event.inputs.silent }}
post_version_spec: ${{ github.event.inputs.post_version_spec }}
target: ${{ github.event.inputs.target }}
branch: ${{ github.event.inputs.branch }}
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/publish-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "Publish Changelog"
on:
release:
types: [published]

workflow_dispatch:
inputs:
branch:
description: "The branch to target"
required: false

jobs:
publish_changelog:
runs-on: ubuntu-latest
environment: release
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Publish changelog
id: publish-changelog
uses: jupyter-server/jupyter_releaser/.github/actions/publish-changelog@v2
with:
token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}

- name: "** Next Step **"
run: |
echo "Merge the changelog update PR: ${{ steps.publish-changelog.outputs.pr_url }}"
22 changes: 12 additions & 10 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,32 @@ on:
jobs:
publish_release:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Populate Release
id: populate-release
uses: jupyter-server/jupyter_releaser/.github/actions/populate-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
target: ${{ github.event.inputs.target }}
token: ${{ steps.app-token.outputs.token }}
branch: ${{ github.event.inputs.branch }}
release_url: ${{ github.event.inputs.release_url }}
steps_to_skip: ${{ github.event.inputs.steps_to_skip }}

- name: Finalize Release
id: finalize-release
env:
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
PYPI_TOKEN_MAP: ${{ secrets.PYPI_TOKEN_MAP }}
TWINE_USERNAME: __token__
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: jupyter-server/jupyter-releaser/.github/actions/finalize-release@v2
uses: jupyter-server/jupyter_releaser/.github/actions/finalize-release@v2
with:
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
target: ${{ github.event.inputs.target }}
token: ${{ steps.app-token.outputs.token }}
release_url: ${{ steps.populate-release.outputs.release_url }}

- name: "** Next Step **"
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
wget https://github.com/jgm/pandoc/releases/download/3.1.2/pandoc-3.1.2-1-amd64.deb && sudo dpkg -i pandoc-3.1.2-1-amd64.deb
- name: Run the tests on posix
if: ${{ !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.os, 'windows') }}
run: hatch run cov:test --cov-fail-under 75 || hatch run test:test --lf
run: hatch run cov:test --cov-fail-under 75 || hatch -v run test:test --lf
- name: Run the tests on pypy
if: ${{ startsWith(matrix.python-version, 'pypy') }}
run: hatch run test:nowarn || hatch run test:nowarn --lf
run: hatch run test:nowarn || hatch -v run test:nowarn --lf
- name: Run the tests on windows
if: ${{ startsWith(matrix.os, 'windows') }}
run: hatch run cov:nowarn -s || hatch run cov:nowarn --lf
run: hatch run cov:nowarn -s || hatch -v run cov:nowarn --lf
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1

test_docs:
Expand All @@ -64,14 +64,14 @@ jobs:
sudo apt-get install enchant-2 # for spell checking
- name: Build API docs
run: |
hatch run docs:api
hatch -v run docs:api
# If this fails run `hatch run docs:api` locally
# and commit.
git status --porcelain
git status -s | grep "A" && exit 1
git status -s | grep "M" && exit 1
echo "API docs done"
- run: hatch run docs:build
- run: hatch -v run docs:build

test_lint:
name: Test Lint
Expand All @@ -81,8 +81,8 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Run Linters
run: |
hatch run typing:test
hatch run lint:build
hatch -v run typing:test
hatch fmt
pipx run interrogate -v .
pipx run doc8 --max-line-length=200 --ignore-path=docs/source/other/full-config.rst
npm install -g eslint
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
dependency_type: minimum
- name: Run the unit tests
run: |
hatch -vv run test:nowarn || hatch run test:nowarn --lf
hatch -vv run test:nowarn || hatch -v run test:nowarn --lf

test_prereleases:
name: Test Prereleases
Expand All @@ -127,7 +127,7 @@ jobs:
dependency_type: pre
- name: Run the tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
hatch run test:nowarn || hatch -v run test:nowarn --lf

make_sdist:
name: Make SDist
Expand All @@ -148,7 +148,7 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/test-sdist@v1
with:
package_spec: -vv .
test_command: hatch run test:test || hatch run test:test --lf
test_command: hatch run test:test || hatch -v run test:test --lf

check_release:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
- uses: actions/checkout@v4
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Run the tests
run: hatch run cov:integration
run: hatch -v run cov:integration
- uses: jupyterlab/maintainer-tools/.github/actions/upload-coverage@v1

integration_check_pypy:
Expand All @@ -196,7 +196,7 @@ jobs:
with:
python_version: "pypy-3.8"
- name: Run the tests
run: hatch run test:nowarn --integration_tests=true
run: hatch -v run test:nowarn --integration_tests=true

coverage:
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-case-conflict
- id: check-ast
Expand All @@ -21,7 +21,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.27.3
rev: 0.28.6
hooks:
- id: check-github-workflows

Expand All @@ -39,7 +39,7 @@ repos:
types_or: [yaml, html, json]

- repo: https://github.com/codespell-project/codespell
rev: "v2.2.6"
rev: "v2.3.0"
hooks:
- id: codespell
args: ["-L", "sur,nd"]
Expand All @@ -52,7 +52,7 @@ repos:
- id: rst-inline-touching-normal

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v1.8.0"
rev: "v1.10.1"
hooks:
- id: mypy
files: jupyter_server
Expand All @@ -61,7 +61,7 @@ repos:
["traitlets>=5.13", "jupyter_core>=5.5", "jupyter_client>=8.5"]

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.9
rev: v0.5.0
hooks:
- id: ruff
types_or: [python, jupyter]
Expand All @@ -70,7 +70,7 @@ repos:
types_or: [python, jupyter]

- repo: https://github.com/scientific-python/cookie
rev: "2023.12.21"
rev: "2024.04.23"
hooks:
- id: sp-repo-review
additional_dependencies: ["repo-review[cli]"]
Loading
Loading