[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/27: gnu: python-lxml: Update to 4.9.1.
From: |
guix-commits |
Subject: |
24/27: gnu: python-lxml: Update to 4.9.1. |
Date: |
Fri, 9 Sep 2022 11:08:16 -0400 (EDT) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit 14b8282aa25897c8606fbd0d2cd2a2a65328201a
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Mon Sep 5 18:04:34 2022 +0200
gnu: python-lxml: Update to 4.9.1.
* gnu/packages/xml.scm (python-lxml): Update to 4.9.1.
[source](modules, snippet): Remove.
[arguments]: Respect TESTS? keyword in check phase.
(python-lxml-4.7): Define as deprecated alias for PYTHON-LXML.
* gnu/packages/video.scm (streamlink)[propagated-inputs]: Change from
PYTHON-LXML-4.7 to PYTHON-LXML.
---
gnu/packages/video.scm | 2 +-
gnu/packages/xml.scm | 30 ++++++++----------------------
2 files changed, 9 insertions(+), 23 deletions(-)
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 80d19bbfe8..ee360fc0b6 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3092,7 +3092,7 @@ and custom quantization matrices.")
(list python-pysocks
python-websocket-client
python-isodate
- python-lxml-4.7
+ python-lxml
python-pycountry
python-pycryptodome
python-requests
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index 1d675c62f1..3f729f5758 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -82,6 +82,7 @@
#:use-module (guix build-system meson)
#:use-module (guix build-system perl)
#:use-module (guix build-system python)
+ #:use-module (guix deprecation)
#:use-module (guix utils)
#:use-module (gnu packages linux)
#:use-module (gnu packages pkg-config))
@@ -2483,26 +2484,20 @@ because lxml.etree already has its own implementation
of XPath 1.0.")
(define-public python-lxml
(package
(name "python-lxml")
- (version "4.6.3")
+ (version "4.9.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "lxml" version))
(sha256
- (base32 "0s14r1w2x9sdlcsw8mxiqgw4rz5zs5lpqpxrfyn4a1mkndqqbdrr"))
- ;; Adapt a test to libxml2 2.9.12, taken from this commit:
- ;; https://github.com/lxml/lxml/commit/852ed1092bd80b6b9a51db24371047e
- (modules '((guix build utils)))
- (snippet
- '(substitute* "src/lxml/tests/test_etree.py"
- (("self\\.assertEqual\\(\\{'hha': None\\}, el\\.nsmap\\)")
- "self.assertEqual({}, el.nsmap)")))))
+ (base32 "0grczyrrq2rbwhvpri15cyhv330s494vbz3js3jky8xp5c2rnx7y"))))
(build-system python-build-system)
(arguments
`(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "make" "test"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "test")))))))
(inputs
(list libxml2 libxslt))
(home-page "https://lxml.de/")
@@ -2512,17 +2507,8 @@ because lxml.etree already has its own implementation of
XPath 1.0.")
libxml2 and libxslt.")
(license license:bsd-3))) ; and a few more, see LICENSES.txt
-(define-public python-lxml-4.7
- (package
- (inherit python-lxml)
- (version "4.7.1")
- (source
- (origin
- (inherit (package-source python-lxml))
- (uri (pypi-uri "lxml" version))
- (sha256
- (base32
- "090viyanaki4q7w7i000xl0qh4in52bkl3qal55sz2bbm8w3hqd1"))))))
+(define-deprecated python-lxml-4.7 python-lxml)
+(export python-lxml-4.7)
(define-public python-untangle
;; The latest tagged release is from 2014; use the latest commit.
- 20/27: gnu: python-parameterized: Update to 0.8.1., (continued)
- 20/27: gnu: python-parameterized: Update to 0.8.1., guix-commits, 2022/09/09
- 08/27: gnu: python-distlib: Update to 0.3.5., guix-commits, 2022/09/09
- 06/27: gnu: python-pytest: Remove input labels., guix-commits, 2022/09/09
- 26/27: gnu: autotrace: Update to 0.31.9., guix-commits, 2022/09/09
- 15/27: gnu: python-pyfakefs: Update to 4.6.3., guix-commits, 2022/09/09
- 23/27: gnu: python-pygobject: Update to 3.42.2., guix-commits, 2022/09/09
- 11/27: gnu: Deprecate the 'python-pytest-6' variable., guix-commits, 2022/09/09
- 05/27: gnu: python-sortedcontainers: Update to 2.4.0., guix-commits, 2022/09/09
- 14/27: gnu: python-py: Update to 1.11.0., guix-commits, 2022/09/09
- 22/27: gnu: python-pytest-timeout: Update to 2.1.0., guix-commits, 2022/09/09
- 24/27: gnu: python-lxml: Update to 4.9.1.,
guix-commits <=
- 27/27: gnu: autotrace: Don't build static library., guix-commits, 2022/09/09