Skip to content

Commit 9943ea4

Browse files
committed
Fix hatch build
1 parent 0353747 commit 9943ea4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install hatch
27+
pip install hatch click<8.3.0
2828
hatch env create
2929
- name: Lint and typecheck
3030
run: |
@@ -53,7 +53,7 @@ jobs:
5353
- name: Install dependencies
5454
run: |
5555
python -m pip install --upgrade pip
56-
pip install hatch
56+
pip install hatch click<8.3.0
5757
- name: Build and publish on PyPI
5858
env:
5959
HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ lint-check = [
6363
support-legacy = true # Create setup.py
6464

6565
[build-system]
66-
requires = ["hatchling", "hatch-regex-commit"]
66+
requires = ["hatchling", "hatch-regex-commit", "click<8.3.0"]
6767
build-backend = "hatchling.build"
6868

6969
[project]

0 commit comments

Comments
 (0)