From 35d56b7b607f6de615d5e13eb05273c649ee4543 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Thu, 15 Dec 2016 17:26:42 +0100 Subject: [PATCH] gnu: python-sqlalchemy-utils: Disable tests. * gnu/packages/python.scm (python-sqlalchemy-utils, python2-sqlalchemy-utils)[arguments]: Set #:tests? #f. [native-inputs]: Add python-dateutil-2, python-flexmock, python-pcycopg2 and python-pytz. --- gnu/packages/python.scm | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 55274783ff..011483d897 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -3988,11 +3988,22 @@ both of which are installed automatically if you install this library.") (base32 "1wghyvk73cmq3iqyg3fczw128fv2pan2v76m0xg1bw05h8fhvnk3")))) (build-system python-build-system) + (arguments + '(#:tests? #f)) ; FIXME: Many tests require a running database server. + ;; #:phases + ;; (modify-phases %standard-phases + ;; (replace 'check + ;; (lambda _ + ;; (zero? (system* "py.test" "sqlalchemy_utils" "tests"))))) (propagated-inputs `(("python-six" ,python-six) ("python-sqlalchemy" ,python-sqlalchemy))) (native-inputs - `(("python-pytest" ,python-pytest))) + `(("python-dateutil" ,python-dateutil-2) + ("python-flexmock" ,python-flexmock) + ("python-psycopg2" ,python-psycopg2) + ("python-pytest" ,python-pytest) + ("python-pytz" ,python-pytz))) (home-page "https://github.com/kvesteri/sqlalchemy-utils") (synopsis "Various utility functions for SQLAlchemy") (description