Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Merged
freakboy3742 merged 3 commits intopython:mainfromfreakboy3742:ios-testbed-site
Jun 27, 2025

Conversation

freakboy3742
Copy link
Contributor

@freakboy3742freakboy3742 commentedJun 26, 2025
edited by github-actionsbot
Loading

Modifies the startup of the iOS testbed so that theapp_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/

@freakboy3742
Copy link
ContributorAuthor

!buildbot iOS

@bedevere-bot
Copy link

🤖 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:iOS

The builders matched are:

  • iOS ARM64 Simulator PR

Copy link
Member

@ned-deilyned-deily left a 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

@freakboy3742freakboy3742 merged commitb38810b intopython:mainJun 27, 2025
83 of 85 checks passed
@freakboy3742freakboy3742 deleted the ios-testbed-site branchJune 27, 2025 04:46
@miss-islington-app
Copy link

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJun 27, 2025
…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>
@miss-islington-app
Copy link

Sorry,@freakboy3742, I could not cleanly backport this to3.13 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker b38810bab76c11ea09260a817b3354aebc2af580 3.13

@bedevere-app
Copy link

GH-136012 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJun 27, 2025
freakboy3742 added a commit to freakboy3742/cpython that referenced this pull requestJun 27, 2025
…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>
@bedevere-app
Copy link

GH-136013 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJun 27, 2025
freakboy3742 added a commit that referenced this pull requestJun 27, 2025
…ctory (GH-135967) (#136012)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>
freakboy3742 added a commit that referenced this pull requestJun 27, 2025
…ctory (GH-135967) (#136013)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)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ned-deilyned-deilyned-deily approved these changes

Assignees

@freakboy3742freakboy3742

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@freakboy3742@bedevere-bot@ned-deily

[8]ページ先頭

©2009-2025 Movatter.jp