Skip to content

Commit db03ff3

Browse files
authored
snapcraft: 8.9.2 -> 8.9.4 (#416454)
2 parents 85b80c0 + 752deb8 commit db03ff3

File tree

4 files changed

+32
-8
lines changed

4 files changed

+32
-8
lines changed

pkgs/by-name/ch/charmcraft/package.nix

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
cacert,
88
versionCheckHook,
99
writableTmpDirAsHomeHook,
10+
stdenv,
1011
}:
1112
let
1213
version = "4.10.0";
@@ -26,21 +27,32 @@ let
2627
substituteInPlace pyproject.toml --replace-fail "setuptools==75.8.0" "setuptools"
2728
substituteInPlace craft_application/git/_git_repo.py --replace-fail "/snap/core22/current/etc/ssl/certs" "${cacert}/etc/ssl/certs"
2829
'';
30+
31+
disabledTestPaths = [
32+
# These tests assert outputs of commands that assume Ubuntu-related output.
33+
"tests/unit/services/test_lifecycle.py"
34+
];
35+
36+
disabledTests =
37+
old.disabledTests
38+
++ lib.optionals stdenv.hostPlatform.isAarch64 [
39+
"test_process_grammar_full"
40+
];
2941
});
3042
};
3143
};
3244
in
3345
python.pkgs.buildPythonApplication rec {
3446
pname = "charmcraft";
35-
version = "3.5.0";
47+
version = "3.5.1";
3648

3749
pyproject = true;
3850

3951
src = fetchFromGitHub {
4052
owner = "canonical";
4153
repo = "charmcraft";
4254
tag = version;
43-
hash = "sha256-NIOfjd4r9mDP0x1IpIVJlU+Aza0a17bc3jDxtInrf4A=";
55+
hash = "sha256-4zlUHttny6nIRhx/5aDz2sh1Va0+nN+7cezBGtt5Img=";
4456
};
4557

4658
postPatch = ''

pkgs/by-name/sn/snapcraft/package.nix

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414

1515
python312Packages.buildPythonApplication rec {
1616
pname = "snapcraft";
17-
version = "8.9.2";
17+
version = "8.9.4";
1818

1919
pyproject = true;
2020

2121
src = fetchFromGitHub {
2222
owner = "canonical";
2323
repo = "snapcraft";
2424
tag = version;
25-
hash = "sha256-4Dv2q/aKWnQkQ6ANYev/5fT1fFKh1MytYJtHK0iAzhk=";
25+
hash = "sha256-iiz+sVncztaCNndU+4YMhxECw7R6ks+25apRnd0WgyM=";
2626
};
2727

2828
patches = [
@@ -111,6 +111,7 @@ python312Packages.buildPythonApplication rec {
111111
"docutils"
112112
"jsonschema"
113113
"pygit2"
114+
"requests"
114115
"urllib3"
115116
"validators"
116117
];

pkgs/development/python-modules/craft-application/default.nix

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,21 @@ buildPythonPackage rec {
127127
"test_process_grammar_build_for"
128128
"test_process_grammar_platform"
129129
"test_process_grammar_default"
130+
"test_create_craft_manifest"
131+
"test_create_project_manifest"
132+
"test_from_packed_artifact"
133+
"test_teardown_session_create_manifest"
130134
];
131135

132-
disabledTestPaths = [
133-
# These tests assert outputs of commands that assume Ubuntu-related output.
134-
"tests/unit/services/test_lifecycle.py"
135-
];
136+
disabledTestPaths =
137+
[
138+
# These tests assert outputs of commands that assume Ubuntu-related output.
139+
"tests/unit/services/test_lifecycle.py"
140+
]
141+
++ lib.optionals stdenv.hostPlatform.isAarch64 [
142+
# Hard-coded assumptions around use of "amd64" arch strings.
143+
"tests/unit/services/test_project.py"
144+
];
136145

137146
passthru.updateScript = nix-update-script { };
138147

pkgs/development/python-modules/craft-parts/default.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ buildPythonPackage rec {
109109
# These tests have hardcoded "amd64" strings which fail on aarch64
110110
"tests/unit/executor/test_environment.py"
111111
"tests/unit/features/overlay/test_executor_environment.py"
112+
# Hard-coded assumptions about arguments relating to 'x86_64'
113+
"tests/unit/plugins/test_dotnet_v2_plugin.py"
112114
];
113115

114116
passthru.updateScript = nix-update-script { };

0 commit comments

Comments
 (0)