← Back to issue list

snap: remove plugs and add python3-dev build-package

View original Github issue

Metadata

Project
charmcraft
Number
#311
Type
pull request
State
merged
Author
cjp256
Labels
—
Created
Updated
Closed

Current evaluation

Merged #311 via 91efe74a: removed unsupported classic-snap plugs and added python3-dev with build flags for non-amd64 source builds.

Resolution: closed resolved

Reason: PR #311 was merged through merge commit 76acc6a8. Commit 91efe74a removed prohibited plugs and added python3-dev plus CPPFLAGS/LDFLAGS so architecture-specific Python packages can build from source.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- Plugs are not allowed for classic, remove. - Some python packages don't have wheels for architectures other than amd64. Add python3-dev package to build from source, and provide CPPFLAGS/LDFLAGS to indicate where to find them, rather than looking for them in stage. Signed-off-by: Chris Patterson <chris.patterson@canonical.com>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #311 via 91efe74a: removed unsupported classic-snap plugs and added python3-dev with build flags for non-amd64 source builds.
stealth/space-bunny-alpha — closed resolved Merged in #311 via commit 91efe74a, removing unsupported classic-snap plugs and adding python3-dev with compiler flags for non-amd64 source builds.
stealth/space-bunny-alpha — closed resolved Merged in #311 (91efe74a): removed unsupported classic snap plugs and added python3-dev with CPPFLAGS/LDFLAGS for non-amd64 source builds.
qwen/qwen3.6-35b-a3b — — Merged. Removed unsupported snap plugs for classic mode and added python3-dev to build packages from source for non-amd64 architectures. Configured CPPFLAGS/LDFLAGS accordingly. Approved by two reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged snap configuration updates. Removed disallowed classic plugs and added python3-dev to compile Python packages from source for non-amd64 architectures, passing explicit CPPFLAGS and LDFLAGS instead of relying on stage dependencies.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#316 snap: various fixes for classic charmcraft merged Merged classic snap fixes, removing obsolete plugs, adding the python3-dev build package, and preventing PYTHONPATH leakage.
81%
#6382 fix(snap): remove libapt-pkg-dev and stale comment now that python3-apt is a stage-package snapcraft closed Merged canonical/snapcraft#6382, removing obsolete libapt-pkg-dev from snap build dependencies and correcting the stale python-apt source-build comment.
70%