← 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. 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged snap configuration updates: removed disallowed plugs for classic mode and added python3-dev as a build dependency. This enables compiling Python packages from source for non-amd64 architectures via explicit CPPFLAGS and LDFLAGS.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#288 snap: strict -> classic confinement for Charmcraft snap charmcraft merged Merged the change to switch Charmcraft snap confinement from strict to classic. Added python3 stage packages and hardcoded a symlink to bypass a Snapcraft bug. Approved by two reviewers and passed CI.
71%