From: John Mulligan Date: Tue, 28 Mar 2023 20:42:41 +0000 (-0400) Subject: mypy: update pinned mypy version to 0.981 X-Git-Tag: v18.1.0~130^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3d011fa0ea5986079f8761563501d11fcf7191a5;p=ceph.git mypy: update pinned mypy version to 0.981 mypy version 0.981 fixes a bug where on newer python versions mypy doesn't properly load pyi files with keyword only arguments. As noted in the src/mypy-constrains.txt mypy version needs to be manually bumped periodically, and ceph is overdue for an update too. It's never been updated since the file was added in June 2021. Signed-off-by: John Mulligan (cherry picked from commit 866f14d40cd3ffd30d85f9d2c09cf4a25948cd5c) --- diff --git a/src/mypy-constrains.txt b/src/mypy-constrains.txt index 9eb774c189a0e..a181a87bad4ed 100644 --- a/src/mypy-constrains.txt +++ b/src/mypy-constrains.txt @@ -2,7 +2,7 @@ # Unfortunately this means we have to manually update those # packages regularly. -mypy==0.901 +mypy==0.981 # global types-python-dateutil==0.1.3