python-poetry / python-poetry/poetry-plugin-export

poetry export should throw an error when used with an unknown group name

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
335
Forks
57
Avg merge
1h 23m
Merged PRs (30d)
3

Description

Specifying an unknown group name on poetry export results in no error whatsoever. E.g.

poetry export --without gibberish && echo OK
poetry export --with gibberish && echo OK

IMHV, unknown group names, at least most of the time, imply typos and should result in an error.

related to: https://github.com/python-poetry/poetry/issues/4576

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the poetry export command implementation and reproduce the behavior with the --without gibberish and --with gibberish examples. Trace how group names are handled, then add coverage showing that unknown names produce an error rather than successful export; compare the related Poetry issue for expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.