Skip to content

gh-158051: Update testbed to support Xcode 27 - #158052

Merged
freakboy3742 merged 4 commits into
python:mainfrom
freakboy3742:ios-testbed-xcode-27
Sep 24, 2026
Merged

freakboy3742 merged 4 commits into
python:mainfrom
freakboy3742:ios-testbed-xcode-27

Conversation

@freakboy3742

@freakboy3742 freakboy3742 commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Xcode 27 imposes a minimum iOS version on projects, and requires the use of a UIScene lifecycle.

This modifies the iOS testbed project to:

  • bump the iOS target version (from 13.0 to 15.0, the new minimum)
  • add a UIScene-based lifecycle to the app

Github Actions CI testing is currently performed with Xcode 26; Buildbot currently uses Xcode 16. I have manually tested this with Xcode 27 as well.

Marked for backport to all iOS-supporting versions, because otherwise it's going to be difficult to test old Python versions on a recent setup. #158018 flags a similar class of issue on Android; there's a bigger conversation to be had around this problem.

@freakboy3742 freakboy3742 added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Sep 24, 2026
@freakboy3742

Copy link
Copy Markdown
Contributor Author

!buildbot iOS

@bedevere-bot

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @freakboy3742 for commit 1bc4638 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F158052%2Fmerge

The command will test the builders whose names match following regular expression: iOS

The builders matched are:

  • iOS ARM64 Simulator PR

@ned-deily ned-deily left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the .gitignore entry, LGTM. make testios ran successfully on Xcode 26 / macOS 26 and Xcode 27 / macOS 27 builds.

Comment thread .gitignore Outdated
/.claude/sandbox/
AGENTS.local.md
CLAUDE.local.md
/docs/superpowers

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intended?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was semi-intentional; /docs/superpowers is an AI-planning folder used by the Superpowers AI tool. I had some planning docs that were coming up as uncommitted files in git, so I figured I'd add it in. However, it's not essential for this change, so I can drop it.

@freakboy3742
freakboy3742 enabled auto-merge (squash) September 24, 2026 06:27
@freakboy3742
freakboy3742 merged commit daacd2d into python:main Sep 24, 2026
55 checks passed
@freakboy3742
freakboy3742 deleted the ios-testbed-xcode-27 branch September 24, 2026 06:54
@miss-islington-app

Copy link
Copy Markdown

Thanks @freakboy3742 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @freakboy3742, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker daacd2d9a2b47ee277f398ed024afe6ced6f039f 3.14

@miss-islington-app

Copy link
Copy Markdown

Sorry, @freakboy3742, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker daacd2d9a2b47ee277f398ed024afe6ced6f039f 3.13

@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158060 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 24, 2026
@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158061 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 24, 2026
@bedevere-app

bedevere-app Bot commented Sep 24, 2026

Copy link
Copy Markdown

GH-158062 is a backport of this pull request to the 3.13 branch.

hugovk pushed a commit that referenced this pull request Sep 24, 2026
…8060)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
freakboy3742 added a commit that referenced this pull request Sep 25, 2026
…8061)

Modify testbed to target iOS 15 as a minimum, and use a UIScene lifecycle.
These changes are required by Xcode 27, but are backwards compatible to
at least Xcode 16.
(cherry picked from commit daacd2d)
freakboy3742 added a commit that referenced this pull request Sep 25, 2026
…8062)

Modify testbed to target iOS 15 as a minimum, and use a UIScene lifecycle.
These changes are required by Xcode 27, but are backwards compatible to
at least Xcode 16.
(cherry picked from commit daacd2d)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants