From 41092a45d0aa3d662b4c0d91d812e17ed5e65ba7 Mon Sep 17 00:00:00 2001 From: Carlton Gibson Date: Sat, 7 Dec 2024 09:48:44 +0100 Subject: [PATCH] Pin mypy for regression in v1.12. See issue: python/mypy#17960 Fixed in master: python/mypy#17355 after last release v1.3.0. --- setup.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 4650df5f..e1febfdb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,7 +39,9 @@ zip_safe = false tests = pytest pytest-asyncio - mypy>=0.800 + # Pending release of https://github.com/python/mypy/pull/17355 + # Likely in v1.13.1+, when pip can be removed. + mypy~=1.11.0 [tool:pytest] testpaths = tests