Skip to content

fix: retain build.source spec in lock-file for relative paths#5247

Merged
baszalmstra merged 1 commit intoprefix-dev:mainfrom
baszalmstra:verbatim_source_build_url
Jan 15, 2026
Merged

fix: retain build.source spec in lock-file for relative paths#5247
baszalmstra merged 1 commit intoprefix-dev:mainfrom
baszalmstra:verbatim_source_build_url

Conversation

@baszalmstra
Copy link
Contributor

Description

This PR retains relative paths in build.source in the lock-file simplifying the logic significantly.

Fixes #5125
Closes #5190

How Has This Been Tested?

I tested with the reproducer from 5125.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added sufficient tests to cover my changes.
  • I have verified that changes that would impact the JSON schema have been made in schema/model.py.

Copy link
Contributor

@tdejager tdejager left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Muuucho better!

@baszalmstra baszalmstra force-pushed the verbatim_source_build_url branch from 249a1ed to bdb7bce Compare January 15, 2026 13:01
@baszalmstra baszalmstra merged commit db7dd87 into prefix-dev:main Jan 15, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The workspace_root should be part of the source build path at this point: StripPrefixError(())

2 participants