Skip to content

Commit 1833f11

Browse files
committed
Merge branch 'main' into 3.11
2 parents 548a044 + 5eb3316 commit 1833f11

File tree

5 files changed

+1135
-150
lines changed

5 files changed

+1135
-150
lines changed

.github/workflows/ci.yaml

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

111111
- name: Set up Python
112-
uses: actions/setup-python@v5.2.0
112+
uses: actions/setup-python@v5.3.0
113113
with:
114114
# Appending -dev ensures that we can always build the dev release.
115115
# 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.11.10
21+
PYTHON_VERSION=3.11.11
2222
PYTHON_PKG_VERSION=3.11.9
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+")
@@ -322,6 +322,9 @@ $$(PYTHON_LIB-$(target)): $$(PYTHON_SRCDIR-$(target))/python.exe
322322
make install \
323323
2>&1 | tee -a ../python-$(PYTHON_VERSION).install.log
324324

325+
# Remove any .orig files produced by the compliance patching process
326+
find $$(PYTHON_INSTALL-$(target)) -name "*.orig" -exec rm {} \;
327+
325328
endif
326329

327330
PYTHON_SITECUSTOMIZE-$(target)=$(PROJECT_DIR)/support/$(PYTHON_VER)/$(os)/platform-site/$(target)/sitecustomize.py
@@ -555,6 +558,9 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
555558
# Apply the App Store compliance patch
556559
# patch --strip 2 --directory $$(PYTHON_INSTALL_VERSION-macosx)/lib/python$(PYTHON_VER) --input $(PROJECT_DIR)/patch/Python/app-store-compliance.patch
557560

561+
# Remove any .orig files produced by the patching process
562+
find $$(PYTHON_INSTALL_VERSION-macosx) -name "*.orig" -exec rm {} \;
563+
558564
# Rewrite the framework to make it standalone
559565
patch/make-relocatable.sh $$(PYTHON_INSTALL_VERSION-macosx) 2>&1 > /dev/null
560566

@@ -608,6 +614,11 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
608614
@echo ">>> Create helper links in XCframework for $(os)"
609615
$$(foreach sdk,$$(SDKS-$(os)),ln -si $$(SDK_SLICE-$$(sdk)) $$(PYTHON_XCFRAMEWORK-$(os))/$$(sdk); )
610616

617+
ifeq ($(os),iOS)
618+
@echo ">>> Clone testbed project for $(os)"
619+
$(HOST_PYTHON) $$(PYTHON_SRCDIR-$$(firstword $$(SDK_TARGETS-$$(firstword $$(SDKS-$(os))))))/iOS/testbed clone --framework $$(PYTHON_XCFRAMEWORK-$(os)) support/$(PYTHON_VER)/$(os)/testbed
620+
endif
621+
611622
@echo ">>> Create VERSIONS file for $(os)"
612623
echo "Python version: $(PYTHON_VERSION) " > support/$(PYTHON_VER)/$(os)/VERSIONS
613624
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.10 <https://github.com/beeware/Python-Apple-support/tree/3.10>`__
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)