Skip to content

iOS testbed doesn't honor .pth files #135966

Description

@freakboy3742

Bug report

Bug description:

When running tests through the iOS testbed, .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.

CPython versions tested on:

3.13

Operating systems tested on:

Other

Linked PRs

Activity

  1. added
    type-bugAn unexpected behavior, bug, or error
    3.13only security fixes
    3.14bugs and security fixes
    3.15pre-release feature fixes, bugs and security fixes
    on Jun 26, 2025
  2. freakboy3742 commented on Jun 26, 2025

    @freakboy3742
    ContributorAuthor

    The fix for this is that the app_packages folder used to install dependencies needs to be processed as a site location. The code for this is already present in the Briefcase iOS template.

    In addition to the testbed needing to be updated to do app package handling, the documentation advising on setting up an iOS interpreter (and the testing infrastructure) needs to be updated.

  3. added a commit that references this issue on Jun 27, 2025
  4. added a commit that references this issue on Jun 27, 2025
  5. added 3 commits that reference this issue on Jun 27, 2025
  6. added a commit that references this issue on Jul 11, 2025
  7. added a commit that references this issue on Jul 12, 2025
  8. added a commit that references this issue on Aug 4, 2025
  9. added a commit that references this issue on Aug 19, 2025
  10. added 3 commits that reference this issue on Feb 3, 2026
  11. added 2 commits that reference this issue on Jun 12, 2026
  12. added 2 commits that reference this issue on Oct 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.13only security fixes3.14bugs and security fixes3.15pre-release feature fixes, bugs and security fixesOS-iostype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions