Unverified Commit d005dacb authored by Florian Brandes's avatar Florian Brandes
Browse files

python3Packages.deal-solver: fix issue with pyton-runtime-deps-check

parent 97033445
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -7,6 +7,7 @@
, astroid
, pytestCheckHook
, hypothesis
, pythonRelaxDepsHook
}:

buildPythonPackage rec {
@@ -25,8 +26,12 @@ buildPythonPackage rec {

  nativeBuildInputs = [
    flit-core
    pythonRelaxDepsHook
  ];

  # z3 does not provide a dist-info, so python-runtime-deps-check will fail
  pythonRemoveDeps = [ "z3-solver" ];

  postPatch = ''
    substituteInPlace pyproject.toml \
      --replace "\"--cov=deal_solver\"," "" \