python312Packages.craft-application: 4.6.0 -> 4.7.0 (#369246)

This commit is contained in:
Jon Seager
2025-01-06 18:19:44 +00:00
committed by GitHub
6 changed files with 20 additions and 2 deletions
+2
View File
@@ -77,6 +77,8 @@ python3Packages.buildPythonApplication rec {
disabledTests = [
# Relies upon the `charm` tool being installed
"test_validate_missing_charm"
"test_read_charm_from_yaml_file_self_contained_success[full-bases.yaml]"
"test_read_charm_from_yaml_file_self_contained_success[full-platforms.yaml]"
];
passthru.updateScript = nix-update-script { };
+1
View File
@@ -48,6 +48,7 @@ python3Packages.buildPythonApplication rec {
'';
disabledTests = [
"test_project_all_platforms_invalid"
"test_run_init_flask"
"test_run_init_django"
];
+1
View File
@@ -170,6 +170,7 @@ python3Packages.buildPythonApplication rec {
"test_lifecycle_write_component_metadata"
"test_parse_info_integrated"
"test_patch_elf"
"test_project_platform_unknown_name"
"test_remote_builder_init"
"test_setup_assets_remote_icon"
"test_snap_command_fallback"
@@ -30,7 +30,7 @@
buildPythonPackage rec {
pname = "craft-application";
version = "4.6.0";
version = "4.7.0";
pyproject = true;
disabled = pythonOlder "3.10";
@@ -39,7 +39,7 @@ buildPythonPackage rec {
owner = "canonical";
repo = "craft-application";
tag = version;
hash = "sha256-kDujv7iVUvPfP9g3Ofm0Vso+I6qKBOq9NlFpigd6+Tc=";
hash = "sha256-ywGXzcnWYynmDXjDbSpzn8SroQ7z5fajhlE3JqI3PNk=";
};
postPatch = ''
@@ -103,6 +103,10 @@ buildPythonPackage rec {
"test_to_yaml_file"
# Tests expecting pytest-time
"test_monitor_builds_success"
# Temporary fix until new release to support Python 3.13
"test_grammar_aware_part_error"
"test_grammar_aware_part_error[part2]"
"test_grammar_aware_project_error[project0]"
]
++ lib.optionals stdenv.hostPlatform.isAarch64 [
# These tests have hardcoded "amd64" strings which fail on aarch64
@@ -37,6 +37,11 @@ buildPythonPackage rec {
pytestFlagsArray = [ "tests/unit" ];
# Temp fix for test incompatibility with Python 3.13
disabledTests = [
"test_grammar_strlist_error[value2]"
];
passthru.updateScript = nix-update-script { };
meta = {
@@ -33,6 +33,11 @@ buildPythonPackage rec {
url = "https://github.com/libgit2/pygit2/commit/eba710e45bb40e18641c6531394bb46631e7f295.patch";
hash = "sha256-GFFzGVd/9+AcwicwOtBghhonijMp08svXTUZ/4/LmtI=";
})
# temp fix for Python 3.13 until next release after 1.16.0
(fetchpatch {
url = "https://github.com/libgit2/pygit2/commit/7f143e1c5beec01ec3429aa4db12435ac02977d3.patch";
hash = "sha256-2SiFFPWVVo9urKRu64AejjTZMoXo2r+v1OwEIF+AzNo=";
})
];
preConfigure = lib.optionalString stdenv.hostPlatform.isDarwin ''