Skip to content

Simpler way of creating locks from multiple requirements #2

@cm-tm

Description

@cm-tm

If I have multiple requirements files and packages from all of them installed in the current environment, then running dante lock -s would lock all packages in lock_file_path, even those that are listed in a different requirement file. So instead I need to perform multiple lock calls:

dante lock -s -r requirements.txt -f requirements.lock
dante lock -s -r requirements-dev.txt -f requirements-dev.lock
...

With the existing support for multiple requirements files and multiple lock files, wouldn't it be better if there was a clear relation between each requirement file and a lock file so that dante lock -s would modify multiple lock files at once?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions