Skip to content

gh-160004: Fix build-details.json paths with --config-file-path - #160007

Open
itamaro wants to merge 1 commit into
python:mainfrom
itamaro:gh-build-details-config-file-path
Open

itamaro wants to merge 1 commit into
python:mainfrom
itamaro:gh-build-details-config-file-path

Conversation

@itamaro

@itamaro itamaro commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

make_paths_relative() now keeps the absolute base_prefix for computing the other paths, and only the stored base_prefix is made relative to the config file's directory. This is the same fix python-build-standalone carries in patch-python-relative-build-details.patch (by @geofft). That patch also changes the Makefile to generate relative paths by default; this PR leaves the Makefile alone.

Written with assistance from Claude Code Opus 5.5

make_paths_relative() first made base_prefix relative to the config
file's directory and then made the other paths relative to that relative
base_prefix, instead of the absolute one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review build The build process and cross-build needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant