Commit Graph

195 Commits

Author SHA256 Message Date
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
Ana Guerrero
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
Dominique Leuenberger
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
Ana Guerrero
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Steve Kowalik
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Dominique Leuenberger
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
Steve Kowalik
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
Dominique Leuenberger
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
Dominique Leuenberger
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
e1ee2a9f14 - update to version 4.9.1 (bsc#1201253, CVE-2022-2309):
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=160
2022-08-19 10:27:07 +00:00
Dominique Leuenberger
b1d8a6b5cb Accepting request 988276 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/988276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=91
2022-07-12 09:11:58 +00:00
50beb4c568 Accepting request 988040 from home:apersaud:branches:devel:languages:python
- update to version 4.9.1:
  * Bugs fixed
    + A crash was resolved when using iterwalk() (or canonicalize())
      after parsing certain incorrect input. Note that iterwalk() can
      crash on valid input parsed with the same parser after failing
      to parse the incorrect input.

Note: The doc pdf seems to be outdated, but I couldn't find any newer ones on their webpage. Perhaps the doc package should be deleted?

OBS-URL: https://build.opensuse.org/request/show/988040
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=158
2022-07-11 06:03:30 +00:00
Dominique Leuenberger
8c60f6c0ee Accepting request 981214 from devel:languages:python
- update to 4.9.0:
  * The mixin inheritance order in ``lxml.html`` was corrected.
  * Built with Cython 0.29.30 to adapt to changes in Python 3.11 and 3.12.

OBS-URL: https://build.opensuse.org/request/show/981214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=90
2022-06-09 12:09:17 +00:00
2e6655d043 - update to 4.9.0:
* The mixin inheritance order in ``lxml.html`` was corrected.
  * Built with Cython 0.29.30 to adapt to changes in Python 3.11 and 3.12.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=156
2022-06-07 21:18:16 +00:00
Dominique Leuenberger
2c84baadc7 Accepting request 955744 from devel:languages:python
- update to 4.8.0:
  * GH#337: Path-like objects are now supported throughout the API instead of
    just strings.
  * The ``ElementMaker`` now supports ``QName`` values as tags, which always
    override the default namespace of the factory.
  * GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in
    lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
  * Built with Cython 0.29.28.

OBS-URL: https://build.opensuse.org/request/show/955744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=89
2022-02-21 16:45:46 +00:00
77aa18a220 - update to 4.8.0:
* GH#337: Path-like objects are now supported throughout the API instead of
    just strings.
  * The ``ElementMaker`` now supports ``QName`` values as tags, which always
    override the default namespace of the factory.
  * GH#338: In lxml.objectify, the XSI float annotation "nan" and "inf" were spelled in
    lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
  * Built with Cython 0.29.28.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=155
2022-02-18 00:40:47 +00:00
Dominique Leuenberger
299356c574 Accepting request 945448 from devel:languages:python
- update to 4.7.1:
  * Chunked Unicode string parsing via ``parser.feed()`` now encodes the input data
    to the native UTF-8 encoding directly, instead of going through ``Py_UNICODE`` /
    ``wchar_t`` encoding first, which previously required duplicate recoding in most cases.
  * The standard namespace prefixes were mishandled during "C14N2" serialisation on Python 3.
  * ``lxml.objectify`` previously accepted non-XML numbers with underscores (like "1_000")
    as integers or float values in Python 3.6 and later. It now adheres to the number
    format of the XML spec again.
  * LP#1939031: Static wheels of lxml now contain the header files of zlib and libiconv
    (in addition to the already provided headers of libxml2/libxslt/libexslt).
  * Wheels include libxml2 2.9.12+ and libxslt 1.1.34 (also on Windows).

OBS-URL: https://build.opensuse.org/request/show/945448
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=88
2022-01-11 20:17:18 +00:00
b62809bfac - update to 4.7.1:
* Chunked Unicode string parsing via ``parser.feed()`` now encodes the input data
    to the native UTF-8 encoding directly, instead of going through ``Py_UNICODE`` /
    ``wchar_t`` encoding first, which previously required duplicate recoding in most cases.
  * The standard namespace prefixes were mishandled during "C14N2" serialisation on Python 3.
  * ``lxml.objectify`` previously accepted non-XML numbers with underscores (like "1_000")
    as integers or float values in Python 3.6 and later. It now adheres to the number
    format of the XML spec again.
  * LP#1939031: Static wheels of lxml now contain the header files of zlib and libiconv
    (in addition to the already provided headers of libxml2/libxslt/libexslt).
  * Wheels include libxml2 2.9.12+ and libxslt 1.1.34 (also on Windows).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=154
2022-01-10 23:12:53 +00:00
Dominique Leuenberger
dff286884d Accepting request 943802 from devel:languages:python
- update to 4.6.5 (bsc#1193752, CVE-2021-43818):
  * A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script
    content through SVG images.
  * A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script
    content through CSS imports and other crafted constructs.

OBS-URL: https://build.opensuse.org/request/show/943802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=87
2022-01-07 11:44:35 +00:00
0a81b21484 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=153 2022-01-04 16:17:51 +00:00
6e45e62782 - update to 4.6.5 (bsc#1193752, CVE-2021-43818):
* A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script
    content through SVG images.
  * A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script
    content through CSS imports and other crafted constructs.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lxml?expand=0&rev=152
2022-01-04 16:09:19 +00:00
Dominique Leuenberger
e3e4edec2f Accepting request 935074 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/935074
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=86
2021-12-09 18:45:06 +00:00