208 Commits

Author SHA256 Message Date
ac9588e4dd Accepting request 1294982 from devel:languages:python
- Update to 6.0.0:
  * ``lxml.html.diff`` is faster and provides structurally better diffs.
  * The factories ``Element`` and ``ElementTree`` can now be used in type
    hints.
  * Parsing from ``memoryview`` and other buffers is supported to allow
    zero-copy parsing.
  * ``lxml.html.builder`` was missing several HTML5 tag names.
  * ``CDATA`` can now be written into the incremental ``xmlfile()`` writer.
  * A new parser option ``decompress=False`` was added that controls the
    automatic input decompression when using libxml2 2.15.0 or later.
  * The set of compile time / runtime supported libxml2 feature names is
    available as ``etree.LIBXML_COMPILED_FEATURES`` and
    ``etree.LIBXML_FEATURES``.
  * Predicates in ``.find*()`` could mishandle tag indices if a default
    namespace is provided.
  * The ``head`` and ``body`` properties of ``lxml.html`` elements failed
    if no such element was found.  They now return ``None`` instead.
  * Tag names provided by code (API, not data) that are longer than
    ``INT_MAX`` could be truncated or mishandled in other ways.
  * ``.text_content()`` on ``lxml.html`` elements accidentally returned
    a "smart string" without additional information.  It now returns a plain
    string.
  * Support for Python < 3.8 was removed.
  * Parsing directly from zlib (or lzma) compressed data is now considered
    an optional feature in lxml.
  * The ``Schematron`` class is deprecated and will become non-functional in
    a future lxml version.
  * Built using Cython 3.1.2.
  * The debug methods ``MemDebug.dump()`` and ``MemDebug.show()`` were
    removed completely.

OBS-URL: https://build.opensuse.org/request/show/1294982
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=114
2025-07-23 14:32:19 +00:00
26f1af7ef9 - Update to 6.0.0:
* ``lxml.html.diff`` is faster and provides structurally better diffs.
  * The factories ``Element`` and ``ElementTree`` can now be used in type
    hints.
  * Parsing from ``memoryview`` and other buffers is supported to allow
    zero-copy parsing.
  * ``lxml.html.builder`` was missing several HTML5 tag names.
  * ``CDATA`` can now be written into the incremental ``xmlfile()`` writer.
  * A new parser option ``decompress=False`` was added that controls the
    automatic input decompression when using libxml2 2.15.0 or later.
  * The set of compile time / runtime supported libxml2 feature names is
    available as ``etree.LIBXML_COMPILED_FEATURES`` and
    ``etree.LIBXML_FEATURES``.
  * Predicates in ``.find*()`` could mishandle tag indices if a default
    namespace is provided.
  * The ``head`` and ``body`` properties of ``lxml.html`` elements failed
    if no such element was found.  They now return ``None`` instead.
  * Tag names provided by code (API, not data) that are longer than
    ``INT_MAX`` could be truncated or mishandled in other ways.
  * ``.text_content()`` on ``lxml.html`` elements accidentally returned
    a "smart string" without additional information.  It now returns a plain
    string.
  * Support for Python < 3.8 was removed.
  * Parsing directly from zlib (or lzma) compressed data is now considered
    an optional feature in lxml.
  * The ``Schematron`` class is deprecated and will become non-functional in
    a future lxml version.
  * Built using Cython 3.1.2.
  * The debug methods ``MemDebug.dump()`` and ``MemDebug.show()`` were
    removed completely.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=209
