sharlatan pushed a commit to branch python-team in repository guix. commit 4d37afea902a602b1386519e72e7e25bfbcab3da Author: Sharlatan Hellseher <sharlata...@gmail.com> AuthorDate: Fri Nov 22 15:42:08 2024 +0000
gnu: python-fastjsonschema: Update to 2.20.0. * gnu/packages/python-xyz.scm (python-fastjsonschema): Update to 2.20.0. Adjust style. [source]: Swap to git checkout containing tests. [arguments]<tests>: Enable them. [native-inputs]: Remove python-pylint. Change-Id: Ia5f9cccc3f225c621a56a17da07e5ea43d4489f9 --- gnu/packages/python-xyz.scm | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index bb643c909c..6f5dd9dee7 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -17790,29 +17790,28 @@ significantly better performance.") (define-public python-fastjsonschema (package (name "python-fastjsonschema") - (version "2.15.1") + (version "2.20.0") (source (origin - (method url-fetch) - (uri (pypi-uri "fastjsonschema" version)) + (method git-fetch) ; no tests in PyPI release + (uri (git-reference + (url "https://github.com/horejsek/python-fastjsonschema") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 - (base32 "1ln2j60jzyn6p8i8ljygfgrji58hc23452g7nllkcjdk4p93c7v7")))) + (base32 "0aqj7hf1fgana9hh9la475wiyivcr46fra1bvigp00805g14k599")))) (build-system pyproject-build-system) - (arguments `(#:tests? #f)) ;no tests included (native-inputs (list python-colorama python-json-spec python-jsonschema - python-pylint python-pytest python-pytest-benchmark python-pytest-cache python-setuptools python-wheel)) - (home-page - "https://github.com/horejsek/python-fastjsonschema") - (synopsis - "Fast Python implementation of JSON schema") + (home-page "https://github.com/horejsek/python-fastjsonschema") + (synopsis "Fast Python implementation of JSON schema") (description "This library implements validation of JSON documents by JSON schema for drafts 04, 06 and 07.")