-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-132710: only use stable _uuid.generate_time_safe()
to deduce MAC address
#132901
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
base: main
Are you sure you want to change the base?
Conversation
cc @zanieb |
2d398c9
to
99bdd52
Compare
99bdd52
to
ee71d62
Compare
@zanieb Does it actually solve your issue? because my system also appears to be unable to get the MAC address... but I was offline (I work offline during the week in general) and I didn't check when I'm online. |
It's kind of hard to test because I haven't added support for the latest 3.14 in |
Okay, the patch does apply cleanly to the previous 3.14 alpha so I can test this. On macOS, it does resolve the problem. I did not test Linux. |
I tested a Linux build at astral-sh/python-build-standalone#595 (comment) and it didn't seem to work. |
Hum. It's very strange. Did I mess the configure script? what's the value of |
Looking at the logs... |
... so it's not |
The builds are attached there if you want to hop into a debugger. Briefly... yeah it looks like it's called and we try each getter until we reach the random one:
|
So, the patch worked but it turns out |
Maybe we should add all possible |
We did try |
I suggest adding a print in the |
Those commands are just not installed by default in the |
Ha! so that's why. Let's also fix this by adding them as a dependency then |
🤖 New build scheduled with the buildbot fleet by @picnixz for commit 16200ae 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F132901%2Fmerge If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again. |
Ok the refleaks were fixed in #132989. |
libuuid
#132710