2025-07-22 06:13:45 +00:00
32a3b38a24 Accepting request 1280666 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1280666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=113
2025-05-30 12:28:10 +00:00
d4ab80368c - Update to 5.4.0
* LP#2107279: Binary wheels use libxml2 2.13.8 and libxslt 1.1.43 to resolve
    several CVEs. Issue found by Anatoly Katyushin, see
    https://bugs.launchpad.net/lxml/+bug/2107279

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=207
2025-05-27 15:43:09 +00:00
a845284b2a Accepting request 1269361 from devel:languages:python
- update to 5.3.2 (bsc#1237370, CVE-2025-24928):
  * This release resolves CVE-2025-24928 as described in
  * https://gitlab.gnome.org/GNOME/libxml2/-/issues/847
  * GH#440: Some tests were adapted for libxml2 2.14.0.
  * LP#2097175: ``DTD(external_id="…")`` erroneously required a
    byte string as ID value.
  * GH#450: ``iterparse()`` internally triggered the
    `DeprecationWarning`` added in lxml 5.3.0 when parsing HTML.

OBS-URL: https://build.opensuse.org/request/show/1269361
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=112
2025-04-15 18:46:51 +00:00
3fb0b8b1d9 - update to 5.3.2 (bsc#1237370, CVE-2025-24928):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=205
2025-04-14 20:24:24 +00:00
26c09de24d - update to 5.3.2:
* This release resolves CVE-2025-24928 as described in
  * https://gitlab.gnome.org/GNOME/libxml2/-/issues/847
  * GH#440: Some tests were adapted for libxml2 2.14.0.
  * LP#2097175: ``DTD(external_id="…")`` erroneously required a
    byte string as ID value.
  * GH#450: ``iterparse()`` internally triggered the
    `DeprecationWarning`` added in lxml 5.3.0 when parsing HTML.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=204
2025-04-14 20:23:51 +00:00
4b6b1ff478 Accepting request 1203784 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1203784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=111
2024-09-26 16:52:45 +00:00
ec82b5a549 Accepting request 1203593 from system:homeautomation:home-assistant:unstable
- 5.3.0 (2024-08-10)
  Features added
  - GH#421: Nested CDATA sections are no longer rejected but split
    on output to represent ]]> correctly. Patch by Gertjan Klein.
  Bugs fixed
  - LP#2060160: Attribute values serialised differently in
    xmlfile.element() and xmlfile.write().
  - LP#2058177: The ISO-Schematron implementation could fail on
    unknown prefixes. Patch by David Lakin.
  Other changes
  - LP#2067707: The strip_cdata option in HTMLParser() turned out
    to be useless and is now deprecated.
  - Built with Cython 3.0.11.

OBS-URL: https://build.opensuse.org/request/show/1203593
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=202
2024-09-26 09:33:28 +00:00
013a55f707 Accepting request 1180847 from devel:languages:python
- Remove not needed patch skip-test-under-libexpat-2.6.0.patch
- Update to 5.2.2:
  - GH#417: The test_feed_parser test could fail if lxml_html_clean
    was not installed.  It is now skipped in that case.
  - LP#2059910: The minimum CPU architecture for the Linux x86 binary
    wheels was set back to "core2", without SSE 4.2.
  - If libxml2 uses iconv, the compile time version is available as
    etree.ICONV_COMPILED_VERSION.
- 5.2.1
  - LP#2059910: The minimum CPU architecture for the Linux x86 binary
    wheels was set back to "core2", but with SSE 4.2 enabled.
  - LP#2059977: ``Element.iterfind("//absolute_path")`` failed with a
    ``SyntaxError`` where it should have issued a warning.
  - GH#416: The documentation build was using the non-standard
    ``which`` command.  Patch by Michał Górny.
- 5.2.0
  - LP#1958539: The ``lxml.html.clean`` implementation suffered from
    several (only if used) security issues in the past and was now
    extracted into a separate library:
    https://github.com/fedora-python/lxml_html_clean
    Projects that use lxml without "lxml.html.clean" will not notice
    any difference, except that they won't have potentially vulnerable
    code installed.  The module is available as an "extra" setuptools
    dependency "lxml[html_clean]", so that Projects that need
    "lxml.html.clean" will need to switch their requirements from
    "lxml" to "lxml[html_clean]", or install the new library
    themselves.
  - The minimum CPU architecture for the Linux x86 binary wheels was
    upgraded to "sandybridge" (launched 2011), and glibc 2.28 / gcc 12
    (manylinux_2_28) wheels were added.

OBS-URL: https://build.opensuse.org/request/show/1180847
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=110
2024-06-17 17:27:06 +00:00
9d7d90957e - Remove not needed patch skip-test-under-libexpat-2.6.0.patch
- Update to 5.2.2:
  - GH#417: The test_feed_parser test could fail if lxml_html_clean
    was not installed.  It is now skipped in that case.
  - LP#2059910: The minimum CPU architecture for the Linux x86 binary
    wheels was set back to "core2", without SSE 4.2.
  - If libxml2 uses iconv, the compile time version is available as
    etree.ICONV_COMPILED_VERSION.
