Skip to content

Commit dba09ad

Browse files
authored
Update patch for Python v3.14.9 (#380)
1 parent abbcd87 commit dba09ad

4 files changed

Lines changed: 1445 additions & 558 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -146,11 +146,6 @@ jobs:
146146
fail-fast: false
147147
matrix:
148148
platform: ["macOS", "iOS"]
149-
include:
150-
- briefcase-run-args:
151-
152-
- platform: iOS
153-
briefcase-run-args: ' -d "iPhone 17e::iOS 26.5"'
154149

155150
steps:
156151
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -192,7 +187,7 @@ jobs:
192187
PYTHON_VER: ${{ needs.config.outputs.PYTHON_VER }}
193188
BUILD_NUMBER: ${{ needs.config.outputs.BUILD_NUMBER }}
194189
run: |
195-
briefcase run ${{ matrix.platform }} Xcode --test ${{ matrix.briefcase-run-args }} -C support_package=\'../dist/Python-${PYTHON_VER}-${{ matrix.platform }}-support.${BUILD_NUMBER}.tar.gz\'
190+
briefcase run ${{ matrix.platform }} Xcode --test -C support_package=\'../dist/Python-${PYTHON_VER}-${{ matrix.platform }}-support.${BUILD_NUMBER}.tar.gz\'
196191
197192
cpython-testbed:
198193
name: CPython testbed (${{ matrix.platform }})
@@ -201,12 +196,7 @@ jobs:
201196
strategy:
202197
fail-fast: false
203198
matrix:
204-
platform: ["iOS", "tvOS", "visionOS"]
205-
include:
206-
- platform: "iOS"
207-
testbed-args: '--simulator "iPhone 17e,arch=arm64,OS=26.5"'
208-
- platform: "visionOS"
209-
testbed-args: '--simulator "Apple Vision Pro,arch=arm64,OS=26.5"'
199+
platform: ["iOS", "tvOS", "watchOS", "visionOS"]
210200

211201
steps:
212202
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

‎Makefile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ BUILD_NUMBER=custom
1919
# of a release cycle, as official binaries won't be published.
2020
# PYTHON_MICRO_VERSION is the full version number, without any alpha/beta/rc suffix. (e.g., 3.10.0)
2121
# PYTHON_VER is the major/minor version (e.g., 3.10)
22-
PYTHON_VERSION=3.14.8
22+
PYTHON_VERSION=3.14.9
2323
PYTHON_PKG_VERSION=$(PYTHON_VERSION)
2424
PYTHON_MICRO_VERSION=$(shell echo $(PYTHON_VERSION) | grep -Eo "\d+\.\d+\.\d+")
2525
PYTHON_PKG_MICRO_VERSION=$(shell echo $(PYTHON_PKG_VERSION) | grep -Eo "\d+\.\d+\.\d+")
@@ -709,7 +709,7 @@ $$(PYTHON_XCFRAMEWORK-$(os))/Info.plist: \
709709
# Disable dSYM production (for now)
710710
# $$(foreach sdk,$$(SDKS-$(os)),cp -r $$(PYTHON_INSTALL-$$(sdk))/Python.dSYM $$(PYTHON_XCFRAMEWORK-$(os))/$$(SDK_SLICE-$$(sdk)); )
711711

712-
ifeq ($(filter $(os),iOS tvOS visionOS),$(os))
712+
ifeq ($(filter $(os),iOS tvOS visionOS watchOS),$(os))
713713
@echo ">>> Clone testbed project for $(os)"
714714
$(HOST_PYTHON) $$(PYTHON_SRCDIR-$$(firstword $$(SDK_TARGETS-$$(firstword $$(SDKS-$(os))))))/Platforms/Apple/testbed clone --platform $(os) --framework $$(PYTHON_XCFRAMEWORK-$(os)) support/$(PYTHON_VER)/$(os)/testbed
715715
endif

‎README.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ This is a meta-package for building a version of Python that can be embedded int
88
- [Python 3.12](https://github.com/beeware/Python-Apple-support/tree/3.12)
99
- [Python 3.13](https://github.com/beeware/Python-Apple-support/tree/3.13)
1010
- [Python 3.15](https://github.com/beeware/Python-Apple-support/tree/3.15)
11+
- [Python 3.16](https://github.com/beeware/Python-Apple-support/tree/3.16)
1112

1213
It works by downloading, patching, and building a fat binary of Python and selected pre-requisites, and packaging them as frameworks that can be incorporated into an Xcode project. The binary modules in the Python standard library are distributed as binaries that can be dynamically loaded at runtime.
1314

@@ -35,7 +36,7 @@ The binaries support x86_64 and arm64 for macOS; arm64 for iOS and appleTV devic
3536
- tvOS 12.0 or later, on:
3637
- Apple TV (4th gen or later)
3738

38-
- watchOS 4.0 or later, on:
39+
- watchOS 9.0 or later, on:
3940
- Apple Watch (4th gen or later)
4041

4142
- visionOS 2.0 or later, on:

0 commit comments

Comments
 (0)