python311Packages.pytest-testinfra: fix build

This commit is contained in:
hr 2023-07-23 23:14:21 +02:00
parent 9f4db5c86f
commit 83eaf92bf4

View file

@ -1,6 +1,7 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pythonAtLeast
, setuptools-scm , setuptools-scm
, ansible-core , ansible-core
, paramiko , paramiko
@ -51,6 +52,9 @@ buildPythonPackage rec {
"test_user_connection" "test_user_connection"
"test_sudo" "test_sudo"
"test_docker_encoding" "test_docker_encoding"
] ++ lib.optionals (pythonAtLeast "3.11") [
# broken because salt package only built for python 3.10
"test_backend_importables"
]; ];
disabledTestPaths = [ disabledTestPaths = [