Don't apply the mypy patches after 0.971, the changes are released.

This commit is contained in:
Joel Rivera 2022-07-23 03:36:27 -05:00
parent 920ba68237
commit 0ba5188620

View file

@ -1153,7 +1153,7 @@ lib.composeManyExtensions [
url = "https://github.com/python/mypy/commit/e7869f05751561958b946b562093397027f6d5fa.patch";
sha256 = "sha256-waIZ+m3tfvYE4HJ8kL6rN/C4fMjvLEe9UoPbt9mHWIM=";
})
] ++ lib.optionals (lib.strings.versionAtLeast old.version "0.960") [
] ++ lib.optionals ((lib.strings.versionAtLeast old.version "0.960") && (lib.strings.versionOlder old.version "0.971")) [
(pkgs.fetchpatch {
url = "https://github.com/python/mypy/commit/2004ae023b9d3628d9f09886cbbc20868aee8554.patch";
sha256 = "sha256-y+tXvgyiECO5+66YLvaje8Bz5iPvfWNIBJcsnZ2nOdI=";