Skip to content

Commit 7a002f8

Browse files
authored
Pin to click<8.2.0, pin pypiserver based on the Python version (#607)
* Pin to `click<8.2.0` * 3.12 * try unpinning `pypiserver` * condition pypiserver
1 parent 9e9abaf commit 7a002f8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ jobs:
114114
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
115115
with:
116116
dependency_type: pre
117+
python_version: "3.12"
117118
- name: Run the tests
118119
run: |
119120
hatch run test:nowarn || hatch run test:nowarn --lf

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ urls = {Homepage = "https://jupyter.org"}
2424
requires-python = ">=3.9"
2525
dynamic = ["version"]
2626
dependencies = [
27-
"click",
27+
"click<8.2.0",
2828
"ghapi<=1.0.4",
2929
"github-activity~=0.2",
3030
"importlib_resources",
3131
"jsonschema>=3.0.1",
3232
"mdformat",
3333
"packaging",
3434
"pkginfo",
35-
"pypiserver==2.2.0",
35+
"pypiserver==2.2.0; python_version < '3.13'",
36+
"pypiserver; python_version >= '3.13'",
3637
"pipx",
3738
"requests",
3839
"requests_cache",

0 commit comments

Comments
 (0)