astral-sh / rye

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

Include sources in lockfile #1034

Closed GeorchW closed 6 months ago

GeorchW commented 6 months ago

Including the sources in the lockfile has the advantage of being able to install the dependencies with pip or uv directly from the lockfile.

From the code it seems like there was a conscious decision to do it differently, but I'm not sure what the reasoning was back then and whether it's still applicable. I'm absolutely open for discussions!

GeorchW commented 6 months ago

Nvm, I just wasn't aware of the --with-sources option.