python-packages: SQLAlchemy: skip tests on Py3k

They would fail anyway, blocking all dependents for the sake of
a mere test dependency.
This commit is contained in:
Tobias Geerinckx-Rice 2015-05-12 17:22:04 +02:00
parent 8549e0cc99
commit f0764dd632

View File

@ -11909,10 +11909,14 @@ let
md5 = "470ca4da4a0081efc830f0d90dd91682";
};
buildInputs = with self; [ nose mock ];
buildInputs = with self; [ nose mock ]
++ stdenv.lib.optional doCheck pysqlite;
propagatedBuildInputs = with self; [ modules.sqlite3 ];
# Test-only dependency pysqlite doesn't build on Python 3. This isn't an
# acceptable reason to make all dependents unavailable on Python 3 as well
doCheck = !isPy3k;
checkPhase = ''
${python.executable} sqla_nose.py
'';