summary refs log tree commit diff
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2023-11-04 20:47:27 +0100
committerGitHub <noreply@github.com>2023-11-04 20:47:27 +0100
commitf765fb78c0e7d0644fcf0cf6fc5650efc77f596c (patch)
treee3398c95870222300533c8c18cfd60b16a9f5564
parente583a3b08f2b59488deb2ace2528df37c931509f (diff)
parent260fc25d9596067f70101b682b170d5b4c33352b (diff)
downloadnixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar.gz
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar.bz2
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar.lz
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar.xz
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.tar.zst
nixpkgs-f765fb78c0e7d0644fcf0cf6fc5650efc77f596c.zip
Merge pull request #265450 from fabaff/pytest-ansible-bump
python311Packages.pytest-ansible: 4.1.0 -> 4.1.1
-rw-r--r--pkgs/development/python-modules/pytest-ansible/default.nix23
1 files changed, 12 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/pytest-ansible/default.nix b/pkgs/development/python-modules/pytest-ansible/default.nix
index 4fbfb942edd..3b1def125e0 100644
--- a/pkgs/development/python-modules/pytest-ansible/default.nix
+++ b/pkgs/development/python-modules/pytest-ansible/default.nix
@@ -1,10 +1,9 @@
-{ stdenv
-, lib
-, buildPythonPackage
-, fetchFromGitHub
+{ lib
+, stdenv
 , ansible-core
+, buildPythonPackage
 , coreutils
-, coverage
+, fetchFromGitHub
 , pytest
 , pytestCheckHook
 , pythonOlder
@@ -15,16 +14,16 @@
 
 buildPythonPackage rec {
   pname = "pytest-ansible";
-  version = "4.1.0";
+  version = "4.1.1";
   format = "pyproject";
 
   disabled = pythonOlder "3.9";
 
   src = fetchFromGitHub {
     owner = "ansible";
-    repo = pname;
+    repo = "pytest-ansible";
     rev = "refs/tags/v${version}";
-    hash = "sha256-TV/dR4eTiwjrgamwRCig10acaf3MpAzLu0fHF0V2pzw=";
+    hash = "sha256-51DQ+NwD454XaYLuRxriuWRZ8uTSX3ZpadXdxs7FspQ=";
   };
 
   postPatch = ''
@@ -49,7 +48,6 @@ buildPythonPackage rec {
   ];
 
   nativeCheckInputs = [
-    coverage
     pytestCheckHook
   ];
 
@@ -74,7 +72,10 @@ buildPythonPackage rec {
     "test_param_override_with_marker"
   ];
 
-  disabledTestPaths = lib.optionals stdenv.isDarwin [
+  disabledTestPaths = [
+    # Test want s to execute pytest in a subprocess
+    "tests/integration/test_molecule.py"
+  ] ++ lib.optionals stdenv.isDarwin [
     # These tests fail in the Darwin sandbox
     "tests/test_adhoc.py"
     "tests/test_adhoc_result.py"
@@ -85,7 +86,7 @@ buildPythonPackage rec {
   ];
 
   meta = with lib; {
-    description = "Plugin for py.test to simplify calling ansible modules from tests or fixtures";
+    description = "Plugin for pytest to simplify calling ansible modules from tests or fixtures";
     homepage = "https://github.com/jlaska/pytest-ansible";
     changelog = "https://github.com/ansible-community/pytest-ansible/releases/tag/v${version}";
     license = licenses.mit;