From 30861599cbad57163bd8c218962c04c32e1e5250 Mon Sep 17 00:00:00 2001 From: Delgan Date: Mon, 11 Sep 2023 02:39:55 +0200 Subject: [PATCH] Fix some deprecation warnings in tests by upgrading Mypy --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6a8b9fcf..a238b1b3 100644 --- a/setup.py +++ b/setup.py @@ -77,7 +77,8 @@ # Type checking. "mypy==v0.910 ; python_version<'3.6'", "mypy==v0.971 ; python_version>='3.6' and python_version<'3.7'", - "mypy==v1.4.1 ; python_version>='3.7'", + "mypy==v1.4.1 ; python_version>='3.7' and python_version<'3.8'", + "mypy==v1.5.1 ; python_version>='3.8'", # Docs. "Sphinx==7.2.5 ; python_version>='3.9'", "sphinx-autobuild==2021.3.14 ; python_version>='3.9'",