无法删除可选依赖项
作者: rzuckerm创建于 2026年1月22日更新于 2026年9月29日
标签kind/bugarea/cli
Description
I use this command to add pylint as an optional dependency:
poetry add --optional linting pylint^3If I try to remove pylint, I get this error:
$ poetry remove pylint
The following packages were not found: pylintWorkarounds
I have to manually edit the pyproject.toml to remove the optional dependency
内容来源: python-poetry/poetry