-
Notifications
You must be signed in to change notification settings - Fork 91
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
Python 3.13.0 beta 1 crashes #1017
Comments
Thanks! I hadn't tested with 3.13 yet, but it was on my to-do list. |
That matches my own support ideals. I try to test my projects against Python pre-releases as an early flag for potential issues, and pyfakefs was working just fine two weeks ago on 3.13.0 alpha 6, so this is related to something changed in 3.13.0 beta 1. Thanks for the quick response! ❤️ |
Just FYI: I'll wait for the beta 2 to get out, as the beta 1 does not work under non-Englisch Windows systems (which I have). This is fixed now, and will be released with the next beta. |
Sounds good! Thank you! |
I just run the tests with python 3.13.0 beta2 and this is the result:
The log continues with a lot of more tracebacks. |
Yes, I'm on it, but it may take a bit. I'm still not done with the |
Great, thanks! I just wanted to share the output if I have it. Maybe also for others to let them know that the issue appears with beta 2 as well. |
Should work for Beta2 in main now. I will probably make a new release after #1025 has been finished and merged. |
Thanks a lot for your work! |
Just for the curious: the concrete recursion was caused by an optimization in |
Thank you so much for your work on this! |
Describe the bug
When pyfakefs is loaded via the pytest plugin on Python 3.13.0 beta 1, I'm seeing crashes.
Note
I've confirmed this behavior with pyfakefs 5.5.0, 5.4.1, and 5.3.0, and with pytest 8.2.0 and 8.0.0.
However, this does not happen with Python 3.12.
It appears that this is specific to Python 3.13.0 beta 1.
How To Reproduce
Create a file named
test_demo.py
with these contents:Create a virtual environment using Python 3.13:
Then, run this command to see the failure:
Your environment
With the virtual environment (created using the steps above) activated, here are the OS/Python/pyfakefs/pytest versions installed:
The text was updated successfully, but these errors were encountered: