Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

charmcraftst124

[!CAUTION] This project is deprecated. Use charmcraft >=3.3.0 instead

Pack multi-base charms (that include base Ubuntu 24.04) with a single charmcraft.yaml and git branch using the upcoming ST124 - Multi-base platforms in craft tools "shorthand notation" charmcraft.yaml syntax

Installation

Install pipx: https://pipx.pypa.io/stable/installation/

pipx install charmcraftst124

Usage

Step 1: Update charmcraft.yaml to supported syntax

Only ST124 "shorthand notation" syntax is supported

Example

platforms:
  ubuntu@22.04:amd64:
  ubuntu@22.04:arm64:
  ubuntu@24.04:amd64:
  ubuntu@24.04:arm64:

Under the platforms key, build-on and build-for syntax are not supported

The base and bases keys are not supported

Step 2: Pack platform

charmcraftst124 pack --platform ubuntu@22.04:amd64

See charmcraftst124 pack --help for more information

To pack multiple platforms, run charmcraftst124 pack once for each platform

Why is only "shorthand notation" syntax supported?

"Shorthand notation" is used when build-on is identical to build-for. (For example, "ubuntu@22.04:amd64" means build on Ubuntu 22.04 amd64 and build for Ubuntu 22.04 amd64.)

For charms that depend (directly or indirectly) on Python packages with C extensions (e.g. pyyaml), charmcraft will build wheels where the C extensions only work on build-on.

For example, if a charm is built with

platforms:
  foo:
    build-on: ubuntu@22.04:amd64
    build-for:
      - ubuntu@22.04:amd64
      - ubuntu@22.04:arm64

the wheels in the *.charm file will contain C extensions that only work on amd64, not arm64.

The vast majority of charms have at least one Python dependency with C extensions, so the vast majority of charms should use "shorthand notation".

Metadata

Release files for charmcraftst124 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for charmcraftst124 0.1.10
File Size Uploaded Provenance
charmcraftst124-0.1.10.tar.gz 5.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for charmcraftst124 0.1.10
File Interpreter ABI Platform
charmcraftst124-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 11.2 kB

Release files / charmcraftst124-0.1.10.tar.gz

Download URL charmcraftst124-0.1.10.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
98ef2ae21f3df816a934cf1004d521fa0227299d7db36d78bbac8e0e43dbc59e
BLAKE2b-256 checksum
How to use checksums
e1ceca60888818330015b0e83c2b49c41e3638c3911e533d1cd17e7daf5275b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 14, 2025.

Transparency log

Release files / charmcraftst124-0.1.10-py3-none-any.whl

Download URL charmcraftst124-0.1.10-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
11587211e2033496a1e941a9f8dd02662a412f58d99075240351afcfdc2cf913
BLAKE2b-256 checksum
How to use checksums
95a61d5801d1c05d27a75b4ba25f9c2c8cf23c62830a16d7dc45c05a5eb51576
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.0.1 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 14, 2025.

Transparency log

Security for charmcraftst124 0.1.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for charmcraftst124-0.1.10.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 14, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page