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

reword the --with help text and deprecate --without

Open jonapich opened this issue 2 years ago • 3 comments

This fixes https://github.com/python-poetry/poetry/issues/8109

  • The help text for --with has been updated to express that groups are never included by default
  • The readme has been updated with this precision as well
  • The --without option has been marked deprecated since it serves no purpose anymore.

Deprecation rationale:

  • No groups are ever included by default, so --without cannot remove anything
  • --only already disables --with and --without (ref)
  • Therefore, --without can only remove groups that the user also provided in --with, which means that the priority (who wins? with or without?) is an implementation detail that isn't documented.

jonapich avatar Jun 16 '23 10:06 jonapich

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jun 16 '23 10:06 sonarqubecloud[bot]

pre-commit.ci autofix

jonapich avatar Jul 17 '23 12:07 jonapich

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

sonarqubecloud[bot] avatar Jul 19 '23 14:07 sonarqubecloud[bot]