python3Packages.pillow: add some reverse dependencies to passthru.tests

picked for importance or sensitivity to pillow changes
This commit is contained in:
Robert Scott 2022-02-12 19:42:34 +00:00 committed by Jonathan Ringer
parent dc875f8895
commit 946455fe58
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
{ lib, stdenv, buildPythonPackage, fetchPypi, isPyPy, isPy3k
, defusedxml, olefile, freetype, libjpeg, zlib, libtiff, libwebp, tcl, lcms2, tk, libX11
, libxcb, openjpeg, libimagequant, pyroma, numpy, pytestCheckHook
# for passthru.tests
, imageio, matplotlib, pilkit, pydicom, reportlab
}@args:
import ./generic.nix (rec {
@ -14,6 +16,10 @@ import ./generic.nix (rec {
sha256 = "0gjry0yqryd2678sm47jhdnbghzxn5wk8pgyaqwr4qi7x5ijjvpf";
};
passthru.tests = {
inherit imageio matplotlib pilkit pydicom reportlab;
};
meta = with lib; {
homepage = "https://python-pillow.org/";
description = "The friendly PIL fork (Python Imaging Library)";

View File

@ -3,13 +3,14 @@
, disabled
, src
, meta
, passthru ? {}
, ...
}@args:
with args;
buildPythonPackage rec {
inherit pname version src meta;
inherit pname version src meta passthru;
# Disable imagefont tests, because they don't work well with infinality:
# https://github.com/python-pillow/Pillow/issues/1259