From 4eb2561959df13ffef6d073ce5c47c8d79009795 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 8 Dec 2023 13:03:41 +0100 Subject: [PATCH] python311Packages.pytest-cases: refactor --- pkgs/development/python-modules/pytest-cases/default.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/pytest-cases/default.nix b/pkgs/development/python-modules/pytest-cases/default.nix index d4c7b43a2d87..bbc67a278855 100644 --- a/pkgs/development/python-modules/pytest-cases/default.nix +++ b/pkgs/development/python-modules/pytest-cases/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pytest-cases"; version = "3.8.1"; - format = "setuptools"; + pyproject = true; disabled = pythonOlder "3.6"; @@ -33,11 +33,6 @@ buildPythonPackage rec { makefun ]; - postPatch = '' - substituteInPlace setup.cfg \ - --replace "pytest-runner" "" - ''; - # Tests have dependencies (pytest-harvest, pytest-steps) which # are not available in Nixpkgs. Most of the packages (decopatch, # makefun, pytest-*) have circular dependencies.