Merge pull request #281578 from gador/deal-solver-fix

python3Packages.deal-solver: fix issue with pyton-runtime-deps-check
This commit is contained in:
a-n-n-a-l-e-e
2024-01-18 07:49:14 -08:00
committed by GitHub
@@ -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\"," "" \