Merge pull request #172641 from WolfangAukang/monosat-fix

python3Packages.monosat: disable failing tests
main
Thiago Kenji Okada 2 years ago committed by GitHub
commit 1919e181fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      pkgs/applications/science/logic/monosat/default.nix
  2. 2
      pkgs/top-level/python-packages.nix

@ -65,7 +65,7 @@ let
};
};
python = { buildPythonPackage, cython }: buildPythonPackage {
python = { buildPythonPackage, cython, pytestCheckHook }: buildPythonPackage {
inherit pname version src patches;
propagatedBuildInputs = [ core cython ];
@ -85,5 +85,12 @@ let
substituteInPlace setup.py \
--replace 'library_dir = "../../../../"' 'library_dir = "${core}/lib/"'
'';
checkInputs = [ pytestCheckHook ];
disabledTests = [
"test_assertAtMostOne"
"test_assertEqual"
];
};
in core

@ -5366,7 +5366,7 @@ in {
monosat = pkgs.monosat.python {
inherit buildPythonPackage;
inherit (self) cython;
inherit (self) cython pytestCheckHook;
};
monotonic = callPackage ../development/python-modules/monotonic { };

Loading…
Cancel
Save