pythonPackages.sqlalchemy: remove pytest_xdist and fix the tests
This commit is contained in:
parent
1f3c2bcefe
commit
5fe81bf372
@ -2,7 +2,6 @@
|
|||||||
, mock
|
, mock
|
||||||
, pysqlite
|
, pysqlite
|
||||||
, pytest
|
, pytest
|
||||||
, pytest_xdist
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
@ -17,9 +16,16 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
mock
|
mock
|
||||||
pytest_xdist
|
|
||||||
] ++ lib.optional (!isPy3k) pysqlite;
|
] ++ lib.optional (!isPy3k) pysqlite;
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
sed -e 's:--max-worker-restart=5::g' -i setup.cfg
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkPhase = ''
|
||||||
|
pytest test
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = http://www.sqlalchemy.org/;
|
homepage = http://www.sqlalchemy.org/;
|
||||||
description = "A Python SQL toolkit and Object Relational Mapper";
|
description = "A Python SQL toolkit and Object Relational Mapper";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user