Skip to content

Commit 1979afc

Browse files
committed
Set hatch version in GHA
1 parent f553e3f commit 1979afc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/actions/setup-python-env/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,10 @@ runs:
6868
- name: Install Hatch
6969
shell: bash
7070
# Pin click to avoid bug in 8.3.0 - can remove when a fix is released
71+
# `hatch==1.16` gives error `dev-env is not a builder environment`.
7172
run: |
7273
pip3 install "click<8.3.0"
73-
pip3 install hatch
74+
pip3 install "hatch>=1.15,<1.16"
7475
7576
# Running any command will install the dependencies for the project. Add this step so that the `hatch` environment is
7677
# cached.

0 commit comments

Comments
 (0)