diff --git a/requirements.txt b/requirements.txt index e81da93f..fd6eb960 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,6 @@ +# Click is pinned because of: +# https://github.com/pallets/click/issues/3065 +click<8.3 black jinja2 pyyaml diff --git a/templates/github/.github/workflows/release.yml.j2 b/templates/github/.github/workflows/release.yml.j2 index d33c6e0b..49b06f0e 100644 --- a/templates/github/.github/workflows/release.yml.j2 +++ b/templates/github/.github/workflows/release.yml.j2 @@ -31,7 +31,9 @@ jobs: {{ setup_python() | indent(6) }} - {{ install_python_deps(["bump-my-version", "towncrier"]) | indent(6) }} + # Click is pinned because of: + # https://github.com/pallets/click/issues/3065 + {{ install_python_deps(["bump-my-version", "towncrier", "click<8.3"]) | indent(6) }} {{ configure_git() | indent(6) }} diff --git a/templates/github/lint_requirements.txt.j2 b/templates/github/lint_requirements.txt.j2 index 28e14048..b646615c 100644 --- a/templates/github/lint_requirements.txt.j2 +++ b/templates/github/lint_requirements.txt.j2 @@ -3,6 +3,9 @@ {% if black -%} black==24.3.0 {% endif -%} +# Click is pinned because of: +# https://github.com/pallets/click/issues/3065 +click<8.3 bump-my-version check-manifest flake8