Skip to content

Conversation

zanieb
Copy link
Member

@zanieb zanieb commented Apr 25, 2025

Takes python/cpython#132901

Needs to be backported to 3.13, etc.

@zanieb zanieb changed the title Patch uuid.get_node() to use a different MAC address identification method Patch uuid.getnode() to use a different MAC address identification method Apr 25, 2025
@zanieb
Copy link
Member Author

zanieb commented Apr 25, 2025

This doesn't seem to work on aarch64 Linux? (more on this at python/cpython#132901 (comment))

❯ docker run -it -v ./python:/python ubuntu:latest /bin/bash
root@20b506c09fbd:/# /python/install/bin/python -c "import uuid; print(uuid.getnode())"
276090243745164
root@20b506c09fbd:/# /python/install/bin/python -c "import uuid; print(uuid.getnode())"
148934309301581

and something is wrong with the patch on x86-64 macOS (I tested aarch64 macOS locally).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant