guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 74d3a8088337cd033e6d2a78c2e571c9006b1b49
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Oct 26 19:44:15 2025 +0100

    gnu: python-dns-lexicon: Update to 3.21.1.
    
    * gnu/packages/python-xyz.scm (python-dns-lexicon): Update to 3.21.1.
    [source]: Switch to git-fetch.
    [build-system]: Switch to pyproject-build-system.
    [arguments]<#:tests?>: Enable them.
    <#:test-flags>: Disable failing tests.
    <#:phases>: Add phase 'configure-tests.
    [native-inputs]: Add nss-certs-for-test, python-hatchling,
    python-setuptools.
    [propagated-inputs]: Update them (with guix refresh).
    [home-page]: Update it.
    
    Change-Id: I6aba8ff29d7505313e7806a463a293f613d1b391
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 39 +++++++++++++++++++++++++++------------
 1 file changed, 27 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5a6c1c0939..419844d8cf 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27652,23 +27652,38 @@ derivation parsing, namingly @code{b32decode()}, 
@code{b32encode()} and
 (define-public python-dns-lexicon
   (package
     (name "python-dns-lexicon")
-    (version "2.4.0")
+    (version "3.21.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "dns-lexicon" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/dns-lexicon/dns-lexicon";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0jdn3ns71bsybr7njgsqr9xlxsqh7zh6phn4ld0liazqdn2l5f6m"))))
-    (build-system python-build-system)
+        (base32 "138j8nrkrisn7kh5rqi2wz130p6vr4bkaw1pmbfpjkdjk118ng8c"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:tests? #f))                    ;requires internet access
+     (list
+      ;; Integration tests require network access.
+      #:test-flags #~(list "--ignore-glob=tests/providers/*.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'check 'configure-tests
+            (lambda _
+              (setenv "HOME" (getcwd)))))))
+    (native-inputs (list nss-certs-for-test python-hatchling python-pytest))
     (propagated-inputs
-     (list python-future python-pynamecheap python-requests
-           python-tldextract python-urllib3))
-    (home-page "https://github.com/AnalogJ/lexicon";)
-    (synopsis
-     "Manipulate DNS records on various DNS providers")
+     (list python-beautifulsoup4
+           python-cryptography
+           python-dnspython
+           python-importlib-metadata
+           python-pyotp
+           python-pyyaml
+           python-requests
+           python-tldextract))
+    (home-page "https://github.com/dns-lexicon/dns-lexicon";)
+    (synopsis "Manipulate DNS records on various DNS providers")
     (description
      "Lexicon provides a way to manipulate DNS records on multiple DNS
 providers in a standardized way.  It has a CLI but it can also be used as a

Reply via email to