gnu: python-pyopenssl: Update to 24.1.0.
* gnu/packages/python-crypto.scm (python-pyopenssl): Update to 24.1.0. [arguments]: Adjust custom 'check phase to disable fewer tests and update faketime. [native-inputs]: Add python-pytest-rerunfailures. Remove python-pretend. [properties]: Add package updater helpers updater-extra-inputs, updater-extra-native-inputs. Change-Id: I3a152e6c66d27c912e18e67c114672397426e6e3master
parent
27960f4ac2
commit
e4c1584f5b
|
@ -651,14 +651,14 @@ ciphers, message digests and key derivation functions.")
|
||||||
(define-public python-pyopenssl
|
(define-public python-pyopenssl
|
||||||
(package
|
(package
|
||||||
(name "python-pyopenssl")
|
(name "python-pyopenssl")
|
||||||
(version "23.2.0")
|
(version "24.1.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "pyOpenSSL" version))
|
(uri (pypi-uri "pyOpenSSL" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1b4bkcpzhmablf592g21rq3l8apbhklp6wcwlvgfflm4algr6vr7"))))
|
"0vqsyji1q4vhd5yxlzks0z6va62knq64mxhfdjhz3yaxmazx9gna"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -670,25 +670,21 @@ ciphers, message digests and key derivation functions.")
|
||||||
;; PyOpenSSL runs tests against a certificate with a fixed
|
;; PyOpenSSL runs tests against a certificate with a fixed
|
||||||
;; expiry time. To ensure successful builds in the future,
|
;; expiry time. To ensure successful builds in the future,
|
||||||
;; set the time to roughly the release date.
|
;; set the time to roughly the release date.
|
||||||
(invoke "faketime" "2023-03-25" "pytest" "-vv" "-k"
|
(invoke "faketime" "2024-03-09" "pytest" "-vv" "-k"
|
||||||
(string-append
|
|
||||||
;; This test tries to look up certificates from
|
;; This test tries to look up certificates from
|
||||||
;; the compiled-in default path in OpenSSL, which
|
;; the compiled-in default path in OpenSSL, which
|
||||||
;; does not exist in the build environment.
|
;; does not exist in the build environment.
|
||||||
"not test_fallback_default_verify_paths "
|
"not test_fallback_default_verify_paths ")))))))
|
||||||
;; This test attempts to make a connection to
|
|
||||||
;; an external web service.
|
|
||||||
"and not test_set_default_verify_paths "
|
|
||||||
;; Fails on i686-linux and possibly other 32-bit platforms
|
|
||||||
;; https://github.com/pyca/pyopenssl/issues/974
|
|
||||||
"and not test_verify_with_time"))))))))
|
|
||||||
(propagated-inputs (list python-cryptography))
|
(propagated-inputs (list python-cryptography))
|
||||||
(inputs (list openssl))
|
(inputs (list openssl))
|
||||||
(native-inputs (list libfaketime python-flaky python-pretend python-pytest))
|
(native-inputs (list libfaketime python-pretend python-pytest
|
||||||
|
python-pytest-rerunfailures))
|
||||||
(home-page "https://github.com/pyca/pyopenssl")
|
(home-page "https://github.com/pyca/pyopenssl")
|
||||||
(synopsis "Python wrapper module around the OpenSSL library")
|
(synopsis "Python wrapper module around the OpenSSL library")
|
||||||
(description "PyOpenSSL is a high-level wrapper around a subset of the
|
(description "PyOpenSSL is a high-level wrapper around a subset of the
|
||||||
OpenSSL library.")
|
OpenSSL library.")
|
||||||
|
(properties `((updater-extra-inputs . ("openssl"))
|
||||||
|
(updater-extra-native-inputs . ("libfaketime"))))
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public python-ed25519
|
(define-public python-ed25519
|
||||||
|
|
Reference in New Issue