@@ -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
2222PYTHON_PKG_VERSION =3.11.9
2323PYTHON_MICRO_VERSION =$(shell echo $(PYTHON_VERSION ) | grep -Eo "\d+\.\d+\.\d+")
2424PYTHON_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+
325328endif
326329
327330PYTHON_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
0 commit comments