gh-146444: Don't package as part of iOS 'build hosts' target (GH-146628)
* Revert Py3.9 compatibility fixes.
* Only build the package on 'build all'.
(cherry picked from commit 6420847bda)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
gh-146444: Make Platforms/Apple/ compatible with Python 3.9 (GH-146624)
Replace "str | None" with typing.Union[str, None].
(cherry picked from commit 382c04308d)
Co-authored-by: Victor Stinner <vstinner@python.org>
Ensure that multi-arch libpython dylibs aren't copied into the app, and the
standard lib is always found for framework post-processing.
(cherry picked from commit 5684b3a04c)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Modifies the iOS build script so that the clean target is more selective about
what is cleaned, the test target has a valid fallback value for ci mode, and the
cross-build directory can be customised.
(cherry picked from commit ca6dfa0f31)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Modifies the iOS XCframework to include a lib folder for each slice that
contains a symlinked version of the libPython dynamic library.
(cherry picked from commit 7b0b708675)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Add ruff configuration to run over the Apple build tooling and testbed script.
(cherry picked from commit 17636ba48c)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Xcode concatenates the test argument array, losing quoting in the process.
(cherry picked from commit 558936bec1)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Corrected a typo in a return value docstring.
(cherry picked from commit 335d83ec04)
Co-authored-by: Lê Nam Khánh <55955273+khanhkhanhlele@users.noreply.github.com>
Exposes the GITHUB_ACTIONS environment variable to iOS simulator test runs, and
uses this variable to skip a Unix Datagram socketserver test that is unreliable
in the iOS GitHub Actions environment.
(cherry picked from commit 9f8d005d29)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Adds a CI configuration to test iOS builds on every build.
(cherry picked from commit f4e6370582)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
gh-139573: Update OpenSSL version used in iOS builds (GH-139582)
Update OpenSSL version used in iOS builds.
(cherry picked from commit 20758f9bb1)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>