← Back to issue list

snap: ensure cryptography builds correctly on all architectures

View original Github issue

Metadata

Project
charmcraft
Number
#1091
Type
pull request
State
merged
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Merged a temporary workaround fixing cryptography build failures across all architectures for the snap. Approved by one reviewer, the change modifies two files (+48/-9 lines). A more robust fix is planned.

Suggested action:

No scores available.

Issue body

This is a quick and dirty workaround to make cryptography build properly. I'll follow up with a more robust fix, but this should at least get the snap building on all architectures. Remote build: https://launchpad.net/~lengau/+snap/snapcraft-charmcraft-1bebeb44e32b4aa985026c6f977fd0b8

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a temporary workaround fixing cryptography build failures across all architectures for the snap. Approved by one reviewer, the change modifies two files (+48/-9 lines). A more robust fix is planned.
qwen3.6-35b-a3b-mtp-q6 Merged a temporary workaround to resolve cryptography build failures for the snap across all architectures. A more robust fix is planned for follow-up.
qwen3.6-35b-a3b-mtp-q6 Merged a workaround to fix cryptography builds for the snap across all architectures, enabling cross-architecture compilation. A more robust fix was planned for follow-up.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#3447 snap: pin cryptography to 3.4 snapcraft merged Merged changes pinning cryptography to version 3.4, resolving a pip KeyError and build failure on s390x architecture during Snapcraft packaging. Approved and passed CI.
73%
#3445 Fix snap snapcraft merged Merged by maintainer sergiusens after approval. The change updated snap build configuration, addressing Python and cryptography dependency adjustments for riscv and rust toolchain requirements.
72%
#6309 build(snapcraft.yaml): update cargo snapcraft merged Merged update to snapcraft.yaml staging cargo and consolidating build-packages, fixing a cryptography build failure introduced in #6307. Approved by two reviewers and merged after passing core CI checks.
72%
#1369 Snap not building on platforms without a cryptography wheel charmcraft closed Closed without resolution. No comments or linked pull requests were added. The snap build failure on architectures lacking cryptography wheels remains unfixed.
72%
#5478 docs: add explanation for cryptography snapcraft merged Merged documentation explaining cryptography usage in Snapcraft. Covers overlapping codebases for building, store interaction, and remote builds. Approved by three reviewers, passed CI checks, and added 306 lines across two files.
72%
#1055 build(deps): bump cryptography craft-application merged Merged after bumping the cryptography dependency to resolve an OSV security vulnerability. Approved by two reviewers and passed all CI checks, including security scans and multi-platform tests.
72%
#1061 build(deps): bump cryptography craft-application merged Merged a dependency update to bump cryptography, resolving an OSV security vulnerability. Approved by two reviewers and passing all CI checks, the change modified one file with 51 additions and 51 deletions.
72%
#1024 deps: update cryptography to v39.0 charmcraft merged Merged after updating cryptography to v39.0 to address security vulnerabilities and updating snapcraft.yaml for rust dependencies. Delayed until spread tests passed on ppc64el and s390x. Resolves #991.
72%
#1151 build(auto): bump cryptography craft-application merged Merged a PR by bepri that bumps the cryptography dependency to resolve an OSV. Approved by two reviewers and passing CI, the update addresses a security vulnerability.
71%
#1003 build(auto): bump cryptography craft-providers merged Merged to bump the cryptography dependency and resolve an OSV security vulnerability. Approved by two reviewers with all CI checks passing.
71%