René's URL Explorer Experiment


Title: Split the install-time fix-up out of gather into fixup.py by itamaro · Pull Request #48 · python/prebuilt-cpython · GitHub

Open Graph Title: Split the install-time fix-up out of gather into fixup.py by itamaro · Pull Request #48 · python/prebuilt-cpython

X Title: Split the install-time fix-up out of gather into fixup.py by itamaro · Pull Request #48 · python/prebuilt-cpython

Description: gather --patch and --origin replaced the placeholder prefix at build time, standing in for what an installer would do. This extracts the "install step" into a standalone fixup script that can be included in the distro. gather now leaves the placeholder in, so the gathered tree isn't tied to a location. fixup.py replaces it once the tree is where it will live. It runs on any Python 3.12+ other than the one in the tree, and fails if no text file in the tree has the placeholder One deliberate difference from --patch: fixup.py only rewrites text files. Binaries are left alone, so their signatures stay valid, and it lists the ones that still contain the placeholder (today the interpreter and the .pyc files) test gathers, moves the tree, runs fixup.py and then checks it. --no-fixup skips that step, which is what a build that needs no install-time step would have to pass. CI runs test, test --no-fixup and, on Linux, test --relative-rpath. The Build artifacts workflow uploads one tarball per platform with the tree and fixup.py, instead of trees patched for the runner's paths. On a moved tree, fixup.py turns runtime.paths and metadata.build-details from FAIL to PASS on both platforms. metadata.prefix-leaks still fails (the interpreter has the placeholder compiled in), and so does developer.python-config on macOS (a shebang can't hold a path with spaces). Written with assistance from Claude Fable 5.2

Open Graph Description: gather --patch and --origin replaced the placeholder prefix at build time, standing in for what an installer would do. This extracts the "install step" into a standalone fixup script that...

X Description: gather --patch and --origin replaced the placeholder prefix at build time, standing in for what an installer would do. This extracts the "install step" into a standalone fixup scr...

Opengraph URL: https://github.com/python/prebuilt-cpython/pull/48

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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-controllerpull_requests
route-actionfiles
fetch-noncev2:12506bcf-0219-0db6-cc59-b26cfdc1080c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idACCA:29068E:56727:71C59:6B022057
html-safe-nonce2394fab8d00b08b5f761b67941e04dc6eb2f90a91e1b3d9f1c874aa5fccde2b0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0NBOjI5MDY4RTo1NjcyNzo3MUM1OTo2QjAyMjA1NyIsInZpc2l0b3JfaWQiOiI1NDU3NzM5MDE3ODM3NzQ4MzExIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac56c743d8b0668d2a5381f69265396cdc29280d544936d0f44d479e3a6365d4ba
hovercard-subject-tagpull_request:5344462252
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/prebuilt-cpython/pull/48/files
twitter:imagehttps://avatars.githubusercontent.com/u/290943?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/290943?s=400&v=4
og:image:altgather --patch and --origin replaced the placeholder prefix at build time, standing in for what an installer would do. This extracts the "install step" into a standalone fixup script that...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/prebuilt-cpython git https://github.com/python/prebuilt-cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id1075604713
octolytics-dimension-repository_nwopython/prebuilt-cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1075604713
octolytics-dimension-repository_network_root_nwopython/prebuilt-cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/prebuilt-cpython/pull/48/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fprebuilt-cpython%2Fpull%2F48%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fprebuilt-cpython%2Fpull%2F48%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fprebuilt-cpython
Reloadhttps://github.com/python/prebuilt-cpython/pull/48/files
Reloadhttps://github.com/python/prebuilt-cpython/pull/48/files
Reloadhttps://github.com/python/prebuilt-cpython/pull/48/files
pythonhttps://github.com/python
prebuilt-cpythonhttps://github.com/python/prebuilt-cpython
Codehttps://github.com/python/prebuilt-cpython
Issues2 (2)https://github.com/python/prebuilt-cpython/issues
Pull requests1 (1)https://github.com/python/prebuilt-cpython/pulls
Discussionshttps://github.com/python/prebuilt-cpython/discussions
Actionshttps://github.com/python/prebuilt-cpython/actions
Projectshttps://github.com/python/prebuilt-cpython/projects
Security and qualityhttps://github.com/python/prebuilt-cpython/security
Insightshttps://github.com/python/prebuilt-cpython/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fprebuilt-cpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fprebuilt-cpython%2Fissues%2Fnew%2Fchoose
itamarohttps://github.com/itamaro
python:mainhttps://github.com/python/prebuilt-cpython/tree/main
itamaro:install-scripthttps://github.com/itamaro/prebuilt-cpython/tree/install-script
Conversation 0 https://github.com/python/prebuilt-cpython/pull/48
Commits 2 https://github.com/python/prebuilt-cpython/pull/48/commits
Checks 2 https://github.com/python/prebuilt-cpython/pull/48/checks
Files changed https://github.com/python/prebuilt-cpython/pull/48/files
Please reload this pagehttps://github.com/python/prebuilt-cpython/pull/48/files
Split the install-time fix-up out of gather into fixup.py https://github.com/python/prebuilt-cpython/pull/48/files#top
Show all changes 2 commits https://github.com/python/prebuilt-cpython/pull/48/files
912862f Split the install-time fix-up out of `gather` into fixup.py itamaro Nov 17, 2026 https://github.com/python/prebuilt-cpython/pull/48/commits/912862fdd05fb5ddec84cbe0b38d6e79362cfd2e
d8fb3c0 Update the workflows for `gather` and `test` without strategies itamaro Nov 17, 2026 https://github.com/python/prebuilt-cpython/pull/48/commits/d8fb3c0869a0ed0d372176e9b807ce17c7ac4a47
Clear filters https://github.com/python/prebuilt-cpython/pull/48/files
Please reload this pagehttps://github.com/python/prebuilt-cpython/pull/48/files
Please reload this pagehttps://github.com/python/prebuilt-cpython/pull/48/files
reusable-build.yml https://github.com/python/prebuilt-cpython/pull/48/files#diff-951765131741a39f193f7387e405bafacb9b9e836a17986e6c7480d6dc448cc3
README.md https://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
fixup.py https://github.com/python/prebuilt-cpython/pull/48/files#diff-68c15c7494280ab2b98b6948ffb319c15e22f42d3122348fd145784f1b42a561
relocatable.py https://github.com/python/prebuilt-cpython/pull/48/files#diff-af9326deaf5e995204136c019e6e9e97fa51afa678bb59c54f394f8ca29138c7
.github/workflows/reusable-build.ymlhttps://github.com/python/prebuilt-cpython/pull/48/files#diff-951765131741a39f193f7387e405bafacb9b9e836a17986e6c7480d6dc448cc3
View file https://github.com/itamaro/prebuilt-cpython/blob/d8fb3c0869a0ed0d372176e9b807ce17c7ac4a47/.github/workflows/reusable-build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/prebuilt-cpython/pull/48/{{ revealButtonHref }}
https://github.com/python/prebuilt-cpython/pull/48/files#diff-951765131741a39f193f7387e405bafacb9b9e836a17986e6c7480d6dc448cc3
https://github.com/python/prebuilt-cpython/pull/48/files#diff-951765131741a39f193f7387e405bafacb9b9e836a17986e6c7480d6dc448cc3
https://github.com/python/prebuilt-cpython/pull/48/files#diff-951765131741a39f193f7387e405bafacb9b9e836a17986e6c7480d6dc448cc3
README.mdhttps://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
View file https://github.com/itamaro/prebuilt-cpython/blob/d8fb3c0869a0ed0d372176e9b807ce17c7ac4a47/README.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/prebuilt-cpython/pull/48/{{ revealButtonHref }}
https://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
https://github.com/python/prebuilt-cpython/pull/48/files#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5
fixup.pyhttps://github.com/python/prebuilt-cpython/pull/48/files#diff-68c15c7494280ab2b98b6948ffb319c15e22f42d3122348fd145784f1b42a561
View file https://github.com/itamaro/prebuilt-cpython/blob/d8fb3c0869a0ed0d372176e9b807ce17c7ac4a47/fixup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/prebuilt-cpython/pull/48/{{ revealButtonHref }}
Please reload this pagehttps://github.com/python/prebuilt-cpython/pull/48/files
Please reload this pagehttps://github.com/python/prebuilt-cpython/pull/48/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.