[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: gnu: python-bleach: Update to 3.1.0.
From: |
guix-commits |
Subject: |
07/07: gnu: python-bleach: Update to 3.1.0. |
Date: |
Thu, 10 Oct 2019 14:16:09 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit ff0efc8f6c35606878ca009f3582f5257db2c9e3
Author: Marius Bakke <address@hidden>
Date: Thu Oct 10 19:13:15 2019 +0200
gnu: python-bleach: Update to 3.1.0.
* gnu/packages/check.scm (python-pytest-runner-2, python2-pytest-runner-2):
New public variables.
* gnu/packages/python-xyz.scm (python-bleach): Update to 3.1.0.
[propagated-inputs]: Remove PYTHON-HTML5LIB-0.9. Add PYTHON-WEBENCODINGS.
[native-inputs]: Remove PYTHON-NOSE. Add PYTHON-PYTEST and
PYTHON-PYTEST-RUNNER-2.
---
gnu/packages/check.scm | 16 ++++++++++++++++
gnu/packages/python-xyz.scm | 9 +++++----
2 files changed, 21 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index dab0bd3..c7d8615 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -816,6 +816,22 @@ supports coverage of subprocesses.")
(define-public python2-pytest-runner
(package-with-python2 python-pytest-runner))
+;; python-bleach 3.1.0 requires this ancient version of pytest-runner.
+;; Remove once no longer needed.
+(define-public python-pytest-runner-2
+ (package/inherit
+ python-pytest-runner
+ (version "2.12.2")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "pytest-runner" version))
+ (sha256
+ (base32
+ "11ivjj9hfphkv4yfb2g74av4yy86y8gcbf7gbif0p1hcdfnxg3w6"))))))
+
+(define-public python2-pytest-runner-2
+ (package-with-python2 python-pytest-runner-2))
+
(define-public python-pytest-mock
(package
(name "python-pytest-mock")
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 10fe5ee..b6a50de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7742,20 +7742,21 @@ Jupyter Notebook format and Python APIs for working
with notebooks.")
(define-public python-bleach
(package
(name "python-bleach")
- (version "1.4.3")
+ (version "3.1.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "bleach" version))
(sha256
(base32
- "0jvg3jxrvnx7xmm9gj262v60ib452xlnwlb0navyp7jsvcd0d4qj"))))
+ "1yhrgrhkln8bd6gn3imj69g1h4xqah9gaz9q26crqr6gmmvpzprz"))))
(build-system python-build-system)
(propagated-inputs
- `(("python-html5lib" ,python-html5lib-0.9)
+ `(("python-webencodings" ,python-webencodings)
("python-six" ,python-six)))
(native-inputs
- `(("python-nose" ,python-nose)))
+ `(("python-pytest" ,python-pytest)
+ ("python-pytest-runner" ,python-pytest-runner-2)))
(home-page "https://github.com/jsocol/bleach")
(synopsis "Whitelist-based HTML-sanitizing tool")
(description "Bleach is an easy whitelist-based HTML-sanitizing tool.")
- branch master updated (2d821e4 -> ff0efc8), guix-commits, 2019/10/10
- 05/07: gnu: tbb: Update to 2019_U9., guix-commits, 2019/10/10
- 01/07: gnu: libsoup: Update to 2.68.2., guix-commits, 2019/10/10
- 04/07: gnu: whois: Update to 5.5.2., guix-commits, 2019/10/10
- 03/07: gnu: appstream-glib: Update to 0.7.16., guix-commits, 2019/10/10
- 02/07: gnu: strace: Update to 5.3., guix-commits, 2019/10/10
- 06/07: gnu: fluidsynth: Update to 2.0.7., guix-commits, 2019/10/10
- 07/07: gnu: python-bleach: Update to 3.1.0.,
guix-commits <=