Unverified Commit 948a31b4 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

python312Packages.oddsprout: fix test on darwin (#358547)

parents ba1deff5 02044641
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch2,
  poetry-core,
  pytestCheckHook,
  pythonOlder,
@@ -30,6 +31,15 @@ buildPythonPackage rec {
    ixia
  ];

  patches = [
    # https://github.com/trag1c/oddsprout/pull/8
    (fetchpatch2 {
      name = "allow-periods-in-path.patch";
      url = "https://github.com/trag1c/oddsprout/commit/59713a797e7748d48f59f92397981c93a81f2c28.patch";
      hash = "sha256-GAIQQi5s4D6KbTSgmP2hlBizLATxtJ/hzpWqPX4O0U4=";
    })
  ];

  # has one test `test_main_recursion_error`
  # that has a very low (~1%) but nonzero chance to fail,
  # this is known upstream (https://github.com/trag1c/oddsprout/issues/5)