- 5.2.1
  - LP#2059910: The minimum CPU architecture for the Linux x86 binary
    wheels was set back to "core2", but with SSE 4.2 enabled.
  - LP#2059977: ``Element.iterfind("//absolute_path")`` failed with a
    ``SyntaxError`` where it should have issued a warning.
  - GH#416: The documentation build was using the non-standard
    ``which`` command.  Patch by Michał Górny.
- 5.2.0
  - LP#1958539: The ``lxml.html.clean`` implementation suffered from
    several (only if used) security issues in the past and was now
    extracted into a separate library:
    https://github.com/fedora-python/lxml_html_clean
    Projects that use lxml without "lxml.html.clean" will not notice
    any difference, except that they won't have potentially vulnerable
    code installed.  The module is available as an "extra" setuptools
    dependency "lxml[html_clean]", so that Projects that need
    "lxml.html.clean" will need to switch their requirements from
    "lxml" to "lxml[html_clean]", or install the new library
    themselves.
  - The minimum CPU architecture for the Linux x86 binary wheels was
    upgraded to "sandybridge" (launched 2011), and glibc 2.28 / gcc 12
    (manylinux_2_28) wheels were added.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=200
2024-06-14 08:18:52 +00:00
1424c12036 Accepting request 1146785 from devel:languages:python
- Add skip-test-under-libexpat-2.6.0.patch to skip broken test with
  expat 2.6.0, gh#python/cpython#115133

OBS-URL: https://build.opensuse.org/request/show/1146785
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=109
2024-02-15 19:59:35 +00:00
f7961fa66a Accepting request 1146776 from home:dgarcia:branches:devel:languages:python:Factory
- Add skip-test-under-libexpat-2.6.0.patch to skip broken test with
  expat 2.6.0, gh#python/cpython#115133

OBS-URL: https://build.opensuse.org/request/show/1146776
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=198
2024-02-15 10:27:06 +00:00
61900e7a88 Accepting request 1141530 from devel:languages:python
- Fix build error for Leap.
  Use build and test as descriped on upstream.

OBS-URL: https://build.opensuse.org/request/show/1141530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=108
2024-01-26 21:46:34 +00:00
e3e0846110 polish the spec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=196
2024-01-25 14:02:15 +00:00
837840e35d Accepting request 1141231 from home:ecsos:python
- Fix build error for Leap.
  Use build and test as descriped on upstream.

OBS-URL: https://build.opensuse.org/request/show/1141231
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=195
2024-01-25 14:00:53 +00:00
aadda69cde Accepting request 1138865 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1138865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=107
2024-01-17 21:14:36 +00:00
6aa062b559 Accepting request 1138782 from system:homeautomation:home-assistant:unstable
- update to version 5.1.0:
  Details on  https://lxml.de/5.1/changes-5.1.0.html
  removed merged patches:
  - ISO-Schematron-schema-optional.patch
  - remove-ISO-Schematron-schema.patch
  - close_file_before_test.patch

OBS-URL: https://build.opensuse.org/request/show/1138782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=193
2024-01-15 13:54:41 +00:00
9ae4529353 Accepting request 1134342 from devel:languages:python
- update to 4.9.4:
  * LP#2046398: Inserting/replacing an ancestor into a node's
    children could loop indefinitely.
  * LP#1980767, GH#379: ``TreeBuilder.close()`` could fail with a
    ``TypeError`` after parsing incorrect input.
  * LP#1522052: A file-system specific test is now optional and
    should no longer fail on systems that don't support it.
  * Built with Cython 0.29.37.
- drop libxml2212-tests.patch (upstream)

- remove python 2.x from testing
- allow building against any libxml2 version in sle15
  * Built with Cython 0.29.28.
  * LP#1835708: ElementInclude incorrectly rejected repeated
  * LP#1755825: iterwalk() failed to return the 'start' event for the initial
  - ElementTree.write() has a new option doctype that writes out
    a doctype string before the serialisation, in the same way as
  - GH#220: xmlfile allows switching output methods at an element
  - LP#1595781, GH#240: added a PyCapsule Python API and C-level
    API for passing externally generated libxml2 documents into
  - GH#244: error log entries have a new property path with an
    XPath expression (if known, None otherwise) that points to the
  - The namespace prefix mapping that can be used in ElementPath
  - GH#238: Character escapes were not hex-encoded in the xmlfile
  - GH#229: fix for externally created XML documents.
    strips the option values specified in form attributes but only
  - LP#1551797: revert previous fix for XSLT error logging as it
  - LP#1673355, GH#233: fromstring() html5parser failed to parse
  - The previously undocumented docstring option in
    ElementTree.write() produces a deprecation warning and will

