poetry icon indicating copy to clipboard operation
poetry copied to clipboard

Doc Question

Open icbd opened this issue 1 year ago • 1 comments

Issue Kind

Unclear documentation

Existing Link

https://python-poetry.org/docs/pyproject/#extras

Description

Doc link: https://python-poetry.org/docs/pyproject/#extras

Any extras you don’t specify will be removed. Note this behavior is different from optional dependency groups not selected for install, e.g. those not specified via install --with.

What exactly does "removed" refer to here? Can someone help explain "different" in more detail here?

Thanks

icbd avatar Sep 08 '24 02:09 icbd

if your root package has two extras, say FOO and BAR, if you install with extras FOO, then install with extras BAR, everything associated with extra FOO will be removed.

clintonroy avatar Sep 08 '24 04:09 clintonroy