From 2c49a151d270cc612f61c4094dbf281cbf2f63a4 Mon Sep 17 00:00:00 2001 From: Zanie Date: Wed, 12 Jul 2023 09:07:06 -0500 Subject: [PATCH] Pin CI version of `click` to resolve mypy error (#2769) * Add upper bound to click version to fix mypy error * Move pin to `requirements.txt` * Restore `pyproject.toml` --- requirements.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/requirements.txt b/requirements.txt index e05ee5b0..325f4cb9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,3 +30,7 @@ trio==0.22.0 trio-typing==0.8.0 trustme==1.0.0 uvicorn==0.22.0 + +# The latest click fails type checks due to bug +# https://github.com/pallets/click/issues/2558 +click==8.1.3