Title: Discover ABI-tagged POSIX standard-library layouts by youknowdot · Pull Request #9974 · RustPython/RustPython · GitHub
Open Graph Title: Discover ABI-tagged POSIX standard-library layouts by youknowdot · Pull Request #9974 · RustPython/RustPython
X Title: Discover ABI-tagged POSIX standard-library layouts by youknowdot · Pull Request #9974 · RustPython/RustPython
Description: Part of #9852. RustPython's POSIX startup previously recognized only the untagged stdlib layout. Discover an ABI-tagged loose stdlib or ZIP as a fallback, and carry the selected layout through prefix calculation, the single ZIP slot, stdlib and lib-dynload paths. Keep legacy installations, explicit path overrides and executable-adjacent build markers working as before. A loose Lib/ at a checkout ancestor should not mask a separate tagged install strictly below it. This does not change sysconfig's site-packages scheme or Windows layout rules. Retire the expected failure for test_venv.BasicTest.test_zippath_from_non_installed_posix. The three separate branded-directory checks are unchanged. Validation on Linux: Exact CPython 3.15.2 reference (ordinary and free-threaded); the canonical venv selector passes on the candidate with temporary directories both outside and inside a checkout. 27 staged-layout checks with executed imports, including 16 legacy/baseline controls and 11 tagged cases. Full test_venv plus test_site: no candidate-specific failures. The sandbox denied the multiprocessing semaphore in both baseline and candidate. test_site passed with seven skips. Five scoped Rust getpath tests passed, including computed and customized embedding path ordering. Repository pre-commit hooks passed. The full workspace and C API suites were not run locally. No startup performance claim. AI disclosure: Codex assisted with the design, implementation, review, test setup, and PR description. This is a draft for maintainer review.
Open Graph Description: Part of #9852. RustPython's POSIX startup previously recognized only the untagged stdlib layout. Discover an ABI-tagged loose stdlib or ZIP as a fallback, and carry the selected layout through ...
X Description: Part of #9852. RustPython's POSIX startup previously recognized only the untagged stdlib layout. Discover an ABI-tagged loose stdlib or ZIP as a fallback, and carry the selected layout thro...
Opengraph URL: https://github.com/RustPython/RustPython/pull/9974
X: @github
Domain: github.com
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:90a193dd-eb87-ff3f-13af-6fb92f83b66f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B81E:33444D:2E1FE1C:3D5BB97:6B01D7EF |
| html-safe-nonce | fc33edf2ebffc69c503fd29a462812249f1c9322843a642af003181de0badd2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODFFOjMzNDQ0RDoyRTFGRTFDOjNENUJCOTc6NkIwMUQ3RUYiLCJ2aXNpdG9yX2lkIjoiNTQxMTgxODAyNjM3MjgxNDgzMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 00a9f4dcce7efae5f3484571a8bee8ecb29797174f86eddbedf36d807b05db18 |
| hovercard-subject-tag | pull_request:5405673099 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RustPython/RustPython/pull/9974/files |
| twitter:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/336763669?s=400&v=4 |
| og:image:alt | Part of #9852. RustPython's POSIX startup previously recognized only the untagged stdlib layout. Discover an ABI-tagged loose stdlib or ZIP as a fallback, and carry the selected layout through ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width