Skip to content

fix recompiling every time in uv-python#16214

Merged
zanieb merged 1 commit intoastral-sh:mainfrom
dead10ck:fix/uv-python-build
Oct 9, 2025
Merged

fix recompiling every time in uv-python#16214
zanieb merged 1 commit intoastral-sh:mainfrom
dead10ck:fix/uv-python-build

Conversation

@dead10ck
Copy link
Copy Markdown
Contributor

@dead10ck dead10ck commented Oct 9, 2025

Cargo is currently recompiling uv-python on every invocation because the minified JSON output file is getting a mod time newer than the last run. Instead, set the mod time of the output file to the same as the input file.

Cargo is currently recompiling uv-python on every invocation because
the minified JSON output file is getting a mod time newer than the last
run. Instead, set the mod time of the output file to the same as the
input file.
Copy link
Copy Markdown
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

This seems sensible to me

@zanieb zanieb added the internal A refactor or improvement that is not user-facing label Oct 9, 2025
@zanieb
Copy link
Copy Markdown
Member

zanieb commented Oct 9, 2025

Thanks for following up!

@zanieb zanieb merged commit ea5a092 into astral-sh:main Oct 9, 2025
100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants