Skip to content

Commit 880283d

Browse files
committed
Remove click pinning as new version of hatch released
1 parent 7ff187c commit 880283d

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ jobs:
4040
run: |
4141
python --version
4242
python -m pip install hatch
43-
python -m pip install "click<8.3.0"
4443
4544
- name: Run the tests
4645
timeout-minutes: 15
@@ -86,7 +85,6 @@ jobs:
8685
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
8786
- name: Run Linters
8887
run: |
89-
python -m pip install "click<8.3.0"
9088
hatch run typing:test
9189
hatch run lint:build
9290
pipx run interrogate -vv .
@@ -108,7 +106,6 @@ jobs:
108106
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
109107
- name: Build API docs
110108
run: |
111-
python -m pip install "click<8.3.0"
112109
hatch run docs:api
113110
# If this fails run `hatch run docs:api` locally
114111
# and commit.
@@ -134,7 +131,6 @@ jobs:
134131

135132
- name: Install the Python dependencies without debugpy
136133
run: |
137-
python -m pip install "click<8.3.0"
138134
pip install .[test]
139135
pip uninstall --yes debugpy
140136
@@ -160,7 +156,6 @@ jobs:
160156

161157
- name: List installed packages
162158
run: |
163-
python -m pip install "click<8.3.0"
164159
hatch -v run test:list
165160
166161
- name: Run the unit tests

ipykernel/kernelbase.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ async def shell_main(self, subshell_id: str | None, msg):
696696
# same subshell, so that cells are run sequentially. Without this we can run multiple
697697
# async cells at the same time which would be a nice feature to have but is an API
698698
# change.
699+
assert asyncio_lock is not None
699700
async with asyncio_lock:
700701
await self.dispatch_shell(msg, subshell_id=subshell_id)
701702

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling>=1.4", "jupyter_client>=6", "click<8.3.0"]
2+
requires = ["hatchling>=1.4", "jupyter_client>=6"]
33
build-backend = "hatchling.build"
44

55
[project]
@@ -19,7 +19,6 @@ classifiers = [
1919
]
2020
requires-python = ">=3.10"
2121
dependencies = [
22-
"click<8.3.0",
2322
"debugpy>=1.6.5",
2423
"ipython>=7.23.1",
2524
"comm>=0.1.1",

0 commit comments

Comments
 (0)