MyPy errors
#4612
Replies: 2 comments 6 replies
-
Interesting, thanks for the report @kkoomen! |
Beta Was this translation helpful? Give feedback.
6 replies
-
@ryanking13 Works perfectly, thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have downloaded
mypy
,typing-extensions
andmypy-extensions
whl files from pypy, extraced them into python_stdlib and recreated a new python_stdlib.zip, I use Pyodide 0.24.1 and when running this code:This runs into the error:
So the problem seems that mypy internally doing this:
and the assertion fails, probably because
/lib/python311.zip
is a (zip) file and not a directory so/lib/python311.zip/whatever
can't be checked throughos.path.join()
, how can this be fixed?Any idea? I am making this as a Discussion before making an issue, because I am not sure whether this is wrong on my side or your side.
Beta Was this translation helpful? Give feedback.
All reactions