minify and filter embed managed pythons json on compile time (#12967)
## Summary In #10939 I added the generated `crates/uv-python/src/download-metadata-minified.json` file which is a minified version of `crates/uv-python/download-metadata.json`. The main reason for this PR is to avoid bloating the git objects as this is a single-line file. As a bonus, I also filtered the embed json to include only the versions for the compiled target. Which should improve the binary size and performance by a bit. ## Test Plan <!-- How was it tested? -->
This commit is contained in:
@@ -24,7 +24,6 @@ jobs:
|
||||
- name: Sync Python Releases
|
||||
run: |
|
||||
uv run -- fetch-download-metadata.py
|
||||
uv run -- minify-download-metadata.py
|
||||
working-directory: ./crates/uv-python
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user