python3Packages.mypy: Disable mypy.report import on i686-linux
Importing the mypy.report fails due to a circular import.
This commit is contained in:
parent
7d3e7f4890
commit
0310ac43a5
|
@ -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…
Reference in a new issue