From 483b87ba090b8db10b92fb908c48eb530c15245f Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Tue, 25 Dec 2018 23:06:37 +0000 Subject: [PATCH] pythonPackages.qrcode: disable tests with Python 3 They fail since qrcode 6.0: https://hydra.nixos.org/job/nixpkgs/trunk/python37Packages.qrcode.x86_64-linux Upstream issue: https://github.com/lincolnloop/python-qrcode/issues/163 --- pkgs/development/python-modules/qrcode/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/python-modules/qrcode/default.nix b/pkgs/development/python-modules/qrcode/default.nix index ca751e4ce78..fedff05d813 100644 --- a/pkgs/development/python-modules/qrcode/default.nix +++ b/pkgs/development/python-modules/qrcode/default.nix @@ -1,5 +1,6 @@ { stdenv , buildPythonPackage +, isPy27 , fetchPypi , six , pillow @@ -18,6 +19,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ six pillow pymaging_png ]; checkInputs = [ mock ]; + doCheck = isPy27; # https://github.com/lincolnloop/python-qrcode/issues/163 meta = with stdenv.lib; { description = "Quick Response code generation for Python";