From 52f84b7e22f36ff5e02ba715c95b48e51792a94e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sat, 11 Mar 2023 16:10:05 +0100 Subject: [PATCH] python3Packages.resolvelib: disable some tests They were broken by .packaging update. Upstream has fixed this, but that won't apply to this version and we can't update .resolvelib without breaking ansible_2_12. --- .../development/python-modules/resolvelib/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/resolvelib/default.nix b/pkgs/development/python-modules/resolvelib/default.nix index 97304376b0e0..dc809ecbdee0 100644 --- a/pkgs/development/python-modules/resolvelib/default.nix +++ b/pkgs/development/python-modules/resolvelib/default.nix @@ -25,6 +25,17 @@ buildPythonPackage rec { commentjson pytestCheckHook ]; + # TODO: reenable after updating to >= 1.0.0 + # https://github.com/sarugaku/resolvelib/issues/114 + disabledTests = [ + "shared_parent_dependency" + "deep_complex_conflict" + "shared_parent_dependency_with_swapping" + "spapping_and_rewinding" + "pruned_unresolved_orphan" + "conflict_common_parent" + "same-package" + ]; pythonImportsCheck = [ "resolvelib"