poetry remove
Remove a package from the project dependencies. More information: https://python-poetry.org/docs/cli/#remove.
- Remove one or more packages from the project's dependencies:
poetry remove
- Remove a package from the development dependencies:
poetry remove
- Remove a package from a specific dependency group:
poetry remove
- Simulate removing a package without making any changes:
poetry remove --dry-run
- Update the lock file only, without removing the package from the environment:
poetry remove --lock
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
