python3Packages.mypy: fix setuptools integration

This patch updates the patch used to fix compatibility with the latest version
of types-setuptools. The previous version of the patch caused mypycify() to fail
with the following error:

UnboundLocalError: local variable "extension_class" referenced before assignment

The new version of the patch fixes this issue and is the version that was
accepted upstream.
This commit is contained in:
Ben Wolsieffer 2023-03-18 14:27:52 -04:00
parent 371cc3a75d
commit ba0e4b850e

View file

@ -53,8 +53,9 @@ buildPythonPackage rec {
})
(fetchpatch {
# https://github.com/python/mypy/pull/14787
url = "https://github.com/AlexWaygood/mypy/commit/8e459eab40ac0fae9740e985ee4aeb348cde28c5.patch";
hash = "sha256-R7DU6MFnaeHPobUb8ADhssTKDwdPBXBhDN2mxrrQ51M=";
url = "https://github.com/python/mypy/commit/243f584d43e6eb316920f3155067ce7c1b65d473.patch";
hash = "sha256-uuh3S5ZyuJeTXyMvav2uSEao2qq23xMjK8rJjkY8RCY=";
includes = [ "mypyc/build.py" ];
})
];