[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#39777] [PATCH V5 02/14] gnu: python-jsonschema: Update to 3.2.0.
From: |
Tanguy Le Carrour |
Subject: |
[bug#39777] [PATCH V5 02/14] gnu: python-jsonschema: Update to 3.2.0. |
Date: |
Sat, 21 Mar 2020 12:26:17 +0100 |
* 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.
---
gnu/packages/python-xyz.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 60ee761d4b..3290b07017 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2269,19 +2269,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
@@ -2289,6 +2290,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")
--
2.25.2
- [bug#39777] [PATCH V5 01/14] gnu: python-pexpect: Update to 4.8.0., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 02/14] gnu: python-jsonschema: Update to 3.2.0.,
Tanguy Le Carrour <=
- [bug#39777] [PATCH V5 03/14] gnu: python-pastel: Update to 0.2.0., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 04/14] gnu: python-msgpack: Update to 1.0.0., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 05/14] gnu: python-cachecontrol: Add missing propagated-input., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 07/14] gnu: python-clikit: Update to 0.4.2., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 06/14] gnu: python-sortedcontainers: Add missing propagated-inputs., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 08/14] gnu: python-fakeredis: Update to 1.2.1., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 10/14] gnu: Add python-json-logger., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 12/14] gnu: Add python-pifpaf., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 13/14] gnu: python-cachy: Update to 0.3.0., Tanguy Le Carrour, 2020/03/21
- [bug#39777] [PATCH V5 09/14] gnu: Add python-xattr., Tanguy Le Carrour, 2020/03/21