Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-140729: Add __mp_main__ as a duplicate for __main__ for pickle to work#140735
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
yihong0618 commented Oct 29, 2025 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618 commented Oct 29, 2025
test failed is flaky |
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,2 @@ | |||
| Fix: Add __mp_main__ as a duplicate for __main__ for pickle to work in | |||
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 needs to refer the profiler otherwise is not possible to undestand what this is fixing. Also this should say WHAT is fixed not HOW
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.
addressed
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618 commented Nov 2, 2025
Do not know why windows free thread failed root cause, will go to find a windows test it these days. |
pablogsal commented Nov 2, 2025
It seems there is some kind of race condition because the other windows test failed with a timeout |
| withSuppressCrashReport(): | ||
| withscript_helper.spawn_python( | ||
| "-m", "profiling.sampling.sample", | ||
| "-d", "1", |
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.
You probaby need to sample for more time in case the machine is slow
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.
got 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.
check other code in the test use 5 now
| stderr=subprocess.PIPE, | ||
| text=True | ||
| ) asproc: | ||
| proc.wait(timeout=10) |
pablogsalNov 2, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
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.
Use SHORT_TIMEOUT from support (you are already importing it)
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
yihong0618 commented Nov 2, 2025
passed now, thank you very much, learned that |
bedevere-bot commented Nov 3, 2025
🤖 New build scheduled with the buildbot fleet by @pablogsal for commit 59c1c1d 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F140735%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
YvesDup commented Nov 4, 2025 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Regarding our recent discussions, could you add the fix about the |
yihong0618 commented Nov 4, 2025
sorry for the comment, I think we should not fix it here
|
yihong0618 commented Nov 17, 2025
conflict fixed |
pablogsal commented Nov 17, 2025
Amazing! Thanks a lot for the great work @yihong0618 🚀 |
994ab5c into python:mainUh oh!
There was an error while loading. Please reload this page.
yihong0618 commented Nov 17, 2025
thank you very much! |
the fix is like gaogaotiantian/viztracer#423 viztracer fix