Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.2k
gh-135966: Modify iOS testbed to make app_packages a site directory#135967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
!buildbot iOS |
bedevere-bot commentedJun 26, 2025
🤖 New build scheduled with the buildbot fleet by@freakboy3742 for commit1baae68 🤖 Results will be shown at: https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135967%2Fmerge The command will test the builders whose names match following regular expression: The builders matched are:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Looks reasonable to me
b38810b
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@freakboy3742 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…tory (pythonGH-135967)The iOS testbed now treats the app_packages folder as a site folder. This ensures it ison the path, but also ensures any .pth files are processed on app startup.(cherry picked from commitb38810b)Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Sorry,@freakboy3742, I could not cleanly backport this to
|
GH-136012 is a backport of this pull request to the3.14 branch. |
…e directory (pythonGH-135967)The iOS testbed now treats the app_packages folder as a site folder. This ensures it ison the path, but also ensures any .pth files are processed on app startup.(cherry picked from commitb38810b)Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
GH-136013 is a backport of this pull request to the3.13 branch. |
Uh oh!
There was an error while loading.Please reload this page.
Modifies the startup of the iOS testbed so that the
app_packages
folder is treated as a site directory.This ensures that
.pth
files that are installed by packaged (such as the setuptools "distutils_hack") will not be processed.This surfaced during testing of an iOS patch for Pillow, which uses pyroma; pyroma depends on distutils; but because the .pth file installed by setuptools isn't processed, distutils can't be imported, and so neither can pyroma.
Also documents this as a likely integration requirement for anyone embedding CPython on iOS.
📚 Documentation preview 📚:https://cpython-previews--135967.org.readthedocs.build/