Accepting request 1045999 from devel:languages:python
- update to version 4.9.2 * Bugs fixed + CVE-2022-2309: A Bug in libxml2 2.9.1[0-4] could let namespace declarations from a failed parser run leak into later parser runs. This bug was worked around in lxml and resolved in libxml2 2.10.0. https://gitlab.gnome.org/GNOME/libxml2/-/issues/378 * LP#1981760: ``Element.attrib`` now registers as ``collections.abc.MutableMapping``. * lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels). Patch by Quentin Leffray. OBS-URL: https://build.opensuse.org/request/show/1045999 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=95
This commit is contained in:
commit
dcb0dc82b3
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f
|
|
||||||
size 3377628
|
|
3
lxml-4.9.2.tar.gz
Normal file
3
lxml-4.9.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2455cfaeb7ac70338b3257f41e21f0724f4b5b0c0e7702da67ee6c3640835b67
|
||||||
|
size 3682202
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 29 07:46:19 UTC 2022 - Torsten Gruner <simmphonie@opensuse.org>
|
||||||
|
|
||||||
|
- update to version 4.9.2
|
||||||
|
* Bugs fixed
|
||||||
|
+ CVE-2022-2309: A Bug in libxml2 2.9.1[0-4] could let namespace declarations
|
||||||
|
from a failed parser run leak into later parser runs. This bug was worked around
|
||||||
|
in lxml and resolved in libxml2 2.10.0.
|
||||||
|
https://gitlab.gnome.org/GNOME/libxml2/-/issues/378
|
||||||
|
* LP#1981760: ``Element.attrib`` now registers as ``collections.abc.MutableMapping``.
|
||||||
|
* lxml now has a static build setup for macOS on ARM64 machines (not used for building wheels).
|
||||||
|
Patch by Quentin Leffray.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 19 11:33:55 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
Mon Sep 19 11:33:55 UTC 2022 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
2
python-lxml.rpmlintrc
Normal file
2
python-lxml.rpmlintrc
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
addFilter("zero-length")
|
||||||
|
addFilter("no-dependency-on python-base")
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-lxml
|
# spec file for package python-lxml
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2023 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,9 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-lxml
|
Name: python-lxml
|
||||||
Version: 4.9.1
|
Version: 4.9.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pythonic XML processing library
|
Summary: Pythonic XML processing library
|
||||||
License: BSD-3-Clause AND GPL-2.0-or-later
|
License: BSD-3-Clause AND GPL-2.0-or-later
|
||||||
@ -26,13 +25,14 @@ Group: Development/Languages/Python
|
|||||||
URL: https://lxml.de/
|
URL: https://lxml.de/
|
||||||
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
|
||||||
Source1: https://lxml.de/lxmldoc-4.5.2.pdf
|
Source1: https://lxml.de/lxmldoc-4.5.2.pdf
|
||||||
|
Source99: python-lxml.rpmlintrc
|
||||||
BuildRequires: %{python_module Cython >= 0.29.7}
|
BuildRequires: %{python_module Cython >= 0.29.7}
|
||||||
BuildRequires: %{python_module base}
|
BuildRequires: %{python_module base}
|
||||||
BuildRequires: %{python_module cssselect >= 0.9.1}
|
BuildRequires: %{python_module cssselect >= 0.9.1}
|
||||||
BuildRequires: %{python_module setuptools >= 18.0.1}
|
BuildRequires: %{python_module setuptools >= 18.0.1}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: libxml2-devel >= 2.10.2
|
BuildRequires: libxml2-devel >= 2.10.2
|
||||||
BuildRequires: libxslt-devel >= 1.1.23
|
BuildRequires: libxslt-devel >= 1.1.27
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-cssselect >= 0.9.1
|
Requires: python-cssselect >= 0.9.1
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@ -59,7 +59,6 @@ This package contains documentation for lxml (HTML and PDF).
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for python-lxml
|
Summary: Development files for python-lxml
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
BuildRequires: %{python_module base}
|
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -89,15 +88,21 @@ export CFLAGS="%{optflags}"
|
|||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
export PYTHONUNBUFFERED=x
|
export PYTHONUNBUFFERED=x
|
||||||
%if 0%{?have_python2}
|
%if 0%{?have_python2}
|
||||||
|
%{python_expand # define python version for test:
|
||||||
|
export PYTHON="$python"
|
||||||
%make_build test
|
%make_build test
|
||||||
|
}
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?have_python3}
|
%if 0%{?have_python3}
|
||||||
|
%{python_expand # define python version for test:
|
||||||
|
export PYTHON3="$python"
|
||||||
%make_build test3
|
%make_build test3
|
||||||
|
}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%fdupes %{buildroot}
|
%python_expand %fdupes %{buildroot}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSES.txt
|
%license LICENSES.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user