← Back to issue list

"part properties" common reference references nonexistent top-level package "parts

View original Github issue

Metadata

Project
craft-parts
Number
#1177
Type
issue
State
closed
Author
lengau
Labels
Status: Triaged Type: Documentation Type: Enhancement
Created
Updated
Closed

Current evaluation

Resolved by restructuring the Part properties reference to use py:currentmodule instead of the nonexistent top-level parts package; merged in commit c130c022.

Resolution: closed resolved

Reason: Commit c130c022a27000876c969fb0d6e0729bb0f4c456 restructured the reference using py:currentmodule, and the maintainer cited it as the resolution.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### Bug Description `parts` isn't a top level package, so when you try to use the "part properties" common reference as a file in an app you get this: https://github.com/canonical/pydantic-kitbash/issues/49 ### To Reproduce See: https://github.com/canonical/charmcraft/pull/2360/files#r2215471002 ### part yaml ```shell ``` ### Relevant log output ```shell see: https://github.com/canonical/pydantic-kitbash/issues/49 ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Resolved by restructuring the Part properties reference to use py:currentmodule instead of the nonexistent top-level parts package; merged in commit c130c022.
stealth/space-bunny-alpha — closed resolved Restructured the Part Properties reference to use Sphinx py:currentmodule, fixing the nonexistent parts import. Resolved in commit c130c022.
qwen/qwen3.6-35b-a3b — — Fixed by restructuring the documentation to use Sphinx's py:currentmodule directive, eliminating sys.path workarounds and resolving the missing package reference. Closed via craft-parts commit c130c02.
qwen/qwen3.6-35b-a3b — — Fixed by restructuring the documentation file to use Sphinx's py:currentmodule directive, eliminating sys.path workarounds. The issue was closed after the change was merged in commit c130c022.
qwen/qwen3.6-35b-a3b — — Resolved by restructuring the docs to use Sphinx's py:currentmodule directive instead of sys.path manipulation. Applied in canonical/craft-parts commit c130c022a27000876c969fb0d6e0729bb0f4c456, fixing the broken package reference and eliminating downstream workarounds.
qwen3.6-35b-a3b-mtp-q6 — — Fixed by restructuring the documentation to use Sphinx's py:currentmodule directive, replacing the sys.path workaround. Resolved in craft-parts commit c130c022a27000876c969fb0d6e0729bb0f4c456.

Update history

No update history recorded yet.

Related work

  • Related To: pydantic-kitbash#50 (confidence 98%)

    The linked upstream feature request led to the module-override approach implemented by the resolving commit.

Related issues

No related issues found above the similarity threshold.