Skip to content

Commit 2b31e96

Browse files
authored
Merge pull request #161 from transientskp/hotfix_broken_hatch_click_combination
Work around broken hatch and click combination that is failing the CI
2 parents e007050 + 46be0f0 commit 2b31e96

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install build tool
2020
run: |
2121
python -m pip install --upgrade pip
22-
python -m pip install hatch
22+
python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050
2323
- name: Build
2424
run: |
2525
hatch build

.github/workflows/python-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Install tools
4242
run: |
4343
python -m pip install --upgrade pip
44-
python -m pip install hatch
44+
python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050
4545
hatch env create lint
4646
- name: Lint with flake8
4747
run: |
@@ -66,7 +66,7 @@ jobs:
6666
- name: Install dependencies
6767
run: |
6868
python -m pip install --upgrade pip
69-
python -m pip install hatch
69+
python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050
7070
hatch env create default
7171
hatch env create test.py${{matrix.python-version}}
7272
- name: Run pytest
@@ -94,7 +94,7 @@ jobs:
9494
- name: Install tools
9595
run: |
9696
python -m pip install --upgrade pip
97-
python -m pip install hatch
97+
python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050
9898
hatch env create lint
9999
- name: Type check w/ mypy
100100
run: hatch run lint:mypy --install-types --non-interactive --pretty

0 commit comments

Comments
 (0)