From 1ceaf03f8a2ab9bb97bbcad1e1302b315d7e3ffe Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Mon, 8 Mar 2021 17:57:14 +0100 Subject: [PATCH] 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. --- pkgs/development/python-modules/pytest-xdist/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/pytest-xdist/default.nix b/pkgs/development/python-modules/pytest-xdist/default.nix index a6f6ffd7dc0d..bbc08fb59df4 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 = [