gnu: python-cryptography: Ignore spurious test failure.

* gnu/packages/python.scm (python-cryptography,
python2-cryptography)[arguments]: Add 'disable-failing-test' phase.
master
Leo Famulari 2016-10-14 16:55:02 -04:00
parent 90dcd49663
commit 470613f962
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 14 additions and 0 deletions

View File

@ -6215,6 +6215,20 @@ responses, rather than doing any computation.")
(base32
"1a85l548w5vvq3yhz0az7ajg2ijixzp6gagapw6wgrqvq28ghgs2"))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'disable-failing-test
(lambda _
;; This test is known to fail with OpenSSL >= 1.0.2i and older
;; versions of python-cryptography:
;; https://github.com/pyca/cryptography/issues/3196
;; TODO: Try re-enabling the test when upgrading
;; python-cryptography.
(substitute* "tests/hazmat/backends/test_openssl.py"
(("def test_numeric_string_x509_name_entry")
"@pytest.mark.xfail\n def test_numeric_string_x509_name_entry"))
#t)))))
(inputs
`(("openssl" ,openssl)))
(propagated-inputs