python-poetry / python-poetry/poetry-plugin-export
verbose options passed as tuple rather than str
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 335
- Forks
- 57
- Avg merge
- 1h 23m
- Merged PRs (30d)
- 3
Description
Errors out with
TypeError
sequence item 0: expected str instance, tuple found
at /usr/local/lib/python3.9/site-packages/poetry_plugin_export/command.py:73 in handle
The setting of verbose option arguments in options array joined to add to the lock file has an extra set of parentheses that causes the intended default null value to be combined with the argument into a tuple.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at src/poetry_plugin_export/command.py around line 67, then inspect the handling that reaches the join failure reported at line 73. Exercise the export command with verbose options and verify that the options can be added to the lock-file command without the TypeError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100