2.22.0 is missing the `craft_parts_docs` package
Metadata
Current evaluation
Fixed by merged PR #1284 (commit de525c33), which explicitly includes craft_parts_docs in the wheel.
Resolution: closed resolved
Reason: The issue was resolved by merged PR canonical/craft-parts#1284. Commit de525c33 updated wheel packaging to include the craft_parts_docs package, restoring documentation imports after 2.22.0.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### Bug Description
After updating to craft-parts 2.22.0, we no longer get `craft_parts_docs` in the wheel
### To Reproduce
Compare the wheel files of 2.21.0 and 2.22.0
### part yaml
```shell
```
### Relevant log output
```shell
lengau@ratel:~/Work/Code/rockcraft$ make lint
ruff check rockcraft tests
ruff format --diff rockcraft tests
All checks passed!
103 files already formatted
uv run codespell --toml pyproject.toml rockcraft tests
Built rockcraft @ file:///home/lengau/Work/Code/rockcraft
Uninstalled 4 packages in 64ms
Installed 8 packages in 53ms
uv run mypy --show-traceback --show-error-codes rockcraft
Success: no issues found in 47 source files
npm exec --package=prettier@3.6.0 -- prettier --log-level warn --check "**/*.{yaml,yml,json,json5,css,md}"
pyright --pythonpath .venv/bin/python
/home/lengau/Work/Code/rockcraft/docs/conf.py
/home/lengau/Work/Code/rockcraft/docs/conf.py:23:8 - error: Import "craft_parts_docs" could not be resolved (reportMissingImports)
1 error, 0 warnings, 0 informations
make: *** [common.mk:158: lint-pyright] Error 1
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #1284 (commit de525c33), which explicitly includes craft_parts_docs in the wheel. | |
| stealth/space-bunny-alpha | — | closed resolved | craft_parts_docs was restored in the wheel by merged PR #1284 (commit de525c33) and released in craft-parts 2.22.1. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed in merged PR #1284: commit de525c33 explicitly includes craft_parts_docs in the wheel. | |
| qwen/qwen3.6-35b-a3b | — | — | Reported missing craft_parts_docs in v2.22.0 was closed without resolution. No fix or merge was implemented, and the ticket was synced to Jira but left abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a fix. The missing craft_parts_docs package in craft-parts 2.22.0 was abandoned in this repository and deferred to internal Jira ticket CRAFT-4755. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a documented resolution or code fix. The missing craft_parts_docs package issue was likely handled internally via Jira or superseded by a newer release, as no merge details or patches were provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Missing craft_parts_docs package in version 2.22.0 was closed without resolution. Only an automated Jira sync comment was posted, indicating internal tracking but no fix or repository update. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/craft-parts#1284
(confidence 100%)
Merged PR #1284, implemented by commit de525c33, explicitly added craft_parts_docs to the wheel.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1284 fix(wheel): include craft_parts_docs in the wheel | craft-parts | merged | Merged PR #1284 (commit de525c33) restores the craft_parts_docs package in the wheel by explicitly listing it in setuptools package-dir, fixing missing docs package in 2.22.0; released in 2.22.1 (2025-09-10). | |
| #204 build(deps): update dependency craft-parts to ~=2.22.1 | imagecraft | merged | Merged PR #204 updated craft-parts from ~=2.21.0 to ~=2.22.1. | |
| #1266 docs(changelog): Release 2.22.0 | craft-parts | merged | Merged documentation-only PR craft-parts#1266 (commit 6d8383c8) adding the craft-parts 2.22.0 changelog entry to docs/reference/changelog.rst; approved by 2 reviewers with all CI checks green. | |
| #1184 docs: Release 2.19.0 | craft-parts | merged | Merged release PR #1184 (commit 70aab68d) adding the Craft Parts 2.19.0 changelog entry dated 2025-07-24; released after fix PR #1185 landed. |