File tree Expand file tree Collapse file tree 4 files changed +32
-8
lines changed
development/python-modules Expand file tree Collapse file tree 4 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 77 cacert ,
88 versionCheckHook ,
99 writableTmpDirAsHomeHook ,
10+ stdenv ,
1011} :
1112let
1213 version = "4.10.0" ;
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 } ;
3244in
3345python . 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 = ''
Original file line number Diff line number Diff line change 1414
1515python312Packages . 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 ] ;
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 { } ;
You can’t perform that action at this time.
0 commit comments