Open djagoda881 opened 3 months ago
I second this, especially in cloud workflows such as lambdas where you will have multiple of them in a single repo, the ability to generate one lock file each for the respective lambdas greatly useful. PDM and Poetry both support these features. A syntax example to support this is as given below
rye lock --features group1 group2 --lock-file requirements-consolidated
Hello, I'm using Rye in a repository where I have a few optional dependencies group. I'm using this group depending on docker image that I want to create. So, for example:
I'd like to create my own custom .lock file, which I can use in my docker image. It will be cool to have an optional flag during execution of
rye lock --fatures group1
for example--lock-file
where I could specify a new lock file with default dependencies and dependencies from group1.Whole command
rye lock --fatures group1 --lock-file requirements-group1
.Files in the root repository folder after execution: