sharlatan pushed a commit to branch python-team
in repository guix.
commit bba9258ef78048fef49e6028f4966f20e6ec2581
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Nov 25 20:23:22 2024 +0000
gnu: python-ecdsa: Update to 0.19.0.
* gnu/packages/python-crypto.scm (python-ecdsa): Update to 0.19.0.
[build-system]: Swap to pyproject-build-system.
[arguments]<phases>: Use default 'check.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ib7077ffd3c78b4b995bb3c278fd27738b2c952ee
---
gnu/packages/python-crypto.scm | 29 +++++++++++------------------
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index c05231a154..b5b3820c3a 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -216,32 +216,25 @@ Python interface around SSH networking concepts.")
(define-public python-ecdsa
(package
(name "python-ecdsa")
- (version "0.17.0")
+ (version "0.19.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "ecdsa" version))
(sha256
- (base32 "1ak8xa2r660d85abrlffp0bqvwdadg9ga4066g856hcy8fxh1xdr"))))
- (build-system python-build-system)
+ (base32 "1y3bmx6aw5klx143jas3czwbsfvr5d3fs8gm1bfh16b5k48svsk0"))))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases
- (modify-phases %standard-phases
- (replace 'check
- (lambda _ (invoke
- "pytest"
- "-vv"
- "-k"
- (string-append
- "not test_multithreading_with_interrupts "
- ;; The following test fails and will be fixed in the
- ;; next release after v0.18. See
- ;;
<https://github.com/tlsfuzzer/python-ecdsa/issues/307>.
- "and not test_add_different_scale_points")))))))
+ (list
+ ;; Test failes with error: AssertionError: KeyboardInterrupt not raised.
+ #:test-flags #~(list "-k" "not test_multithreading_with_interrupts")))
+ (native-inputs
+ (list openssl
+ python-pytest
+ python-setuptools
+ python-wheel))
(propagated-inputs
(list python-six))
- (native-inputs
- (list openssl python-pytest))
(home-page "https://github.com/warner/python-ecdsa")
(synopsis "ECDSA cryptographic signature library (pure python)")
(description