Unverified Commit 936c7b6a authored by Ryan Lahfa's avatar Ryan Lahfa Committed by GitHub
Browse files

Merge pull request #232478 from figsoda/pyshark

python310Packages.pyshark: fix build on darwin
parents 8c5fc747 a7dc576a
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchpatch
, pythonOlder
, fetchFromGitHub
, fetchpatch
, appdirs
, lxml
, packaging
, py
, pytestCheckHook
, pythonOlder
, wireshark-cli
, stdenv
}:

buildPythonPackage rec {
@@ -48,6 +49,12 @@ buildPythonPackage rec {

  nativeCheckInputs = [ py pytestCheckHook wireshark-cli ];

  disabledTests = lib.optionals stdenv.isDarwin [
    # fails on darwin
    # _pickle.PicklingError: logger cannot be pickled
    "test_iterate_empty_psml_capture"
  ];

  pythonImportsCheck = [ "pyshark" ];

  pytestFlagsArray = [ "../tests/" ];