Charmcraft release 2.0.0 – Call for testing!

Charmcraft supports the development of operators using the Charmed Operator Framework. It enables developers to build, upload and release operators on Charmhub and collaboration through charm libraries.

This new version was just released to beta channel, I’d appreciate any tests on this, please report here any issues you find. In a couple of days I will release it to candidate, and once I find this is solid enough, I will release it to stable.

Beware! As it may be expected by a major version release, some backwards compatibility is broken; I just posted details about this, including instructions to stay away from this change and remain in the safe(old) versions…

Version 2.0.0 includes the following changes:

  • Started to use the new Craft CLI, which brings to the project better verbosity levels and improved verbosity-related global options

  • Added programmatic outputs to several commands (related issue)

  • Several deprecations were enforced:

    • (DN03) The bases key in the configuration is now required (related issue)
    • (DN04) Removed the --entrypoint option from the pack command (use charm-entrypoint in the config) (related issue)
    • (DN05) Removed the --requirements option from the pack command (use charm-requirements in the config) (related issue)
    • (DN06) Removed the long time deprecated build command (use pack instead)
  • Now the --force option in the pack command is also used when packing inside an instance

  • Do not expose the logpath (from the instance) when running in managed mode (related issue)

  • Validate the entrypoint after build (not before, as it may be created during the build itself) (related issue)

  • Do not modify the charm’s project when packing using the reactive plugin (related issue)

Use Charmcraft to:

We recommend the Charmed Operator Framework for charm development, but Charmcraft will help you publish charms written in any language. The Charmed Operator Framework enables the development of operators in a simple and straightforward way, using standard Python structures to allow for clean, maintainable, and reusable code.

Happy charming!


I just released 2.0.0 to latest/candidate, 2.x/candidate and 2.0/candidate.

Feel free to ping me directly for any issue.


And now I released 2.0.0 to stable channels on latest, 2.0, and 2.x tracks.

Remember that 1.7 and 1.x tracks still have 1.7.1 on them.

Feel free to ping me directly for any issue.


1 Like