{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"Packs Juju charms with local Python package dependencies by copying them into the charm directory and updating Poetry lock files before building.","skillfed_tags":["juju-charm","poetry-integration","monorepo-tooling"],"use_cases":["Build a Juju charm in a monorepo where multiple charms share a common Python library in a sibling directory.","Automate charm packing in CI/CD pipelines that expect charmcraft pack to work without manual dependency copying.","Create mirror repositories for individual charms that maintain commit history while isolating local dependencies.","Develop charms with Poetry-managed dependencies that reference local packages via path dependencies.","Integrate charm builds into existing tooling that expects one charm per git repository at the root."],"what_it_does":"charmcraftlocal is a build-time helper for Juju charm projects that use Poetry to manage Python dependencies. It solves the problem that charmcraft can only access files in the charm's own directory during packing, preventing it from directly including local Python packages from sibling directories in a monorepo. The tool searches a charm's pyproject.toml for local dependencies, copies them into the charm directory, and updates Poetry's lock files so the build succeeds.\n\nIt provides two main commands: `ccl pack` copies local packages and calls charmcraft, while `ccl update-lock` updates Poetry metadata during the build process. For projects with multiple charms sharing code, it also offers `ccl mirror` to create separate git repositories that meet standard tooling expectations, using git-filter-repo to preserve history while keeping pyproject.toml and poetry.lock in sync.","worth_installing":"Yes, if you are building Juju charms with Poetry in a monorepo or multi-charm structure. The tool directly solves a real constraint of charmcraft and is actively maintained. However, verify the license status before use in proprietary contexts, and confirm your charm project uses Poetry\u2014it is not a general-purpose charm builder."},"id":"charmcraftlocal","links":{"html":"https://skillfed.io/packages/charmcraftlocal","md":"https://skillfed.io/packages/charmcraftlocal.md","pypi":"https://pypi.org/project/charmcraftlocal/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-06-10","license_spdx":null,"license_treatment":"unclear","name":"charmcraftlocal","python_support":"supports_current","summary":"Pack charms with local Python package dependencies"},"popularity":{"monthly_downloads":84197,"position":14019,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.4.0"}
