From cedb0ecf4da85ac6d3d084d344dcc5b87f4d1548 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 25 Sep 2019 09:08:06 +0200 Subject: [PATCH] pythonPackages.weasyprint: 47 -> 50 --- .../python-modules/weasyprint/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/weasyprint/default.nix b/pkgs/development/python-modules/weasyprint/default.nix index 7dc09d58aad6..bac3e9b77b54 100644 --- a/pkgs/development/python-modules/weasyprint/default.nix +++ b/pkgs/development/python-modules/weasyprint/default.nix @@ -23,11 +23,15 @@ buildPythonPackage rec { pname = "weasyprint"; - version = "47"; + version = "50"; disabled = !isPy3k; - # ignore failing pytest - checkPhase = "pytest -k 'not test_font_stretch'"; + # ignore failing test cases + checkPhase = '' + runHook preCheck + pytest -k 'not test_table_vertical_align and not test_text_overflow_ellipsis and not test_text_overflow_clip' + runHook postCheck + ''; # ignore failing flake8-test prePatch = '' @@ -55,7 +59,7 @@ buildPythonPackage rec { src = fetchPypi { inherit version; pname = "WeasyPrint"; - sha256 = "0hd1zwrkfnj7g0jaaf6jvarlj6l5imar6ar78zxdgv17a3s3k3dg"; + sha256 = "0invs96zvmcr6wh5klj52jrcnr9qg150v9wpmbhcsf3vv1d1hbcw"; }; meta = with stdenv.lib; {