-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
jsonpatch regression in 0.982/1 #13813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ahh, of course I open before trying master... import nox
from pathlib import Path
@nox.session
def check(session: nox.Session) -> None:
session.install("mypy @ git+https://github.com/python/mypy@master", "types-jsonpatch")
Path("tmp.py").write_text("import jsonpatch")
session.run("mypy", "tmp.py", "--show-traceback") Passes, while Ah, https://github.com/python/mypy/tree/release-0.980 does the compare. Looks like this hasn't been identified and backported yet. |
Thanks for the report. This was fixed by #13516. We can't backport that, but you're welcome to use |
Thanks!
That's okay. We can just wait for the next release of |
That's a reasonable workaround. Thanks! |
Crash Report
MyPy can no longer import jsonpatch. No experimental flags, it just fails now.
Traceback
To Reproduce
Type check this file:
Example run with nox:
pipx run nox
Your Environment
mypy.ini
(and other config files): NoneThe text was updated successfully, but these errors were encountered: