]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mypy: update pinned mypy version to 0.981
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 28 Mar 2023 20:42:41 +0000 (16:42 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 30 Mar 2023 20:52:53 +0000 (16:52 -0400)
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 <jmulligan@redhat.com>
src/mypy-constrains.txt

index 9eb774c189a0e2c12c0b0f26b19418e12a8a825a..a181a87bad4ed131522ec52ec530f0afffeadc05 100644 (file)
@@ -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