mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-17 08:48:21 +00:00
python/pillow: Only disable failing tests
There's no reason to disable ALL tests just because only one particular test module is failing. Tested on i686-linux and x86_64-linux against these Python versions: Python 2.6: The interpreter itself doesn't build Python 2.7: Successful for both architectures Python 3.3: Successful for both architectures Python 3.4: Successful for both architectures Python 3.5: Successful for both architectures Python 3.6: One of the dependencies of pillow doesn't build (pytest) Tests for PyPy still fail, which is why the doCheck attribute is only set to false if we're building for PyPy. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @desiderius, @goibhniu, @prikhi
This commit is contained in:
parent
4f8b74b401
commit
6343fef546
@ -18689,9 +18689,13 @@ in {
|
||||
sha256 = "0ee9975c05602e755ff5000232e0335ba30d507f6261922a658ee11b1cec36d1";
|
||||
};
|
||||
|
||||
# Check is disabled because of assertion errors, see
|
||||
doCheck = !isPyPy;
|
||||
|
||||
# Disable imagefont tests, because they don't work well with infinality:
|
||||
# https://github.com/python-pillow/Pillow/issues/1259
|
||||
doCheck = false;
|
||||
postPatch = ''
|
||||
rm Tests/test_imagefont.py
|
||||
'';
|
||||
|
||||
buildInputs = with self; [
|
||||
pkgs.freetype pkgs.libjpeg pkgs.zlib pkgs.libtiff pkgs.libwebp pkgs.tcl nose pkgs.lcms2 ]
|
||||
|
Loading…
Reference in New Issue
Block a user