python3Packages.parametrize-from-file: Relax more-itertools constraint

This commit is contained in:
Martin Weinelt 2023-01-03 16:05:20 +01:00
parent a974783a79
commit be2dded1f0

View file

@ -16,6 +16,7 @@
buildPythonPackage rec {
pname = "parametrize-from-file";
version = "0.17.0";
format = "flit";
src = fetchPypi {
inherit version;
@ -23,18 +24,19 @@ buildPythonPackage rec {
sha256 = "1c91j869n2vplvhawxc1sv8km8l53bhlxhhms43fyjsqvy351v5j";
};
format = "flit";
pythonImportsCheck = [ "parametrize_from_file" ];
# patch out coveralls since it doesn't provide us value
preBuild = ''
sed -i '/coveralls/d' ./pyproject.toml
substituteInPlace pyproject.toml \
--replace "more_itertools~=8.10" "more_itertools"
'';
checkInputs = [
numpy
pytestCheckHook
];
propagatedBuildInputs = [
contextlib2
decopatch
@ -45,6 +47,8 @@ buildPythonPackage rec {
toml
];
pythonImportsCheck = [ "parametrize_from_file" ];
meta = with lib; {
description = "Read unit test parameters from config files";
homepage = "https://github.com/kalekundert/parametrize_from_file";