Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

iOS testbed can't access app or app_packages code in subinterpreters #162115

Open

Description

@mhsmith

Bug report

For details see:

The iOS testbed adds the app and app_packages directories to sys.path using code in TestbedTests.m, which isn't executed again when creating a subinterpreter. So by default, subinterpreters can't access anything except the Python standard library.

It shouldn't be necessary for every package to provide its own workaround for this. Could we fix it in the testbed, either by using the standard site-packages location, or by putting a .pth file in that location which adds the other locations?

CPython versions tested on:

3.14

Operating systems tested on:

Other

Linked PRs

Activity

  1. added
    type-bug
    on Nov 16, 2026
  2. freakboy3742 commented on Nov 18, 2026

    @freakboy3742
    Contributor

    This can definitely be fixed in the testbed - and I think it might be possible to radically simplify the testbed in the process. Patch incoming shortly.

  3. added
    3.14
    3.15
    3.16
    on Nov 18, 2026
  4. added a commit that references this issue on Nov 30, 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.143.153.16OS-iostype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions