-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
main: Add informative message what do to if RecurrsionError occurs. #5156
main: Add informative message what do to if RecurrsionError occurs. #5156
Conversation
6d4f967
to
a648b6e
Compare
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.
Nice work! EDIT: see below
However, the new test fails - can you fix this? Please also fix the lint error as well. |
Interesting to see the recursion on Python 3.6 is deeper than on he other ones. |
1b0aeb4
to
1bffafb
Compare
@htgoebel can you rebase off develop? That should fix the test failures. And yes, it is interesting. |
@Legorooj Will do, but I'm curious: Current develop head only adds "hooks: Stop hooks collecting bytecode files". What is the reason why you expect this to stop the worker-crashes? |
Current development head also reverts your accidental commit AFAIK - it worked for other PRs with the same issue (I think it's the same issue anyway) |
1bffafb
to
4b0cb36
Compare
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.
Just one little thing: can you please fix the following filename:
+ _recursion_too_deep_message.py
- _recursion_to_deep_message.py
971907c
to
29b9861
Compare
The tests for this case are inconsistently failing on Win-64 Py 3.7 and 3.8 only: The respective worker is crashing. But this does not happen if only running these tests, see https://ci.appveyor.com/project/htgoebel/pyinstaller/builds/35176564. Since I have not time for debugging CI platform annoyances, I'll just remove the tests. @Legorooj Maybe you want to keep them as a base for tests when moving to modulegraph2. |
29b9861
to
268bf5d
Compare
@htgoebel I did some digging and it looks like this is an issue with pytest-xdist's memory handling. I've applied the same fix that SciPy did so we'll merge if that works, and if not, keep digging. |
Since the pinning pytest-xdist did not help, I'm going to remove these test. |
Or better: I'm xfailing them for Wondoze. |
268bf5d
to
4b9010d
Compare
with pytest.raises(SystemExit) as execinfo: | ||
pyi_main.run(pyi_args, PYI_CONFIG) |
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.
This clause isn't catching the RecursionError for some reason...
4b9010d
to
585de63
Compare
See #4406