Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 3 deletions .github/actions/build-dist/action.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: 'Build Jupyter Notebook'

description: 'Build Jupyter Notebook from source'

runs:
using: 'composite'
steps:
Expand All @@ -11,7 +9,7 @@ runs:
- name: Install dependencies
shell: bash
run: |
python -m pip install hatch "click<8.3.0"
python -m pip install hatch

- name: Build pypi distributions
shell: bash
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- name: Test the package
run: hatch run cov:test

Expand Down Expand Up @@ -82,8 +79,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"
- run: |
sudo apt-get update
sudo apt install enchant-2 # for spelling
Expand All @@ -102,8 +97,6 @@ jobs:
with:
dependency_type: minimum
python_version: '3.10'
- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"
- name: Run the unit tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
Expand All @@ -117,8 +110,6 @@ jobs:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
with:
dependency_type: pre
- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"
- name: Run the tests
run: |
hatch run test:nowarn || hatch run test:nowarn --lf
Expand Down Expand Up @@ -181,8 +172,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@v1
with:
ignore_links: 'https://playwright.dev/docs/test-cli/ https://blog.jupyter.org/the-big-split-9d7b88a031a7 https://blog.jupyter.org/jupyter-ascending-1bf5b362d97e https://mybinder.org/v2/gh/jupyter/notebook/main https://nbviewer.jupyter.org https://stackoverflow.com https://github.com/[^/]+/?$'
Expand All @@ -194,8 +183,6 @@ jobs:
steps:
- uses: actions/checkout@v5
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"
- name: Run Linters
run: |
hatch run typing:test
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/buildutils.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ concurrency:
permissions:
contents: read


jobs:
versioning:
runs-on: ubuntu-latest
Expand All @@ -28,12 +27,9 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- name: Install dependencies
run: |
python -m pip install -U "jupyterlab>=4.5.0a0,<4.6"
python -m pip install -U "jupyterlab>=4.5.0a0,<4.6" hatch
jlpm
jlpm run build

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,15 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true


jobs:
check_release:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout
uses: actions/checkout@v5

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

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- name: Check Release
uses: jupyter-server/jupyter_releaser/.github/actions/check-release@v2
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/playwright-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
permissions:
contents: read


jobs:
update-snapshots:
if: >
Expand Down Expand Up @@ -84,9 +83,6 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- name: Build
uses: ./.github/actions/build-dist

Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/prep-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ on:
description: "Use PRs with activity since the last stable git tag"
required: false
type: boolean


jobs:
prep_release:
runs-on: ubuntu-latest
Expand All @@ -33,9 +31,6 @@ jobs:
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- name: Prep Release
id: prep-release
uses: jupyter-server/jupyter_releaser/.github/actions/prep-release@v2
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/publish-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,13 @@ on:
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

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- uses: actions/create-github-app-token@v2
id: app-token
with:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ on:
description: "Comma separated list of steps to skip"
required: false


jobs:
publish_release:
runs-on: ubuntu-latest
Expand All @@ -22,12 +21,6 @@ jobs:
steps:
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Install jupyter-releaser
run: pipx install jupyter-releaser

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- uses: actions/create-github-app-token@v2
id: app-token
with:
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/ui-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ concurrency:
permissions:
contents: read


jobs:
build:
name: Build
Expand Down Expand Up @@ -40,9 +39,6 @@ jobs:
- name: Base Setup
uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1

- name: Pin click to avoid 8.3.0 issues
run: pipx inject --force hatch "click<8.3.0"

- uses: actions/download-artifact@v5
with:
name: notebook-dist-${{ github.run_number }}
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
requires = [
"hatchling>=1.11",
"jupyterlab>=4.5.0a3,<4.6",
"click<8.3.0",
]
build-backend = "hatchling.build"

Expand Down Expand Up @@ -64,7 +63,6 @@ test = [
"jupyter_server[test]>=2.4.0,<3",
"jupyterlab_server[test]>=2.27.1,<3",
"importlib-resources>=5.0;python_version<\"3.10\"",
"click<8.3.0",
]
docs = [
"myst_parser",
Expand All @@ -76,8 +74,7 @@ docs = [
]
dev = [
"pre-commit",
"hatch",
"click<8.3.0",
"hatch"
]

[tool.hatch.version]
Expand Down
Loading