Skip to content

Commit

Permalink
python312Packages.mypy: fix test with Python 3.12.7
Browse files Browse the repository at this point in the history
  • Loading branch information
mweinelt authored and vcunat committed Dec 30, 2024
1 parent f13659d commit 0835650
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pkgs/development/python-modules/mypy/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
stdenv,
buildPythonPackage,
fetchFromGitHub,
fetchpatch2,
pythonAtLeast,
pythonOlder,

Expand Down Expand Up @@ -42,6 +43,15 @@ buildPythonPackage rec {
hash = "sha256-uOOZX8bKRunTOgYVbmetu2m0B7kijxBgWdNiLCAhiQ4=";
};

patches = [
(fetchpatch2 {
name = "python3.12.7-compat.patch";
url = "https://github.com/python/mypy/commit/1a2c8e2a4df21532e4952191cad74ae50083f4ad.patch";
hash = "sha256-GBQPTkdoLeErjbRUjZBFEwvCcN/WzC3OYVvou6M+f80=";
})
];


build-system = [
mypy-extensions
setuptools
Expand Down

0 comments on commit 0835650

Please sign in to comment.