Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: use the Charmcraft poetry plugin #652

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

lengau
Copy link

@lengau lengau commented Oct 17, 2024

This modifies charmcraft.yaml to use Charmcraft 3.3's poetry plugin for building the charm.

The charm is currently bigger due to duplicated files (see: canonical/charmcraft#1966), but will be ~5 MiB smaller than the original once that's fixed, mostly due to not vendoring pip.

Copy link

codecov bot commented Oct 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.23%. Comparing base (3c7c783) to head (6a1f01c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #652   +/-   ##
=======================================
  Coverage   71.23%   71.23%           
=======================================
  Files          12       12           
  Lines        3091     3091           
  Branches      471      471           
=======================================
  Hits         2202     2202           
  Misses        777      777           
  Partials      112      112           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@marceloneppel
Copy link
Member

Hi @lengau! Thanks for the contribution. Do you already want us to review this PR? I see that it's still in draft.

@lengau
Copy link
Author

lengau commented Dec 13, 2024

@marceloneppel this will only be usable once Charmcraft 3.3 is out - I'll take it out of draft then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants