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