Unverified Commit 8e5cd498 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

python3Packages.fickling: 0.1.6 -> 0.1.7 (#479436)

parents 99c6ddd5 e8bfb88e
Loading
Loading
Loading
Loading
+13 −12
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  pythonOlder,
  hatchling,
  numpy,
  pytestCheckHook,
@@ -10,16 +11,16 @@
  torchvision,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "fickling";
  version = "0.1.6";
  version = "0.1.7";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "trailofbits";
    repo = "fickling";
    tag = "v${version}";
    hash = "sha256-p2XkHKqheVHqLTQKmUApiYH7NIaHc091B/TjiCDYWtA=";
    tag = "v${finalAttrs.version}";
    hash = "sha256-uirVOJ6CI7gBu9lOoPtpjUZeBmIhBMI0tjSDI/ASy7w=";
  };

  build-system = [
@@ -40,21 +41,21 @@ buildPythonPackage rec {
    ];
  };

  nativeCheckInputs = [ pytestCheckHook ] ++ lib.concatAttrValues optional-dependencies;
  nativeCheckInputs = [
    pytestCheckHook
  ]
  ++ lib.concatAttrValues finalAttrs.passthru.optional-dependencies;

  disabledTestPaths = [
    # https://github.com/trailofbits/fickling/issues/162
    # AttributeError: module 'numpy.lib.format' has no attribute...
    "test/test_polyglot.py"
  ];
  # Tests fail upstream in pytorch under python 3.14
  doCheck = pythonOlder "3.14";

  pythonImportsCheck = [ "fickling" ];

  meta = {
    description = "Python pickling decompiler and static analyzer";
    homepage = "https://github.com/trailofbits/fickling";
    changelog = "https://github.com/trailofbits/fickling/releases/tag/${src.tag}";
    changelog = "https://github.com/trailofbits/fickling/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.lgpl3Plus;
    maintainers = with lib.maintainers; [ sarahec ];
  };
}
})