-
-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merging requirements-dev.lock into requirements.lock #525
Comments
I do want to replace these files with real lock files entirely. Given that they can end up with very different resolutions I'm not sure if I want to attempt to have a single requirements based lock file at the moment. |
I think there is power in the ability to install the lock files using |
We could standardize |
@shroominic misusing lockfiles as user-requests (requirements) is problematic when you work with more than one environment (a combination of Python/OS/arch) since they can easily contain transitive dependencies that are incompatible with other envs. Here I tried to explain how the concept of lockfiles and the idea of what they do is misunderstood in the context of Python specifically: jazzband/pip-tools#1326 (comment) |
Why not merging booth .lock files into a single requirements.lock?
All dev packages could be appended with a check for a ENV var so if you are in dev mode you activate this var.
As example we could use
RYE_DEV
and append every dev requirement withyour_dev_package; os.environ.get('RYE_DEV') == 'true'
. This would remove the need for 2 files and we are all happy because we have cleaner git repos :)The text was updated successfully, but these errors were encountered: