[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/103: gnu: python-html5lib: Enable tests.
From: |
guix-commits |
Subject: |
55/103: gnu: python-html5lib: Enable tests. |
Date: |
Wed, 5 Jan 2022 09:44:35 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit b87ebda5a12fc2ad9c6e22d31b0e11d0accd4558
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Dec 30 10:06:12 2021 +0100
gnu: python-html5lib: Enable tests.
* gnu/packages/python-web.scm (python-html5lib)[arguments]: Remove.
[origin]: Add patch enabling support for Pytest 6.
[native-inputs]: Add python-pytest and python-pytest-expect.
---
gnu/packages/python-web.scm | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index d8978beca4..bf7746d175 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1123,14 +1123,27 @@ storage.")
(uri (pypi-uri "html5lib" version))
(sha256
(base32
- "0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))))
+ "0vqlhk0hgbsfkh7ybmby93xhlx8dq6pr5blf356ka3z2c41b9rdj"))
+ (patches
+ (list
+ ;; Adds Pytest 6 support.
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://github.com/html5lib/"
+ "html5lib-python/commit/"
+ "2c19b9899ab3a3e8bd0ca35e5d78544334204169.patch"))
+ (file-name "python-html5lib-support-pytest6.patch")
+ (sha256
+ (base32
+ "0jg2ry0439q8n7j1mf4p2hdq54i704pq9scv4wwa2pp3cwvb6dvg")))))))
(build-system python-build-system)
(propagated-inputs
(list python-six python-webencodings
;; Required by Calibre 5.
python-chardet))
- (arguments
- `(#:test-target "check"))
+ (native-inputs
+ (list python-pytest python-pytest-expect))
(home-page
"https://github.com/html5lib/html5lib-python")
(synopsis
- 13/103: gnu: python-mediafile: Add missing build dependencies., (continued)
- 13/103: gnu: python-mediafile: Add missing build dependencies., guix-commits, 2022/01/05
- 17/103: gnu: gusb-minimal: Add explicit dependency on setuptools., guix-commits, 2022/01/05
- 20/103: gnu: python-branca: Disable tests., guix-commits, 2022/01/05
- 22/103: gnu: dblatex: Use custom 'build and 'install phases., guix-commits, 2022/01/05
- 24/103: gnu: python-crashtest: Build using poetry-core., guix-commits, 2022/01/05
- 26/103: gnu: python-pastel: Add missing build system input., guix-commits, 2022/01/05
- 28/103: gnu: python-numba: Add missing build input., guix-commits, 2022/01/05
- 19/103: gnu: python-funcparserlib: Disable tests., guix-commits, 2022/01/05
- 36/103: gnu: python-rencode: Disable tests., guix-commits, 2022/01/05
- 40/103: gnu: python-pyfakefs: Disable tests., guix-commits, 2022/01/05
- 55/103: gnu: python-html5lib: Enable tests.,
guix-commits <=
- 07/103: gnu: python-flit: Inherit from python-flit-core., guix-commits, 2022/01/05
- 06/103: gnu: Add python-tomli-w., guix-commits, 2022/01/05
- 02/103: python-build-system: Use PEP 517-compatible builds., guix-commits, 2022/01/05
- 29/103: gnu: python-eradicate: Disable missing tests., guix-commits, 2022/01/05
- 38/103: gnu: python-pytest-cache: Disable tests., guix-commits, 2022/01/05
- 47/103: gnu: python-pytest-benchmark: Disable tests., guix-commits, 2022/01/05
- 33/103: gnu: python-apsw: Remove custom 'build phase., guix-commits, 2022/01/05
- 48/103: gnu: python-entrypoint2: Remove obsolete test target., guix-commits, 2022/01/05
- 15/103: gnu: python-multivolumefile: Remove unused inputs., guix-commits, 2022/01/05
- 23/103: gnu: python-django-pipeline: Disable tests., guix-commits, 2022/01/05