guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 7f64ee93eff8e306673c63a9d6a42e8c37de0f0a
Author: Nicolas Graves <[email protected]>
AuthorDate: Wed Aug 13 19:31:59 2025 +0200

    gnu: python-josepy: Update to 2.1.0.
    
    * gnu/packages/python-crypto.scm (python-josepy): Update to 2.1.0.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [native-inputs]: Add python-poetry-core, python-pytest.
    [propafate-inputs]: Remove python-pyopenssl.
    [description]: Improve style.
    
    Change-Id: I09f14fe5ad1bed2da76057a0295a22aa6ae822e5
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-crypto.scm | 31 ++++++++++++++++---------------
 1 file changed, 16 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-crypto.scm b/gnu/packages/python-crypto.scm
index a80da0d470..79bbf1b08b 100644
--- a/gnu/packages/python-crypto.scm
+++ b/gnu/packages/python-crypto.scm
@@ -917,23 +917,24 @@ Python.")
 (define-public python-josepy
   (package
     (name "python-josepy")
-    (version "1.13.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "josepy" version))
-              (sha256
-               (base32
-                "1jaxqyp53paks2z8zyzr50gqvzfxbar7r2qf98kqak4aizrxlcc9"))))
-    (build-system python-build-system)
-    (arguments
-     ;; TODO: some test dependencies are missing (see pyproject.toml).
-     '(#:tests? #f))
-    (propagated-inputs
-     (list python-cryptography python-pyopenssl))
+    (version "2.1.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/certbot/josepy";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1zplnfrmc4nps9lgl3fz434ja7lmi9v8waydflzvpi75kf5fqxc1"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-poetry-core python-pytest))
+    (propagated-inputs (list python-cryptography))
     (home-page "https://github.com/certbot/josepy";)
     (synopsis "JOSE protocol implementation in Python")
-    (description "This package provides a Python implementation of the JOSE
-protocol (Javascript Object Signing and Encryption).")
+    (description
+     "This package provides a Python implementation of the JOSE protocol
+(Javascript Object Signing and Encryption).")
     (license license:asl2.0)))
 
 (define pycryptodome-unbundle-tomcrypt-snippet

Reply via email to