python3Packages.mypy: Disable mypy.report import on i686-linux

Importing the mypy.report fails due to a circular import.
main
Martin Weinelt 2 years ago
parent 7d3e7f4890
commit 0310ac43a5
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
  1. 4
      pkgs/development/python-modules/mypy/default.nix

@ -63,10 +63,12 @@ buildPythonPackage rec {
"mypy"
"mypy.api"
"mypy.fastparse"
"mypy.report"
"mypy.types"
"mypyc"
"mypyc.analysis"
] ++ lib.optionals (!stdenv.hostPlatform.isi686) [
# ImportError: cannot import name 'map_instance_to_supertype' from partially initialized module 'mypy.maptype' (most likely due to a circular import)
"mypy.report"
];
# Compile mypy with mypyc, which makes mypy about 4 times faster. The compiled

Loading…
Cancel
Save