Skip to content

Commit 4e0b05e

Browse files
committed
fixup! Drop support for EOL Python 3.9
1 parent 7768132 commit 4e0b05e

File tree

2 files changed

+3
-28
lines changed

2 files changed

+3
-28
lines changed

cpython-unix/build-cpython.sh

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,7 @@ if [ -n "${CROSS_COMPILING}" ]; then
8585
fi
8686
fi
8787

88-
# This patch is slightly different on Python 3.10+.
89-
if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_10}" ]; then
90-
patch -p1 -i ${ROOT}/patch-xopen-source-ios.patch
91-
else
92-
patch -p1 -i ${ROOT}/patch-xopen-source-ios-legacy.patch
93-
fi
88+
patch -p1 -i ${ROOT}/patch-xopen-source-ios.patch
9489

9590
# LIBTOOL_CRUFT is unused and breaks cross-compiling on macOS. Nuke it.
9691
# Submitted upstream at https://github.com/python/cpython/pull/101048.
@@ -341,11 +336,8 @@ fi
341336
# Always build against libedit instead of the default of readline.
342337
# macOS always uses the system libedit, so no tweaks are needed.
343338
if [[ "${PYBUILD_PLATFORM}" != macos* ]]; then
344-
# CPython 3.10 introduced proper configure support for libedit, so add configure
345-
# flag there.
346-
if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_10}" ]; then
347-
EXTRA_CONFIGURE_FLAGS="${EXTRA_CONFIGURE_FLAGS} --with-readline=editline"
348-
fi
339+
# Add configure flag for proper configure support for libedit.
340+
EXTRA_CONFIGURE_FLAGS="${EXTRA_CONFIGURE_FLAGS} --with-readline=editline"
349341
fi
350342

351343
# On Python 3.14+, enable the tail calling interpreter which is more performant.

cpython-unix/patch-xopen-source-ios-legacy.patch

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)