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

commit c4fe99099532aeb3aadeb07503bd06ee1c30fed9
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sun Dec 1 19:44:39 2024 +0000

    gnu: python-py-partiql-parser: Update to 0.5.6.
    
    * gnu/packages/python-xyz.scm (python-py-partiql-parser): Update to 0.5.6.
    [source]: Swap to git checkout containing tests.
    [arguments]<tests?>: Enable them.
    [native-inputs]: Remove python-black, python-flake8, and python-mypy.
    [description]: Start from a new line.
    
    Change-Id: I0c5865158ddef1512b5fb73d11a540650a01b29f
---
 gnu/packages/python-xyz.scm | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4fb489c358..9e5b63a831 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13947,26 +13947,25 @@ solve linear problems.")
 (define-public python-py-partiql-parser
   (package
     (name "python-py-partiql-parser")
-    (version "0.3.7")
+    (version "0.5.6")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "py-partiql-parser" version))
+       (method git-fetch)   ; no tests data in PyPi package
+       (uri (git-reference
+             (url "https://github.com/getmoto/py-partiql-parser";)
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "1cnbp1pk1ydgyrqdvdg5aa83qdd6ljrigz40r7kxpmdxqfnz2hak"))))
+        (base32 "0xa1plsi2nkd3fwvkjw9c8b3bzvr6ml83x5gd22sf1cvimqn0jmq"))))
     (build-system pyproject-build-system)
-    ;; There are no tests.
-    (arguments (list #:tests? #false))
     (native-inputs
-     (list python-black
-           python-flake8
-           python-hatchling
-           python-mypy
+     (list python-hatchling
            python-pytest))
     (home-page "https://pypi.org/project/py-partiql-parser/";)
     (synopsis "Pure Python PartiQL Parser")
-    (description "This package provides a tokenizer/parser/executor for the
-PartiQL language, in Python.")
+    (description
+     "This package provides a tokenizer/parser/executor for the PartiQL
+language, in Python.")
     (license license:expat)))
 
 (define-public python-py-tes

Reply via email to