You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
iOS testbed can't access app or app_packages code in subinterpreters #162115
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?
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.
Activity
freakboy3742 commentedon Nov 18, 2026
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.