Unverified Commit c9e2c201 authored by Jon Seager's avatar Jon Seager Committed by GitHub
Browse files

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

parents 3a4eefe5 05fdade3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ python3Packages.buildPythonApplication rec {
  '';

  disabledTests = [
    "test_project_all_platforms_invalid"
    "test_run_init_flask"
    "test_run_init_django"
  ];
+1 −0
Original line number Diff line number Diff line
@@ -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"
+6 −2
Original line number Diff line number Diff line
@@ -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
+5 −0
Original line number Diff line number Diff line
@@ -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 = {
Loading