From 8dda9916e2ad60aea5ba1a9944169710678259aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Sun, 24 Jan 2016 17:36:52 +0100 Subject: [PATCH] sqlparse: disable tests on py3k --- pkgs/top-level/python-packages.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index df4c71f85b6..a7b4b9f09c5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -11678,8 +11678,6 @@ in modules // { pymysql = buildPythonPackage rec { name = "pymysql-${version}"; version = "0.6.6"; - # expects a local myqsl instance - doCheck = false; src = pkgs.fetchgit { url = https://github.com/PyMySQL/PyMySQL.git; rev = "refs/tags/pymysql-${version}"; @@ -19643,6 +19641,9 @@ in modules // { name = "sqlparse-${version}"; version = "0.1.16"; + # the source wasn't transformed with 2to3 yet + doCheck = !isPy3k; + src = pkgs.fetchurl { url = "https://pypi.python.org/packages/source/s/sqlparse/${name}.tar.gz"; sha256 = "108gy82x7davjrn3jqn7yv4r5v4jrzp892ysfx8l00abr8v6r337";