14 lines
320 B
Markdown
14 lines
320 B
Markdown
|
|
# poetry lock
|
||
|
|
|
||
|
|
> Lock dependencies in `pyproject.toml` (without installing them).
|
||
|
|
> See also: `asdf`.
|
||
|
|
> More information: <https://python-poetry.org/docs/cli/#lock>.
|
||
|
|
|
||
|
|
- Lock dependencies from the current directory's `pyproject.toml` file:
|
||
|
|
|
||
|
|
`poetry lock`
|
||
|
|
|
||
|
|
- Regenerate the existing lock file:
|
||
|
|
|
||
|
|
`poetry lock --regenerate`
|