From 83eaf92bf498ad992dd720ffc82e7992703718f8 Mon Sep 17 00:00:00 2001 From: hr <> Date: Sun, 23 Jul 2023 23:14:21 +0200 Subject: [PATCH] python311Packages.pytest-testinfra: fix build --- pkgs/development/python-modules/pytest-testinfra/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pytest-testinfra/default.nix b/pkgs/development/python-modules/pytest-testinfra/default.nix index c4fbeb466b1..fe663c3f265 100644 --- a/pkgs/development/python-modules/pytest-testinfra/default.nix +++ b/pkgs/development/python-modules/pytest-testinfra/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchPypi +, pythonAtLeast , setuptools-scm , ansible-core , paramiko @@ -51,6 +52,9 @@ buildPythonPackage rec { "test_user_connection" "test_sudo" "test_docker_encoding" + ] ++ lib.optionals (pythonAtLeast "3.11") [ + # broken because salt package only built for python 3.10 + "test_backend_importables" ]; disabledTestPaths = [