Skip to content

Commit 6f76527

Browse files
mweineltthunze
andcommitted
python3Packages.mypy: 1.19.1 -> 1.20.0
https://github.com/python/mypy/blob/v1.20.0/CHANGELOG.md#mypy-120 Co-Authored-By: Tom Hunze <dev@thunze.de>
1 parent 073693b commit 6f76527

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

pkgs/development/python-modules/mypy/default.nix

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
stdenv,
44
buildPythonPackage,
55
fetchFromGitHub,
6-
fetchpatch,
76
gitUpdater,
87
pythonAtLeast,
98
isPyPy,
@@ -34,7 +33,7 @@
3433

3534
buildPythonPackage 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"

0 commit comments

Comments
 (0)