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:
parent
8549e0cc99
commit
f0764dd632
@ -11909,10 +11909,14 @@ let
|
|||||||
md5 = "470ca4da4a0081efc830f0d90dd91682";
|
md5 = "470ca4da4a0081efc830f0d90dd91682";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with self; [ nose mock ];
|
buildInputs = with self; [ nose mock ]
|
||||||
|
++ stdenv.lib.optional doCheck pysqlite;
|
||||||
propagatedBuildInputs = with self; [ modules.sqlite3 ];
|
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 = ''
|
checkPhase = ''
|
||||||
${python.executable} sqla_nose.py
|
${python.executable} sqla_nose.py
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user