diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b3bc1cd5..30d79a15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: run: | npm install @semantic-release/git @semantic-release/exec --no-save python3 -m pip install wheel twine - python3 -m pip install git+https://github.com/pypa/hatch + python3 -m pip install git+https://github.com/pypa/hatch@hatch-v1.9.2 - name: Create Release env: diff --git a/pyproject.toml b/pyproject.toml index 4adac8b4..01db07b0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -44,7 +44,7 @@ Source = "https://github.com/frappe/bench" [build-system] requires = [ - "hatchling>=1.6.0,<1.7.0", + "hatchling>=1.6.0,<=1.21.0", ] build-backend = "hatchling.build"