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

commit 370e38d59ec5694a6f94261f28330c605d5686fa
Author: Nicolas Graves <[email protected]>
AuthorDate: Mon Mar 31 08:18:36 2025 +0200

    gnu: python-pyquery: Update to 2.0.1.
    
    * gnu/packages/python-xyz.scm (python-pyquery): Update to 2.0.1.
    [build-system]: Switch to pyproject-build-system.
    [arguments]{test-flags}: Ignore a test that requires network access.
    [native-inputs]: Add python-pytest, python-pytest-cov,
    python-requests, python-setuptools, python-webob, python-webtest,
    python-wheel.
    [propagated-inputs]: Sort inputs.
    
    Signed-off-by: Sharlatan Hellseher <[email protected]>
---
 gnu/packages/python-xyz.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8ee3fd08bc..e52b40acb7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21354,19 +21354,28 @@ project template.")
 (define-public python-pyquery
   (package
     (name "python-pyquery")
-    (version "1.2.17")
+    (version "2.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pyquery" version))
        (sha256
         (base32
-         "1xia20wm0vx5dk85kcwgh13bylz8qh47ffjxssd2586r60xi783a"))))
-    (build-system python-build-system)
+         "1brg6aawb9m5mdfmc6g7v5r6pczbx67r4l9cn5yh6bdi0qkvp501"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; This test requires network access.
+     (list #:test-flags #~(list "-k" "not test_get")))
     (native-inputs
-     (list python-webob python-webtest))
+     (list python-pytest
+           python-pytest-cov
+           python-requests
+           python-setuptools
+           python-webob
+           python-webtest
+           python-wheel))
     (propagated-inputs
-     (list python-lxml python-cssselect))
+     (list python-cssselect python-lxml))
     (home-page "https://github.com/gawel/pyquery";)
     (synopsis "Make jQuery-like queries on xml documents")
     (description "pyquery allows you to make jQuery queries on xml documents.

Reply via email to