diff options
author | Tanguy Le Carrour <tanguy@bioneland.org> | 2020-03-21 12:26:17 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2020-03-24 17:10:19 -0400 |
commit | a356d1b68d91f9106606989f5220c189b9c71a1a (patch) | |
tree | d7eef4b4843aabaddf171d6967eac59593365197 /gnu | |
parent | 2c15cb589832c5c08cbfcd42f64011e2b345e335 (diff) | |
download | guix-a356d1b68d91f9106606989f5220c189b9c71a1a.tar.gz |
gnu: python-jsonschema: Update to 3.2.0.
* gnu/packages/python-xyz.scm (python-jsonschema): Update to 3.2.0. [propagated-inputs]: Add python-importlib-metadata. [arguments]: Use add-installed-pythonpath to make a test pass. Signed-off-by: Leo Famulari <leo@famulari.name>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/python-xyz.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 155ad211df..98d100365e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2271,19 +2271,20 @@ compare, diff, and patch JSON and JSON-like structures in Python.") (define-public python-jsonschema (package (name "python-jsonschema") - (version "3.0.1") + (version "3.2.0") (source (origin (method url-fetch) (uri (pypi-uri "jsonschema" version)) (sha256 (base32 - "03g20i1xfg4qdlk4475pl4pp7y0h37g1fbgs5qhy678q9xb822hc")))) + "0ykr61yiiizgvm3bzipa3l73rvj49wmrybbfwhvpgk3pscl5pa68")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) (setenv "PYTHONPATH" (string-append ".:" (getenv "PYTHONPATH"))) (invoke "trial" "jsonschema")))))) (native-inputs @@ -2291,6 +2292,7 @@ compare, diff, and patch JSON and JSON-like structures in Python.") ("python-twisted" ,python-twisted))) (propagated-inputs `(("python-attrs" ,python-attrs) + ("python-importlib-metadata" ,python-importlib-metadata) ;; python < 3.8 ("python-pyrsistent" ,python-pyrsistent) ("python-six" ,python-six))) (home-page "https://github.com/Julian/jsonschema") |