diff --git a/pkgs/development/python-modules/pytest-mockservers/default.nix b/pkgs/development/python-modules/pytest-mockservers/default.nix index 6de88632027f..4022befcb14d 100644 --- a/pkgs/development/python-modules/pytest-mockservers/default.nix +++ b/pkgs/development/python-modules/pytest-mockservers/default.nix @@ -31,9 +31,12 @@ buildPythonPackage rec { poetry-core ]; + buildInputs = [ + pytest + ]; + propagatedBuildInputs = [ aiohttp - pytest pytest-asyncio ]; diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix index a0517ee20aa8..7476801794c3 100644 --- a/pkgs/development/python-modules/pytest-resource-path/default.nix +++ b/pkgs/development/python-modules/pytest-resource-path/default.nix @@ -3,7 +3,6 @@ , pythonOlder , fetchFromGitHub , colorama -, pytest-runner , pytest , pytestCheckHook }: @@ -20,13 +19,17 @@ buildPythonPackage rec { sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2"; }; - nativeBuildInputs = [ - pytest-runner + postPatch = '' + substituteInPlace setup.cfg \ + --replace "pytest-runner" "" + ''; + + buildInputs = [ + pytest ]; propagatedBuildInputs = [ colorama - pytest ]; checkInputs = [ diff --git a/pkgs/development/python-modules/roonapi/default.nix b/pkgs/development/python-modules/roonapi/default.nix index aded311feab0..ccc5749387b1 100644 --- a/pkgs/development/python-modules/roonapi/default.nix +++ b/pkgs/development/python-modules/roonapi/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , ifaddr , poetry-core , pythonOlder