Skip to content

MTN skip test with recursion limit on python3.14 due to segfault on OSX #561

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

Merged
merged 8 commits into from
Mar 25, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions tests/cloudpickle_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -2507,12 +2507,18 @@ def inner_function():
inner_func = depickled_factory()
assert inner_func() == _TEST_GLOBAL_VARIABLE

# TODO: remove this xfail when we drop support for Python 3.8. We don't
# plan to fix it because Python 3.8 is EOL.
@pytest.mark.skipif(
sys.version_info < (3, 9),
reason="Can cause CPython 3.8 to segfault",
)
# TODO: remove this xfail when we drop support for Python 3.8. We don't
# plan to fix it because Python 3.8 is EOL.
@pytest.mark.skipif(
sys.version_info > (3, 14),
reason="Can cause CPython 3.14 interpreter to crash",
# This interpreter crash is reported upstream in
# https://github.com/python/cpython/issues/131543
)
def test_recursion_during_pickling(self):
class A:
def __getattribute__(self, name):
Expand Down