poetry update
Update the dependencies as according to the
pyproject.tomlfile. More information: https://python-poetry.org/docs/cli/#update.
- Update all dependencies:
poetry update
- Update one or more specific packages:
poetry update
- Update the lock file only, without installing the packages:
poetry update --lock
- Synchronize the environment with the locked packages:
poetry update --sync
- Update dependencies only for a specific group:
poetry update --only
- Simulate the update process without making changes:
poetry update --dry-run
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