OBS-URL: https://build.opensuse.org/request/show/1134342
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=106
2023-12-21 22:37:50 +00:00
0d1ac9e9a0 - update to 4.9.4:
* LP#2046398: Inserting/replacing an ancestor into a node's
    children could loop indefinitely.
  * LP#1980767, GH#379: ``TreeBuilder.close()`` could fail with a
    ``TypeError`` after parsing incorrect input.
  * LP#1522052: A file-system specific test is now optional and
    should no longer fail on systems that don't support it.
  * Built with Cython 0.29.37.
- drop libxml2212-tests.patch (upstream)
- remove python 2.x from testing
- allow building against any libxml2 version in sle15
  * Built with Cython 0.29.28.
  * LP#1835708: ElementInclude incorrectly rejected repeated
  * LP#1755825: iterwalk() failed to return the 'start' event for the initial
  - ElementTree.write() has a new option doctype that writes out
    a doctype string before the serialisation, in the same way as
  - GH#220: xmlfile allows switching output methods at an element
  - LP#1595781, GH#240: added a PyCapsule Python API and C-level
    API for passing externally generated libxml2 documents into
  - GH#244: error log entries have a new property path with an
    XPath expression (if known, None otherwise) that points to the
  - The namespace prefix mapping that can be used in ElementPath
  - GH#238: Character escapes were not hex-encoded in the xmlfile
  - GH#229: fix for externally created XML documents.
    strips the option values specified in form attributes but only
  - LP#1551797: revert previous fix for XSLT error logging as it
  - LP#1673355, GH#233: fromstring() html5parser failed to parse
  - The previously undocumented docstring option in
    ElementTree.write() produces a deprecation warning and will
- remove patch lxml-fix-attribute-quoting.patch because it is now

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=191
2023-12-20 22:05:16 +00:00
5f9cdd27ce Accepting request 1129127 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1129127
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=105
2023-11-27 21:42:02 +00:00
81aa3f39a0 Accepting request 1129126 from home:mcalabkova:branches:devel:languages:python:L
- Add libxml2212-tests.patch to fix tests with new libxml2

OBS-URL: https://build.opensuse.org/request/show/1129126
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=189
2023-11-27 12:47:06 +00:00
a2e9358a0b Accepting request 1109332 from devel:languages:python
- skip html5lib tests - cyclic dependency with html5lib tests
- remove python 2.x from testing

