-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add helper script to download the needed files to mirror for UV_PYTHON_INSTALL_MIRROR #8548
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.py
to 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.json
to make sure we have all the files needed for all the uv versionsTest Plan
then checked (the
unshare
command make sure that the process don't have any netwok)