From 75c6af85c01affbab094e434a55236bc6ee74c41 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 24 Nov 2021 18:25:33 +0100 Subject: gnu: python2-cryptography: Remove 'sanity-check phase. * gnu/packages/python-crypto.scm (python2-cryptography)[arguments]: Do not inherit; remove 'sanity-check phase. --- gnu/packages/python-crypto.scm | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'gnu/packages/python-crypto.scm') diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm index c0cfc00732..74f61fedbf 100644 --- a/gnu/packages/python-crypto.scm +++ b/gnu/packages/python-crypto.scm @@ -542,6 +542,13 @@ message digests and key derivation functions.") (let ((crypto (package-with-python2 (strip-python2-variant python-cryptography)))) (package/inherit crypto + (arguments + `(#:python ,python-2 + #:phases + (modify-phases %standard-phases + ;; The sanity-check attempts attempts to import the non-existent + ;; modules "_openssl" and "_padding". + (delete 'sanity-check)))) (propagated-inputs `(("python2-ipaddress" ,python2-ipaddress) ("python2-backport-ssl-match-hostname" -- cgit v1.2.3