summary refs log tree commit diff
path: root/pkgs/development/python-modules/pytest-xdist
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2021-03-08 17:57:14 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2021-03-08 17:57:14 +0100
commit1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe (patch)
tree0970df41ac9996c385cdfb0969d8ab84d1e666d8 /pkgs/development/python-modules/pytest-xdist
parentc44ae94eab1bcf4dbef5405800fc597d0b4f78dd (diff)
downloadnixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar.gz
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar.bz2
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar.lz
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar.xz
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.tar.zst
nixpkgs-1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe.zip
python3Packages.pytest-xdist: don't propagate pytest
pytest extensions should not propagate pytest. Doing so makes it
impossible to combine the package with another version of pytest, which
sometimes is needed.
Diffstat (limited to 'pkgs/development/python-modules/pytest-xdist')
-rw-r--r--pkgs/development/python-modules/pytest-xdist/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/pytest-xdist/default.nix b/pkgs/development/python-modules/pytest-xdist/default.nix
index a6f6ffd7dc0..bbc08fb59df 100644
--- a/pkgs/development/python-modules/pytest-xdist/default.nix
+++ b/pkgs/development/python-modules/pytest-xdist/default.nix
@@ -22,8 +22,11 @@ buildPythonPackage rec {
   };
 
   nativeBuildInputs = [ setuptools_scm ];
+  buildInputs = [
+    pytest
+  ];
   checkInputs = [ pytestCheckHook filelock ];
-  propagatedBuildInputs = [ execnet pytest pytest-forked psutil ];
+  propagatedBuildInputs = [ execnet pytest-forked psutil ];
 
   # access file system
   disabledTests = [