poetry-plugin-bundle icon indicating copy to clipboard operation
poetry-plugin-bundle copied to clipboard

feat: add extras, no-directory, no-root options

Open jvtm opened this issue 2 years ago • 4 comments

Add the following options from Poetry installer command:

  • --no-root
  • --no-directory
  • -E, --extras=EXTRAS
  • --all-extras

These are useful for creating different combinations of archives and Docker layers.

Extras logic is a simplified variant of the full install command, but works for all practical cases. Maybe Poetry could share them as easily as the group options.

jvtm avatar Sep 24 '23 10:09 jvtm

just came across the missing "no-root" flag thing when setting up a container build. This would reduce the turn-arround times when dependencies can go to a separate Docker layer.

PeterBosch2 avatar Sep 16 '25 15:09 PeterBosch2

I created a feature request for this #153 to support the change.

PeterBosch2 avatar Sep 17 '25 04:09 PeterBosch2

This has to become important enough for someone to address the review comments.

radoering avatar Sep 19 '25 22:09 radoering

FYI all, I have no interest in porting this to Poetry 2.x series. The revision seen here is still being used in some private projects that are using Poetry 1.8 (soon to receive bigger refactoring / using other approaches).

jvtm avatar Sep 23 '25 09:09 jvtm