astral-sh / rye

a Hassle-Free Python Experience
https://rye.astral.sh
MIT License
13.83k stars 467 forks source link

Unusable in the locked down environment #1358

Open vladjohnson opened 2 months ago

vladjohnson commented 2 months ago

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 (bf3ccf818 2024-08-21) platform: linux (aarch64) self-python: not bootstrapped (target: cpython@3.12) symlink support: true uv enabled: true

Stacktrace

No response

vladjohnson commented 2 months ago

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

vladjohnson commented 2 months ago

Bump