summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhulr <>2023-11-23 21:42:17 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-28 09:36:40 +0000
commitf5ce0365ec19de3a3daac5cd061a556ed3575b8f (patch)
tree0323137fdc43345e9cc8ada7820d1980fd5bd58a
parentMerge pull request #270574 from NixOS/backport-270130-to-release-23.11 (diff)
downloadnixpkgs-origin/backport-269496-to-release-23.11.tar.gz
python3Packages.pytest-testinfra: 9.0.0 -> 10.0.0origin/backport-269496-to-release-23.11
(cherry picked from commit b88b9a4700174359f2623f7e195ba372a68cd60b)
-rw-r--r--pkgs/development/python-modules/pytest-testinfra/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/development/python-modules/pytest-testinfra/default.nix b/pkgs/development/python-modules/pytest-testinfra/default.nix
index df1ae78c8612..3f2cbf8d874a 100644
--- a/pkgs/development/python-modules/pytest-testinfra/default.nix
+++ b/pkgs/development/python-modules/pytest-testinfra/default.nix
@@ -1,7 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
-, pythonAtLeast
+, pythonOlder
, setuptools-scm
, ansible-core
, paramiko
@@ -13,11 +13,11 @@
buildPythonPackage rec {
pname = "pytest-testinfra";
- version = "9.0.0";
+ version = "10.0.0";
src = fetchPypi {
inherit pname version;
- hash = "sha256-UxGzaeBUaSD85GTDv5RbVevnWhJ1aPbWFelLiJE0AUk=";
+ hash = "sha256-L7fQGFRYqbpmn/FNDdvsizkAxr3j+2+tmwlzdM5Kt30=";
};
nativeBuildInputs = [
@@ -52,8 +52,8 @@ 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
+ ] ++ lib.optionals (pythonOlder "3.11") [
+ # broken because salt package only built for python 3.11
"test_backend_importables"
];