add helper script to download the needed files to mirror for UV_PYTHON_INSTALL_MIRROR#8548
Conversation
6d4bd17 to
410458c
Compare
|
Cool! This may be better hosted outside this repository since it's just a Python script. I'll take a closer look though. Related #8062 |
Yes, I thought about it, but decided that it would be better to keep it close to the JSON for a couple of reasons:
|
|
So, What do you think @zanieb ? |
|
After looking more closely, I feel the same way — I don't want to maintain this and think it makes more sense as an external script. I think @charliermarsh is partial to merging it. I won't stand in the way of that, but since we're not testing this I wouldn't be surprised if it becomes outdated. |
|
So we are waiting for @charliermarsh decision? |
4bb9aaf to
c271230
Compare
|
Thank you for merging |
|
Thank you for contributing this script, I was about to set out to try to automate exactly this so it saved me a lot of time and worked perfectly. |
|
@jeffcarrico |
Summary
I added
crates/uv-python/create-mirror.pyto make it easy to download all the needed files to create a mirror for Python distributions in an offline environment.the script also has an option to iterate over the git history of the
download-metadata.jsonto make sure we have all the files needed for all the uv versionsTest Plan
then checked (the
unsharecommand make sure that the process don't have any netwok)