Commit Graph

27 Commits

Author SHA1 Message Date
Miss Islington (bot) 3a65f46353
[3.13] gh-135101: When choosing the default simulator device, don't use `simctl --set testing` (GH-135102) (#135114)
On a fresh Xcode install (including some CI provider configurations), there is
no pre-existing testing set that can be used to identify simulator models. Use
the default device set to detect available models instead. Live testing
simulators are still created in the testing set.
(cherry picked from commit dba9de731b)

Co-authored-by: Joe Rickerby <joerick@mac.com>
2025-06-04 00:54:42 +00:00
Miss Islington (bot) f68be0f38e
[3.13] gh-133183: Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets. (GH-133184) (#133234)
Include IPHONEOS_DEPLOYMENT_TARGET in iOS shim targets.
(cherry picked from commit 6e907c4d1f)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-05-01 02:59:27 +00:00
Miss Islington (bot) 7998f998b2
[3.13] gh-133131: Discover an appropriate iOS simulator rather than hard-coding iPhone SE 3rd gen (GH-133132) (#133173)
Determines a candidate simulator at runtime rather than hardcoding iPhone SE.
(cherry picked from commit 42b0b0667e)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-04-29 21:59:21 +00:00
Russell Keith-Magee 589f422d1b
[3.13] gh-130940: Remove PyConfig.use_system_logger (#131129)
Tests / Check if Autoconf files are up to date (push) Blocked by required conditions Details
Tests / Check if generated files are up to date (push) Blocked by required conditions Details
Tests / Ubuntu SSL tests with OpenSSL (3.0.15, ubuntu-24.04) (push) Blocked by required conditions Details
Tests / Ubuntu SSL tests with OpenSSL (3.1.7, ubuntu-24.04) (push) Blocked by required conditions Details
Tests / Ubuntu SSL tests with OpenSSL (3.2.3, ubuntu-24.04) (push) Blocked by required conditions Details
Tests / Ubuntu SSL tests with OpenSSL (3.3.2, ubuntu-24.04) (push) Blocked by required conditions Details
Tests / Hypothesis tests on Ubuntu (push) Blocked by required conditions Details
Tests / Address sanitizer (ubuntu-24.04) (push) Blocked by required conditions Details
Tests / All required checks pass (push) Blocked by required conditions Details
Lint / lint (push) Failing after 34s Details
Tests / Change detection (push) Successful in 27m51s Details
Tests / Docs (push) Has been skipped Details
Tests / Check if the ABI has changed (push) Failing after 31s Details
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (Win32, false, windows-latest) (push) Has been skipped Details
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (arm64, false, windows-latest) (push) Has been skipped Details
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (arm64, true, windows-latest) (push) Has been skipped Details
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (x64, false, windows-latest) (push) Has been skipped Details
Tests / Windows ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (x64, true, windows-latest) (push) Has been skipped Details
Tests / Windows MSI${{ '' }} (arm64) (push) Has been skipped Details
Tests / Windows MSI${{ '' }} (x64) (push) Has been skipped Details
Tests / Windows MSI${{ '' }} (x86) (push) Has been skipped Details
Tests / macOS ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false, ${{ github.repository_owner != 'python' }}, ghcr.io/cirruslabs/macos-runner:sonoma) (push) Failing after 26m22s Details
Tests / macOS ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (true, ${{ github.repository_owner != 'python' }}, ghcr.io/cirruslabs/macos-runner:sonoma) (push) Failing after 31s Details
Tests / Ubuntu ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false) (push) Failing after 28m19s Details
Tests / WASI (push) Failing after 28m29s Details
Tests / macOS ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false, ${{ github.repository_owner != 'python' }}, macos-14) (push) Failing after 33m34s Details
Tests / macOS ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false, ${{ github.repository_owner != 'python' }}, macos-13) (push) Failing after 33m34s Details
Tests / CIFuzz (address) (push) Has been skipped Details
Tests / CIFuzz (memory) (push) Has been skipped Details
Tests / CIFuzz (undefined) (push) Has been skipped Details
Tests / macOS ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (true, ${{ github.repository_owner != 'python' }}, macos-14) (push) Failing after 32m44s Details
Tests / Ubuntu ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (true) (push) Failing after 36m1s Details
Tests / Thread sanitizer ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (false) (push) Failing after 25m11s Details
Tests / Thread sanitizer ${{ fromJSON(matrix.free-threading) && '(free-threading)' || '' }} (true) (push) Successful in 53m17s Details
Removes ``PyConfig.use_system_logger``, resolving an ABI incompatibility introduced in
3.13.2.