OBS-URL: https://build.opensuse.org/request/show/1109332
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=104
2023-09-07 19:12:06 +00:00
5921dbe85e - skip html5lib tests - cyclic dependency with html5lib tests
- remove python 2.x from testing

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=187
2023-09-06 20:05:27 +00:00
6efa14d327 Accepting request 1103711 from devel:languages:python
- 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/request/show/1103711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=103
2023-08-15 14:38:59 +00:00
86d5c3a954 - 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
2023-08-13 18:55:53 +00:00
7c54268e25 Accepting request 1098714 from devel:languages:python
- Add ISO-Schematron-schema-optional.patch and
  remove-ISO-Schematron-schema.patch to remove non-free RNG
  schema file (bsc#1213351).

OBS-URL: https://build.opensuse.org/request/show/1098714
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=102
2023-07-17 17:22:37 +00:00
6074d27829 - Add ISO-Schematron-schema-optional.patch and
remove-ISO-Schematron-schema.patch to remove non-free RNG
  schema file (bsc#1213351).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=183
2023-07-14 16:45:23 +00:00
2d2986a828 Accepting request 1084802 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1084802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=101
2023-05-09 11:05:49 +00:00
364711776d Accepting request 1084794 from home:david.anes:home:libxml2
- Add patch skip-test-under-libxml2-2.11.1.patch:
  * Skip a test if using libxml2 >= 2.11.1

OBS-URL: https://build.opensuse.org/request/show/1084794
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=181
2023-05-04 16:51:26 +00:00
5ee21c2535 Accepting request 1084406 from devel:languages:python
Forwarded request #1084383 from dirkmueller

- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=100
2023-05-04 15:09:04 +00:00
5efd90fd4d Accepting request 1084383 from home:dirkmueller:acdc:as_python3_module
- Switch documentation to be within the main package.

OBS-URL: https://build.opensuse.org/request/show/1084383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=179
2023-05-03 14:42:26 +00:00
6b0760be92 Accepting request 1082229 from devel:languages:python
Forwarded request #1082223 from mcepl

- New hotness is the sle15_python_module_pythons macro.

  - Make calling of %{sle15modernpython} optional.

OBS-URL: https://build.opensuse.org/request/show/1082229
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=99
2023-04-24 20:30:44 +00:00
ecf0110d20 Accepting request 1082223 from home:dirkmueller:acdc:as_python3_module
- New hotness is the sle15_python_module_pythons macro.

- Make calling of %{sle15modernpython} optional.

OBS-URL: https://build.opensuse.org/request/show/1082223
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=177
2023-04-23 01:37:17 +00:00
fe716035af Accepting request 1080215 from devel:languages:python
- Add patch skip-test-under-libxml2-2.10.4.patch:
  * Skip a test if using libxml2 >= 2.10.4

OBS-URL: https://build.opensuse.org/request/show/1080215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=98
2023-04-21 12:15:35 +00:00
7816ca5659 - Add patch skip-test-under-libxml2-2.10.4.patch:
* Skip a test if using libxml2 >= 2.10.4

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=175
2023-04-19 04:53:05 +00:00
b3fe8adc87 Accepting request 1067479 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1067479
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=97
2023-02-25 18:54:56 +00:00
72389f829a - allow building against any libxml2 version in sle15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=173
2023-02-16 20:17:34 +00:00
345cfe8a16 Accepting request 1061830 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1061830
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=96
2023-01-30 16:09:44 +00:00
931131b807 Update version of the patch.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=171
2023-01-22 04:02:39 +00:00
b5c8430900 - Add close_file_before_test.patch, to make sure the testing data
are flushed to the file (bsc#1206555).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=170
2023-01-20 16:02:18 +00:00
dcb0dc82b3 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
2023-01-03 14:04:30 +00:00
140f7c455f Add missing Source
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=168
2023-01-01 13:33:54 +00:00
74ca921cf2 Accepting request 1045710 from home:Simmphonie:branches: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/1045710
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=167
2022-12-29 22:41:01 +00:00
d2730039df Accepting request 1010558 from devel:languages:python
Add missing bug and CVE references

OBS-URL: https://build.opensuse.org/request/show/1010558
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=94
2022-10-17 12:57:55 +00:00
c0fd0bd8c9 Add missing bug and CVE references
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=165
2022-10-14 03:23:53 +00:00
c1e49b9b6b Accepting request 1004688 from devel:languages:python
- Update BR for libxml2-devel to the current version.
- Add missing BR for python-base.

OBS-URL: https://build.opensuse.org/request/show/1004688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=93
2022-09-20 17:23:19 +00:00
4e3fa68d67 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=163
2022-09-19 11:36:36 +00:00
7964d8373b Accepting request 1004277 from home:llyyr:branches:devel:languages:python
Calibre fails to start due to `RuntimeError: html5-parser and lxml are using different versions of libxml2. This happens commonly when using pip installed versions of lxml. Use pip install --no-binary lxml lxml instead. libxml2 versions: html5-parser: (2, 10, 2) != lxml: (2, 9, 14)`

https://build.opensuse.org/request/show/1000724 request allows building with legacy API possible, so python3-lxml always builds with libxml2 >= 2.9.5, instead of the latest

OBS-URL: https://build.opensuse.org/request/show/1004277
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=162
2022-09-19 11:17:37 +00:00
c5bd234f07 Accepting request 998154 from devel:languages:python
- update to version 4.9.1 (bsc#1201253, CVE-2022-2309):

OBS-URL: https://build.opensuse.org/request/show/998154
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=92
2022-08-19 15:52:31 +00:00