mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue