python3Packages.pytest-cases: 3.6.4 -> 3.6.5

This commit is contained in:
Fabian Affolter 2021-11-09 00:20:08 +01:00 committed by Jonathan Ringer
parent 9f43d5d313
commit d320d0b5ff

View file

@ -10,12 +10,14 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "pytest-cases"; pname = "pytest-cases";
version = "3.6.4"; version = "3.6.5";
format = "setuptools";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "sha256-m2oxE7q46TWadhZgpwTAHKep5ZN9LG1VNCRJkPz5W1E="; sha256 = "sha256-JZfQI6dgYFHWUbCMuHD78eBi9svoV5zkX887V9xFLNw=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -32,7 +34,8 @@ buildPythonPackage rec {
]; ];
postPatch = '' postPatch = ''
substituteInPlace setup.cfg --replace "pytest-runner" "" substituteInPlace setup.cfg \
--replace "pytest-runner" ""
''; '';
# Tests have dependencies (pytest-harvest, pytest-steps) which # Tests have dependencies (pytest-harvest, pytest-steps) which
@ -40,7 +43,9 @@ buildPythonPackage rec {
# makefun, pytest-*) have circular dependecies. # makefun, pytest-*) have circular dependecies.
doCheck = false; doCheck = false;
pythonImportsCheck = [ "pytest_cases" ]; pythonImportsCheck = [
"pytest_cases"
];
meta = with lib; { meta = with lib; {
description = "Separate test code from test cases in pytest"; description = "Separate test code from test cases in pytest";