-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Run PyPy 3.8 and 3.9 in CI #6406
Conversation
Pull Request Test Coverage Report for Build 2260566085
π - Coveralls |
Should we move that to 2.15 ? |
Yes! |
Unfortunately, there is still one failing test even with the latest astroid changes.
|
The open issue is due to def test_open_pypy() -> None:
"""Regression test for inference of open() call.
Previously we failed to infer this on PyPy.
"""
node: nodes.Call = builder.extract_node("""open("foo.py", "w", encoding="utf-8")""")
inferred = node.func.inferred()
assert len(inferred) == 1
assert isinstance(inferred[0], nodes.FunctionDef)
assert inferred[0].name == "open" I think this is due to how |
I have published a fix for the inference of |
6e94d0f
to
89d7129
Compare
c1a9e07
to
929e6ae
Compare
Actually was able to run on |
@Pierre-Sassoulas Gentle ping, I feel you might have missed this. Never mind if you just haven't gotten to it! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the reminder, I did miss it :) Looks great !
Thanks for working on this @DanielNoord! Saw you added PyPy 3.9 already. AFAIK we do have one more issue with it in astroid. Last I checked it was something with detecting the |
I don't think so, but with my new experience with |
Type of Changes
Description
Blocked by pylint-dev/astroid#1520.