Skip to content

Commit 0e7f7cc

Browse files
committed
Pin click to <8.3
Click 8.3.0 break hatch.
1 parent 8eed44a commit 0e7f7cc

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
# version shouldn't matter that much, but best to be consistent
2222
python-version: 3.12
2323
- name: Install build dependencies
24-
run: python -m pip install --upgrade hatch
24+
# See https://github.com/pallets/click/issues/3065
25+
# and https://github.com/pypa/hatch/issues/2050
26+
run: python -m pip install --upgrade hatch "click<8.3"
2527
- name: Build
2628
run: python -m hatch build
2729
- uses: actions/upload-artifact@v4

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ jobs:
3232
with:
3333
python-version: ${{ matrix.python-version }}
3434
- name: Install Hatch
35-
run: python -m pip install --upgrade hatch
35+
# See https://github.com/pallets/click/issues/3065
36+
# and https://github.com/pypa/hatch/issues/2050
37+
run: python -m pip install --upgrade hatch "click<8.3"
3638
- name: Run tests
3739
run: python -m hatch run test

0 commit comments

Comments
 (0)