guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit 26ed61f74752cf0860d59766028de7a0231a681a
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun May 31 22:41:02 2026 +0100

    gnu: python-idna: Update to 3.18.
    
    * gnu/packages/python-xyz.scm (python-idna): Update to 3.18.
    [source]: Switch to git-fetch.
    [native-inputs]: Add python-pytest.
    
    Merges: guix/guix!9278
    Change-Id: I796fe2386461ed3d1c4d5a9e4ce6347d62d63b6b
    Co-authored-by: Hugo Buddelmeijer <[email protected]>
---
 gnu/packages/python-xyz.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d0c37e887..671f4c2669 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18745,17 +18745,19 @@ for OER and UPER.")
 (define-public python-idna
   (package
     (name "python-idna")
-    (version "3.10")
+    (version "3.18")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "idna" version))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/kjd/idna";)
+              (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1a9yn40rph0amwq61j7j3nqm472baz6673ng6pfadg8a8ydmrxhj"))))
+        (base32 "0phrdwf6gqjpbs5kv3y6wbkvvpmq6kmjby674s8b9f6dsgzz4wpn"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-flit-core))
+     (list python-flit-core python-pytest))
     (home-page "https://github.com/kjd/idna";)
     (synopsis "Internationalized domain names in applications")
     (description

Reply via email to