You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 5, 2026. It is now read-only.
Add autosync(and --sync/--no-sync ) to rye run #886
These have already been added for rye add/rye remove when using uv as a backend.
It's really useful to be able to install all the dependencies when running python via rye run python or rye run ipython/an app/etc. And thanks to uv it will be super fast.
Basically I'd like for it to be possible for everyone working on the project to git pull/git checkout $branch and then rye run python script.py/ rye run uvicorn main:app --reload/etc and have everything install from the latest/appropriate checked in lock files(probably no need to regenerate the lock file cause you're not modifying them with the run command).
I'm also not quite certain how the python shim at $HOME/.rye/shims/python works. It's not the python binary right? I think it calls shims.rs
execute_shim/get_shim_target right? If so it would be even nicer to add autosync to the shim so that before running a script "directly"/ as python script.py you'd still get the automatically sync-ed environment.
I maintain the python "environment" for our team at work and this would be really helpful.
These have already been added for
rye add/rye removewhen using uv as a backend.It's really useful to be able to install all the dependencies when running python via
rye run pythonorrye runipython/an app/etc. And thanks to uv it will be super fast.Basically I'd like for it to be possible for everyone working on the project to git pull/git checkout $branch and then
rye run python script.py/rye run uvicorn main:app --reload/etc and have everything install from the latest/appropriate checked in lock files(probably no need to regenerate the lock file cause you're not modifying them with the run command).I'm also not quite certain how the python shim at $HOME/.rye/shims/python works. It's not the python binary right? I think it calls
shims.rs
execute_shim/get_shim_target right? If so it would be even nicer to add autosync to the shim so that before running a script "directly"/ as python script.py you'd still get the automatically sync-ed environment.
I maintain the python "environment" for our team at work and this would be really helpful.