Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions cpython-unix/build-cpython.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,13 @@ if [ -n "${CROSS_COMPILING}" ]; then
fi
fi

# `uuid.getnode()` is not stable on our libuuid, CPython should fallback to another method
# Cherry-pick https://github.com/python/cpython/pull/134704 until it is released
# We could backport this to more versions too, it won't be done by the upstream
if [[ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" && -n "${PYTHON_MEETS_MAXIMUM_VERSION_3_14}" ]]; then
patch -p1 -i ${ROOT}/patch-uuid-getnode-stable-3.13.patch
fi

# This patch is slightly different on Python 3.10+.
if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_10}" ]; then
patch -p1 -i ${ROOT}/patch-xopen-source-ios.patch
Expand Down
Loading