From 2a4e64f09bfaabf33c9edd3d0f2ccbd53b43115e Mon Sep 17 00:00:00 2001 From: Pedro Brochado Date: Thu, 18 Sep 2025 15:12:41 -0300 Subject: [PATCH] Pin click upperbound on different places Click 8.3 is causing errors in different places. Usually it comes as a transient dependency (e.g, of bump-by-version or black). --- requirements.txt | 3 +++ templates/github/.github/workflows/release.yml.j2 | 4 +++- templates/github/lint_requirements.txt.j2 | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) 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