File tree Expand file tree Collapse file tree
pkgs/development/python-modules/mypy Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 stdenv ,
44 buildPythonPackage ,
55 fetchFromGitHub ,
6- fetchpatch ,
76 gitUpdater ,
87 pythonAtLeast ,
98 isPyPy ,
3433
3534buildPythonPackage rec {
3635 pname = "mypy" ;
37- version = "1.19.1 " ;
36+ version = "1.20.0 " ;
3837 pyproject = true ;
3938
4039 # relies on several CPython internals
@@ -44,7 +43,7 @@ buildPythonPackage rec {
4443 owner = "python" ;
4544 repo = "mypy" ;
4645 tag = "v${ version } " ;
47- hash = "sha256-REUJgYd00qr36hoHevkJEWK/+2hE/caymjD/asqa6eI =" ;
46+ hash = "sha256-QkUk7Y8mJSJtttfSiA7m4JL2Q4XFXEYs5irI8/FygaQ =" ;
4847 } ;
4948
5049 passthru . updateScript = gitUpdater {
@@ -104,16 +103,22 @@ buildPythonPackage rec {
104103 ++ lib . concatAttrValues optional-dependencies ;
105104
106105 disabledTests = [
107- # fails with typing-extensions>=4.10
108- # https://github.com/python/mypy/issues/17005
109- "test_runtime_typing_objects"
106+ # A change to the base64 decoder in CPython 3.13.13 and 3.14.4 causes this
107+ # test to fail. At the time of writing, upstream skips the test.
108+ # Upstream issue: https://github.com/python/mypy/issues/21120
109+ # CPython issue: https://github.com/python/cpython/issues/145264
110+ "testAllBase64Features_librt_experimental"
111+ # fails to import librt
112+ "test_diff_cache_produces_valid_json"
110113 ]
111114 ++ lib . optionals ( pythonAtLeast "3.12" ) [
112115 # requires distutils
113116 "test_c_unit_test"
114117 ] ;
115118
116119 disabledTestPaths = [
120+ # circular dependency on distutils
121+ "mypyc/test/test_external.py"
117122 # fails to find tyoing_extensions
118123 "mypy/test/testcmdline.py"
119124 "mypy/test/testdaemon.py"
You can’t perform that action at this time.
0 commit comments