astral-sh / rye

a Hassle-Free Python Experience

Home Page:https://rye.astral.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unusable in the locked down environment

vladjohnson opened this issue · comments

Steps to Reproduce

Run rye sync on a machine that has no internet access and only PyPi mirror set up.

Expected Result

Successful bootstrapping

Actual Result

Hangs at "Bootstrapping rye internals". Tried tcpdump and it is attempting to make the request to github.com. What is the solution to running this in an environment that has no internet access outside of the PyPi mirror?

Thanks!

Version Info

rye 0.39.0
commit: 0.39.0 (bf3ccf8 2024-08-21)
platform: linux (aarch64)
self-python: not bootstrapped (target: cpython@3.12)
symlink support: true
uv enabled: true

Stacktrace

No response

@mitsuhiko, could you please look into this? Thank you so much :)