python311Packages.pytest-cases: refactor

This commit is contained in:
Fabian Affolter 2023-12-08 13:03:41 +01:00 committed by Martin Weinelt
parent 818f67c8f2
commit 4eb2561959
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -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.