Skip to content

Commit 9c15787

Browse files
committed
Merge branch 'main' into 3.9
2 parents 1d77d63 + 5eb3316 commit 9c15787

File tree

5 files changed

+1075
-120
lines changed

5 files changed

+1075
-120
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- uses: actions/[email protected]
104104

105105
- name: Set up Python
106-
uses: actions/setup-python@v5.2.0
106+
uses: actions/setup-python@v5.3.0
107107
with:
108108
# Appending -dev ensures that we can always build the dev release.
109109
# It's a no-op for versions that have been published.

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v4
1212

1313
- name: Set up Python environment
14-
uses: actions/setup-python@v5.2.0
14+
uses: actions/setup-python@v5.3.0
1515
with:
1616
python-version: "3.X"
1717

Makefile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ BUILD_NUMBER=custom
1818
# of a release cycle, as official binaries won't be published.
1919
# PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
2020
# PYTHON_VER is the major/minor version (e.g., 3.10)
21-
PYTHON_VERSION=3.9.20
21+
PYTHON_VERSION=3.9.21
2222
PYTHON_PKG_VERSION=3.9.13
2323
PYTHON_MICRO_VERSION=$(shell echo $(PYTHON_VERSION) | grep -Eo "\d+\.\d+\.\d+")
2424
PYTHON_PKG_MICRO_VERSION=$(shell echo $(PYTHON_PKG_VERSION) | grep -Eo "\d+\.\d+\.\d+")
@@ -289,6 +289,9 @@ $$(PYTHON_LIB-$(target)): $$(PYTHON_SRCDIR-$(target))/python.exe
289289
make install \
290290
2>&1 | tee -a ../python-$(PYTHON_VERSION).install.log
291291

292+
# Remove any .orig files produced by the compliance patching process
293+
find $$(PYTHON_INSTALL-$(target)) -name "*.orig" -exec rm {} \;
294+
292295
endif
293296

294297
PYTHON_SITECUSTOMIZE-$(target)=$(PROJECT_DIR)/support/$(PYTHON_VER)/$(os)/platform-site/$(target)/sitecustomize.py
@@ -520,6 +523,9 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
520523
# Apply the App Store compliance patch
521524
# patch --strip 2 --directory $$(PYTHON_INSTALL_VERSION-macosx)/lib/python$(PYTHON_VER) --input $(PROJECT_DIR)/patch/Python/app-store-compliance.patch
522525

526+
# Remove any .orig files produced by the patching process
527+
find $$(PYTHON_INSTALL_VERSION-macosx) -name "*.orig" -exec rm {} \;
528+
523529
# Rewrite the framework to make it standalone
524530
patch/make-relocatable.sh $$(PYTHON_INSTALL_VERSION-macosx) 2>&1 > /dev/null
525531

@@ -573,6 +579,11 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
573579
@echo ">>> Create helper links in XCframework for $(os)"
574580
$$(foreach sdk,$$(SDKS-$(os)),ln -si $$(SDK_SLICE-$$(sdk)) $$(PYTHON_XCFRAMEWORK-$(os))/$$(sdk); )
575581

582+
ifeq ($(os),iOS)
583+
@echo ">>> Clone testbed project for $(os)"
584+
$(HOST_PYTHON) $$(PYTHON_SRCDIR-$$(firstword $$(SDK_TARGETS-$$(firstword $$(SDKS-$(os))))))/iOS/testbed clone --framework $$(PYTHON_XCFRAMEWORK-$(os)) support/$(PYTHON_VER)/$(os)/testbed
585+
endif
586+
576587
@echo ">>> Create VERSIONS file for $(os)"
577588
echo "Python version: $(PYTHON_VERSION) " > support/$(PYTHON_VER)/$(os)/VERSIONS
578589
echo "Build: $(BUILD_NUMBER)" >> support/$(PYTHON_VER)/$(os)/VERSIONS

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ repository:
1212
* `Python 3.11 <https://github.com/beeware/Python-Apple-support/tree/3.11>`__
1313
* `Python 3.12 <https://github.com/beeware/Python-Apple-support/tree/3.12>`__
1414
* `Python 3.13 <https://github.com/beeware/Python-Apple-support/tree/3.13>`__
15+
* `Python 3.14 <https://github.com/beeware/Python-Apple-support/tree/3.14>`__
1516

1617
It works by downloading, patching, and building a fat binary of Python and
1718
selected pre-requisites, and packaging them as frameworks that can be

0 commit comments

Comments
 (0)