Merge pull request #687 from cyraxjoe/2022-07-23-restrict-mypy-patches

Don't apply the mypy patches after 0.971, the changes are released.
This commit is contained in:
adisbladis 2022-07-24 15:39:42 +08:00 committed by GitHub
commit 7e0ef92bd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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=";