python311Packages.pytest-cases: refactor

This commit is contained in:
Fabian Affolter
2023-12-20 20:46:11 +01:00
committed by Martin Weinelt
parent 818f67c8f2
commit 4eb2561959
@@ -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.