Unverified Commit 7453946c authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

python313Packages.dissect-volume: disable failing test (#372357)

parents 6c4f93e1 4855ffa5
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -54,6 +54,13 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.full;

  disabledTests = [
    "test_collector_collect_path_with_dir"
    "test_collector_collect_glob"
    "test_misc_osx"
    "test_misc_unix"
  ];

  pythonImportsCheck = [ "acquire" ];

  meta = with lib; {
+58 −0
Original line number Diff line number Diff line
{
  lib,
  argon2-cffi,
  buildPythonPackage,
  dissect-cstruct,
  dissect-util,
  dissect-target,
  fetchFromGitHub,
  pycryptodome,
  pythonOlder,
  rich,
  setuptools-scm,
  setuptools,
}:

buildPythonPackage rec {
  pname = "dissect-fve";
  version = "4.0";
  pyproject = true;

  disabled = pythonOlder "3.9";

  src = fetchFromGitHub {
    owner = "fox-it";
    repo = "dissect.fve";
    tag = version;
    hash = "sha256-R6ZrUofycEgJlwLE4/CXFZ2gTg+ETBPlBBC8+s5YN6M=";
  };

  build-system = [
    setuptools
    setuptools-scm
  ];

  dependencies = [
    argon2-cffi
    dissect-cstruct
    dissect-util
    pycryptodome
  ];

  optional-dependencies = {
    full = [
      dissect-target
      rich
    ];
  };

  pythonImportsCheck = [ "dissect.fve" ];

  meta = with lib; {
    description = "Dissect module implementing parsers for full volume encryption implementations";
    homepage = "https://github.com/fox-it/dissect.fve";
    changelog = "https://github.com/fox-it/dissect.fve/releases/tag/${version}";
    license = licenses.agpl3Only;
    maintainers = with maintainers; [ fab ];
  };
}
+13 −4
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@
  dissect-util,
  dissect-volume,
  dissect-xfs,
  docutils,
  fetchFromGitHub,
  flow-record,
  fusepy,
@@ -107,13 +108,21 @@ buildPythonPackage rec {
    mqtt = [ paho-mqtt ] ++ optional-dependencies.full;
  };

  nativeCheckInputs = [ pytestCheckHook ] ++ optional-dependencies.full;
  nativeCheckInputs = [
    docutils
    pytestCheckHook
  ] ++ optional-dependencies.full;

  pythonImportsCheck = [ "dissect.target" ];

  disabledTests =
    [
      "test_cpio"
      "test_env_parser"
      "test_cp_directory"
      "test_cp_subdirectories"
      "test_shell_cli"
      "test_shell_cmd"
      # Test requires rdump
      "test_exec_target_command"
      # Issue with tar file
@@ -136,9 +145,7 @@ buildPythonPackage rec {
      "test_reg_output"
      "test_regflex"
      "test_systemd_basic_syntax"
      "test_target_cli_unicode_argparse"
      "test_target_query"
      "test_target_info"
      "test_target"
      "test_yara"
    ]
    ++
@@ -151,8 +158,10 @@ buildPythonPackage rec {
    # ValueError: Invalid Locate file magic. Expected /x00LOCATE02/x00
    "tests/plugins/os/unix/locate/"
    # Missing plugin support
    "tests/plugins/child/"
    "tests/tools/test_dump.py"
    "tests/plugins/os/"
    "tests/test_container.py"
    "tests/plugins/filesystem/"
    "tests/test_registration.py"
    "tests/filesystems/"
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ buildPythonPackage rec {
    "test_lvm"
    "test_md_raid0_zones"
    "test_md_read"
    "test_vinum"
  ];

  meta = with lib; {
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,7 @@
  dissect-extfs,
  dissect-fat,
  dissect-ffs,
  dissect-fve,
  dissect-hypervisor,
  dissect-jffs,
  dissect-ntfs,
@@ -68,6 +69,7 @@ buildPythonPackage rec {
    dissect-extfs
    dissect-fat
    dissect-ffs
    dissect-fve
    dissect-hypervisor
    dissect-jffs
    dissect-ntfs
Loading