diff --git a/.github/workflows/publish-pypi.yml b/.github/workflows/publish-pypi.yml index e75f2a33..72f3f12f 100644 --- a/.github/workflows/publish-pypi.yml +++ b/.github/workflows/publish-pypi.yml @@ -19,7 +19,7 @@ jobs: - name: Install build tool run: | python -m pip install --upgrade pip - python -m pip install hatch + python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050 - name: Build run: | hatch build diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 54d6a0f1..d820e145 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -41,7 +41,7 @@ jobs: - name: Install tools run: | python -m pip install --upgrade pip - python -m pip install hatch + python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050 hatch env create lint - name: Lint with flake8 run: | @@ -66,7 +66,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install hatch + python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050 hatch env create default hatch env create test.py${{matrix.python-version}} - name: Run pytest @@ -94,7 +94,7 @@ jobs: - name: Install tools run: | python -m pip install --upgrade pip - python -m pip install hatch + python -m pip install hatch "click!=8.3.0" # https://github.com/pypa/hatch/issues/2050 hatch env create lint - name: Type check w/ mypy run: hatch run lint:mypy --install-types --non-interactive --pretty