From c44176237af93f4497aaec8e4588ff2e896b0df4 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Wed, 17 Feb 2016 19:42:43 +0100 Subject: [PATCH] pythonPackages.fs: build with all Python versions and add updated explanation of why tests are disabled. See also https://github.com/NixOS/nixpkgs/pull/13066 --- pkgs/top-level/python-packages.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 12a74cf9441..56572ab7430 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8960,10 +8960,11 @@ in modules // { ${python.interpreter} -m unittest discover ''; - # Judging from SyntaxError - disabled = isPy3k; - - # Lots of errors. Likely due to being in a chroot + # Because 2to3 is used the tests in $out need to be run. + # Both when using unittest and pytest this resulted in many errors, + # some Python byte/str errors, and others specific to resources tested. + # Failing tests due to the latter is to be expected with this type of package. + # Tests are therefore disabled. doCheck = false; meta = {