Conversation
Since in newer versions of uv (specifically uv 0.10.5+, which we haven't yet updated to) the default link mode has changed from `hardlink` to `clone` (aka reflink), and reflinks are slower in some environments (such as Heroku's build system). See: astral-sh/uv#18259 Even if the uv default ends up being changed back to hard links again, it seems worth us explicitly requesting that link mode, given that we know it's the best mode for our use-case. GUS-W-21429394.
runesoerensen
approved these changes
Mar 3, 2026
Merged
heroku-linguist bot
added a commit
to heroku/cnb-builder-images
that referenced
this pull request
Mar 3, 2026
## heroku/python ### Changed - Updated pip from 25.3 to 26.0.1. ([#508](heroku/buildpacks-python#508)) - Updated uv from 0.10.1 to 0.10.7. ([#518](heroku/buildpacks-python#518)) - Explicitly configured uv to use hard links to maintain the behaviour of previous versions. ([#519](heroku/buildpacks-python#519))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since in newer versions of uv (specifically uv 0.10.5+, which we haven't yet updated to) the default link mode has changed from
hardlinktoclone(aka reflink), and reflinks are slower in some environments (such as Heroku's build system).See:
Even if the uv default ends up being changed back to hard links again, it seems worth us explicitly requesting that link mode, given that we know it's the best mode for our use-case.
GUS-W-21429394.