From c3ec4641b337935d98ec8268f90821b6b3e51f39 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sun, 1 Dec 2024 19:44:39 +0000 Subject: 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]: 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 2320136308..1a8461fa37 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -13987,26 +13987,25 @@ (define-public python-pulp (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 -- cgit v1.2.3