`humanize_list` does not properly handle two-item lists.
Metadata
Current evaluation
Closed without a documented resolution or linked pull request. The report was synced to Jira (CRAFT-4987) and appears abandoned.
Suggested action: —
No scores available.
Issue body
### Bug Description
Because `humanize_list` insists on a serial comma, a two-item list is incorrectly converted.
### To Reproduce
```
>>> craft_cli.utils.humanize_list(["a", "b"])
'a, and b'
```
### part yaml
```shell
```
### Relevant log output
```shell
n/a
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without a documented resolution or linked pull request. The report was synced to Jira (CRAFT-4987) and appears abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a code fix. The report was synced to internal Jira ticket CRAFT-4987 for tracking. No resolution or merge details were provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed after triaging and Jira sync. Appears abandoned or resolved externally, as no fix or resolution is documented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without a documented fix or merge. Synced to Jira ticket CRAFT-4987. The reported serial comma bug remains unresolved in the provided context. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #997 experimental: use humanize for lists | craft-parts | closed | The proposed refactor to replace a custom humanize_list function with the humanize library's natural_list function was closed without merging. It received no reviews, had no CI checks, and was abandoned. |