Changes the default behavior of iOS to *always* direct stdout/stderr to the system log.
2025-03-13 11:53:11 +08:00
Miss Islington (bot) 797aac789a
[3.13] gh-129200: Add locking to the iOS testbed startup sequence. (GH-130564) (#130657)
Add a lock to ensure that only one iOS testbed per user can start at a time, so
that the simulator discovery process doesn't collide between instances.
(cherry picked from commit 9211b3dabe)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-02-28 10:48:46 +08:00
Miss Islington (bot) 90fc6117da
[3.13] gh-130292: Allow for empty simulator list when running iOS testbed (GH-130388) (#130532)
Adds error handling when there are no pre-existing test simulators.
(cherry picked from commit 99088ab081)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-02-25 15:29:43 +08:00
Miss Islington (bot) 439cba75d9
[3.13] gh-130293: Ensure test__colorize will pass on dumb terminals. (GH-130333) (#130334)
Ensure colorize tests will run on dumb terminals (or environment with TERM=dumb set)

(cherry picked from commit 1b070060c0)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-02-20 07:12:56 +00:00
Miss Islington (bot) 32158ea476
[3.13] gh-130025: Correct handling of symlinks during iOS testbed framework installation. (GH-130026) (#130073)
Correct handling of symlinks during iOS testbed framework installation.
(cherry picked from commit 625470a7d2)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-02-13 14:47:05 +08:00
Miss Islington (bot) aa1beed858
[3.13] gh-129248: Filter out the iOS log prefix from testbed runner output. (GH-129252) (#129283)
Filter out the iOS log prefix from testbed runner output.
(cherry picked from commit a58083811a)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-01-25 09:12:32 +00:00
Miss Islington (bot) 740e9ab545
[3.13] gh-127845: Minor improvements to iOS test runner script (GH-127846) (#127892)
Uses symlinks to install iOS framework into testbed clone, adds a verbose mode
to the iOS runner to hide most Xcode output, adds another mechanism to disable
terminal colors, and ensures that stdout is flushed after every write.
(cherry picked from commit ba2d2fda93)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-12-12 22:17:58 +00:00
Miss Islington (bot) 8b28dedc58
[3.13] gh-126821: Add versionadded annotation to use_system_logger feature. (GH-127755) (#127806)
Add versionadded annotation to use_system_logger feature.
(cherry picked from commit 51216857ca)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-12-10 21:38:12 +00:00
Russell Keith-Magee 075c41d5f5
[3.13] gh-126925: Modify how iOS test results are gathered (GH-127592) (#127754)
Adds a `use_system_log` config item to enable stdout/stderr redirection for
Apple platforms. This log streaming is then used by a new iOS test runner
script, allowing the display of test suite output at runtime. The iOS test
runner script can be used by any Python project, not just the CPython test
suite.
(cherry picked from commit 2041a95e68)
2024-12-09 14:39:11 +08:00
Russell Keith-Magee 1182c64181
[3.13] gh-127434: Fix iOS `xcrun --sdk` clang/ar scripts to allow arguments with spaces (GH-127575) (#127624)
Added shell escaping to ensure iOS compiler shims can accept arguments with spaces.
(cherry picked from commit 6cf77949fb)

Co-authored-by: Feodor Fitsner <feodor@appveyor.com>
2024-12-05 03:28:21 +00:00
Miss Islington (bot) 2b2ad244c0
[3.13] gh-126167: Modify iOS Testbed to read arguments from Info.plist (GH-126169) (#126940)
gh-126167: Modify iOS Testbed to read arguments from Info.plist (GH-126169)
2024-11-18 08:50:54 +08:00
Miss Islington (bot) 3dd5ce3768
[3.13] Add shims for iOS C++ compilation (GH-123620) (#123656)
Add shims for iOS C++ compilation (GH-123620)

Add shims for iOS C++ compilation.
(cherry picked from commit 135dad9bd7)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-09-04 00:52:13 +00:00
Miss Islington (bot) fa21b3b8ee
[3.13] Ensure that iOS test re-runs don't try to spawn a process. (GH-122994) (#123368)
Ensure that iOS test re-runs don't try to spawn a process. (GH-122994)

Adds the --single-process option to the iOS test runner to ensure re-runs execute in the same process.
(cherry picked from commit e03073ff20)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-08-27 08:53:05 +08:00
Miss Islington (bot) 30f6cc75e9
[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#123367)
Add a --rerun option to the iOS testbed. (GH-122992)

Enable --rerun when running tests on iOS.
(cherry picked from commit ce39d3c6bd)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-08-27 00:25:17 +00:00
Russell Keith-Magee 31a962b1b3
[3.13] Revert use of --rerun in iOS testbed. (#122995)
Reverts the use of --rerun in iOS testing because it tries to create a subprocess on the rerun.
2024-08-14 02:03:18 +00:00
Miss Islington (bot) bfec6f319a
[3.13] Add a --rerun option to the iOS testbed. (GH-122992) (#122993)
Enable --rerun when running tests on iOS.
(cherry picked from commit ce39d3c6bd)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2024-08-14 00:41:37 +00:00
Miss Islington (bot) a1505afd39
[3.13] gh-120831: Increase the default minimum supported iOS version to 13.0 (GH-121250) (#121833)
gh-120831: Increase the default minimum supported iOS version to 13.0 (GH-121250)

Increases the default minimum iOS version to 13.0.

(cherry picked from commit 7e91e0dcfe)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2024-07-16 12:57:05 +08:00
Xie Yanbo 3c39f335cb
gh-114099: Fix typos in iOS/README.rst (GH-118378) 2024-04-29 14:15:15 +03:00
Wulian233 c57326f487
Correct typo in iOS README (#118341) 2024-04-27 10:25:32 +01:00
Russell Keith-Magee 0f27672c50
gh-114099: Add documentation for iOS platform (GH-117057)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Jacob Coffee <jacob@z7x.org>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Ned Deily <nad@python.org>
2024-03-28 04:13:13 -04:00
Russell Keith-Magee f006338017
gh-114099: Additions to standard library to support iOS (GH-117052)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Ned Deily <nad@python.org>
2024-03-28 03:59:33 -04:00
Russell Keith-Magee 408e127159
gh-114099 - Add iOS framework loading machinery. (GH-116454)
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2024-03-19 08:36:19 -04:00
Russell Keith-Magee b33980a2e3
gh-114099 - Add iOS testbed, plus Makefile target to invoke it. (gh-115930) 2024-03-06 23:24:52 -05:00
Russell Keith-Magee bee7bb3310
gh-114099: Add configure and Makefile targets to support iOS compilation. (GH-115390) 2024-02-25 20:21:10 -05:00