diff --git a/datadog_checks_dev/hatch.toml b/datadog_checks_dev/hatch.toml index e4e3ffa2cf4c9..809fa9273f3c3 100644 --- a/datadog_checks_dev/hatch.toml +++ b/datadog_checks_dev/hatch.toml @@ -7,6 +7,10 @@ mypy-args = [ "datadog_checks/dev/tooling/commands/release/trello/testable.py", "datadog_checks/dev/tooling/commands/release/trello/status.py", ] +# TODO remove once https://github.com/pallets/click/issues/2558 is solved +mypy-deps = [ + "click~=8.1,!=8.1.4", +] [envs.default] e2e-env = false diff --git a/datadog_checks_dev/pyproject.toml b/datadog_checks_dev/pyproject.toml index 6bfcbd6c4d19a..e5343de726053 100644 --- a/datadog_checks_dev/pyproject.toml +++ b/datadog_checks_dev/pyproject.toml @@ -63,7 +63,8 @@ cli = [ "atomicwrites", "beautifulsoup4>=4.9.3", "build>=0.7.0", - "click~=8.1", + # TODO remove when https://github.com/pallets/click/issues/2558 is solved and unpin the version in the hatch files for ddev and datadog_checks_dev + "click~=8.1,!=8.1.4", "codespell", "colorama", "datamodel-code-generator~=0.20.0", diff --git a/ddev/hatch.toml b/ddev/hatch.toml index 174ef100f206d..60c7db65736e3 100644 --- a/ddev/hatch.toml +++ b/ddev/hatch.toml @@ -3,6 +3,10 @@ check-types = true mypy-args = [ "src/ddev", ] +# TODO remove once https://github.com/pallets/click/issues/2558 is solved +mypy-deps = [ + "click~=8.1,!=8.1.4", +] [envs.default] python = "3.9"