From 519b2e71c09d6c587e0ffac8a80dfb391e2a8e17 Mon Sep 17 00:00:00 2001 From: William Deng <33618746+WilliamDee@users.noreply.github.com> Date: Wed, 16 Aug 2023 16:00:36 -0400 Subject: [PATCH] Fix click bug with mypy (#727) fix click bug with mypy --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e0b43b1ef4..d5141f9a30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ dependencies = [ "Jinja2>=2.11.3", "MarkupSafe==2.0.1", # pandas implicitly requires this version "PyYAML~=6.0", - "click>=7.1.2, <8.1.4", + "click>=7.1.2", "dbt-core~=1.6.0", "dbt-semantic-interfaces~=0.2.0", "graphviz>=0.18.2, <0.21", @@ -57,6 +57,8 @@ mf = 'metricflow.cli.main:cli' dev-packages = [ "mypy~=1.3.0", "pre-commit~=3.2.2", + # Bug with mypy: https://github.com/pallets/click/issues/2558#issuecomment-1656546003 + "click>=8.1.6", "pytest-mock~=3.7.0", "pytest-xdist~=3.2.1", "pytest~=7.1.1",