Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --only-root option to install command, excluding all dependencies. #5783

Merged
merged 10 commits into from
Jun 15, 2022
Prev Previous commit
Next Next commit
Minor cleanup.
  • Loading branch information
chadac committed Jun 13, 2022
commit 2f565255111d03cf960b881ac0556507afdfcfbe
2 changes: 1 addition & 1 deletion src/poetry/console/commands/group_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def activated_groups(self) -> set[str]:
if self.option("only-root"):
return {}

for key in {"with", "without", "only"}:
for key in group_keys:
groups[key] = {
group.strip()
for groups in self.option(key, "")
Expand Down