-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Moving tp_class access, and consistent fully-qualified naming for PyPy, to detail::get_tp_name #2520
Moving tp_class access, and consistent fully-qualified naming for PyPy, to detail::get_tp_name #2520
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -155,7 +155,7 @@ def test_internal_locals_differ(): | |
assert m.local_cpp_types_addr() != cm.local_cpp_types_addr() | ||
|
||
|
||
@pytest.mark.xfail("env.PYPY") | ||
@pytest.mark.xfail("env.PYPY and sys.pypy_version_info < (7, 3, 2)") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "Expect this to fail on PyPy < 7.3.2" Didn't we decide to drop older versions already? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 7.3.2 is not out, yet. And it still fails on 7.3.1 :-) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If 7.3.2 is out before this gets merged, yes, let's remove it There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (unrelated change, btw, but something I bumped into, when testing locally) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I probably wouldn't drop it right away; approximately supporting 7.3.0+ would probably be ideal. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, that's probably best. |
||
def test_stl_caster_vs_stl_bind(msg): | ||
"""One module uses a generic vector caster from `<pybind11/stl.h>` while the other | ||
exports `std::vector<int>` via `py:bind_vector` and `py::module_local`""" | ||
|
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.
What happens in 7.3.2? Does the line below start working?
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.
I don't think so, no. I believe the
@pytest.mark.xfail("env.PYPY and sys.pypy_version_info < (7, 3, 2)")
is unrelated (but I just came across it because I tested with 7.3.2.)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.
Ugh .. I'd written this yesterday, but it was still a "pending review" ...