From 30e0229a1713e77dc0397dfb4ee6af4ac6a00443 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 14 Dec 2016 18:34:48 +0100 Subject: [PATCH] gnu: python-pyopenssl: Disable tests. * gnu/packages/python.scm (python-pyopenssl, python2-pyopenssl)[arguments]: Set #:tests? #f. [native-inputs]: Add python-pytest. --- gnu/packages/python.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index cd6ed1c240..ebe0194aa4 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6585,11 +6585,16 @@ (define-public python-pyopenssl (base32 "0vji4yrfshs15xpczbhzhasnjrwcarsqg87n98ixnyafnyxs6ybp")))) (build-system python-build-system) + (arguments + ;; FIXME: Some tests fail with "NameError: name 'long' is not defined". + '(#:tests? #f)) (propagated-inputs `(("python-cryptography" ,python-cryptography) ("python-six" ,python-six))) (inputs `(("openssl" ,openssl))) + (native-inputs + `(("python-pytest" ,python-pytest))) (home-page "https://github.com/pyca/pyopenssl") (synopsis "Python wrapper module around the OpenSSL library") (description