- update to 4.9.3:
* ``lxml.objectify`` accepted non-decimal numbers like ``²²²`` as integers. * A memory leak in ``lxml.html.clean`` was resolved by switching to Cython 0.29.34+. * GH#348: URL checking in the HTML cleaner was improved. * GH#371, GH#373: Some regex strings were changed to raw strings to fix Python warnings. * Built with Cython 0.29.36 to adapt to changes in Python 3.12. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=185
This commit is contained in:
parent
6074d27829
commit
86d5c3a954
@ -12,13 +12,13 @@ See https://bugs.launchpad.net/lxml/+bug/2024343
|
||||
src/lxml/isoschematron/__init__.py | 24 +++++++++++++++++++-----
|
||||
3 files changed, 36 insertions(+), 5 deletions(-)
|
||||
|
||||
Index: lxml-4.9.2/CHANGES.txt
|
||||
Index: lxml-4.9.3/CHANGES.txt
|
||||
===================================================================
|
||||
--- lxml-4.9.2.orig/CHANGES.txt
|
||||
+++ lxml-4.9.2/CHANGES.txt
|
||||
@@ -2,6 +2,14 @@
|
||||
lxml changelog
|
||||
==============
|
||||
--- lxml-4.9.3.orig/CHANGES.txt
|
||||
+++ lxml-4.9.3/CHANGES.txt
|
||||
@@ -27,6 +27,14 @@ Other changes
|
||||
* Built with Cython 0.29.36 to adapt to changes in Python 3.12.
|
||||
|
||||
|
||||
+* LP#2024343: The validation of the schema file itself is now optional in the
|
||||
+ ISO-Schematron implementation. This was done because some lxml distributions
|
||||
@ -31,10 +31,10 @@ Index: lxml-4.9.2/CHANGES.txt
|
||||
4.9.2 (2022-12-13)
|
||||
==================
|
||||
|
||||
Index: lxml-4.9.2/doc/validation.txt
|
||||
Index: lxml-4.9.3/doc/validation.txt
|
||||
===================================================================
|
||||
--- lxml-4.9.2.orig/doc/validation.txt
|
||||
+++ lxml-4.9.2/doc/validation.txt
|
||||
--- lxml-4.9.3.orig/doc/validation.txt
|
||||
+++ lxml-4.9.3/doc/validation.txt
|
||||
@@ -615,6 +615,15 @@ The usage of validation phases is a uniq
|
||||
a very powerful tool e.g. for establishing validation stages or to provide
|
||||
different validators for different "validation audiences".
|
||||
@ -51,10 +51,10 @@ Index: lxml-4.9.2/doc/validation.txt
|
||||
(Pre-ISO-Schematron)
|
||||
--------------------
|
||||
|
||||
Index: lxml-4.9.2/src/lxml/isoschematron/__init__.py
|
||||
Index: lxml-4.9.3/src/lxml/isoschematron/__init__.py
|
||||
===================================================================
|
||||
--- lxml-4.9.2.orig/src/lxml/isoschematron/__init__.py
|
||||
+++ lxml-4.9.2/src/lxml/isoschematron/__init__.py
|
||||
--- lxml-4.9.3.orig/src/lxml/isoschematron/__init__.py
|
||||
+++ lxml-4.9.3/src/lxml/isoschematron/__init__.py
|
||||
@@ -61,10 +61,16 @@ iso_svrl_for_xslt1 = _etree.XSLT(_etree.
|
||||
svrl_validation_errors = _etree.XPath(
|
||||
'//svrl:failed-assert', namespaces={'svrl': SVRL_NS})
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2455cfaeb7ac70338b3257f41e21f0724f4b5b0c0e7702da67ee6c3640835b67
|
||||
size 3682202
|
BIN
lxml-4.9.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
lxml-4.9.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 13 18:55:19 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 4.9.3:
|
||||
* ``lxml.objectify`` accepted non-decimal numbers like ``²²²``
|
||||
as integers.
|
||||
* A memory leak in ``lxml.html.clean`` was resolved by
|
||||
switching to Cython 0.29.34+.
|
||||
* GH#348: URL checking in the HTML cleaner was improved.
|
||||
* GH#371, GH#373: Some regex strings were changed to raw
|
||||
strings to fix Python warnings.
|
||||
* Built with Cython 0.29.36 to adapt to changes in Python 3.12.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 14 15:42:00 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-lxml
|
||||
Version: 4.9.2
|
||||
Version: 4.9.3
|
||||
Release: 0
|
||||
Summary: Pythonic XML processing library
|
||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||
@ -42,7 +42,7 @@ Patch3: ISO-Schematron-schema-optional.patch
|
||||
# PATCH-FIX-UPSTREAM remove-ISO-Schematron-schema.patch gl#fedora/legal/fedora-license-data/-#154 mcepl@suse.com
|
||||
# Actually remove the schema
|
||||
Patch4: remove-ISO-Schematron-schema.patch
|
||||
BuildRequires: %{python_module Cython >= 0.29.7}
|
||||
BuildRequires: %{python_module Cython >= 0.29.7 with %python-Cython < 3}
|
||||
BuildRequires: %{python_module base}
|
||||
BuildRequires: %{python_module cssselect >= 0.9.1}
|
||||
BuildRequires: %{python_module setuptools >= 18.0.1}
|
||||
|
Loading…
Reference in New Issue
Block a user