Merge pull request #266301 from SuperSandro2000/pytest-regressions-deps

python3.pkgs.pytest-regressions: align dependencies with upstream
This commit is contained in:
Mario Rodas 2023-11-26 10:46:04 -05:00 committed by GitHub
commit 993f056be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -36,17 +36,15 @@ buildPythonPackage rec {
];
propagatedBuildInputs = [
numpy
pandas
pillow
pytest-datadir
pyyaml
];
nativeCheckInputs = [
pytestCheckHook
matplotlib
pandas
pytestCheckHook
];
pythonImportsCheck = [
@ -54,6 +52,12 @@ buildPythonPackage rec {
"pytest_regressions.plugin"
];
passthru.optional-dependencies = {
dataframe = [ pandas numpy ];
image = [ numpy pillow ];
num = [ numpy pandas ];
};
meta = with lib; {
description = "Pytest fixtures to write regression tests";
longDescription = ''