Compare commits

...

82 Commits

Author SHA256 Message Date
Ana Guerrero
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
Ana Guerrero
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Dominique Leuenberger
51c7d1deab Accepting request 898540 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/898540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=85
2021-06-12 18:05:21 +00:00
Dominique Leuenberger
acb3551722 Accepting request 896742 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/896742
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=84
2021-06-04 20:42:23 +00:00
Richard Brown
578f17f65c Accepting request 883115 from devel:languages:python
- update to 4.6.3:
  * A vulnerability (CVE-2021-28957) was discovered in the HTML Cleaner by Kevin Chung,
    which allowed JavaScript to pass through.  The cleaner now removes the HTML5
    ``formaction`` attribute.

OBS-URL: https://build.opensuse.org/request/show/883115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=83
2021-04-08 19:02:05 +00:00
Dominique Leuenberger
7e64aab05b Accepting request 866353 from devel:languages:python
- update to 4.6.2:
* A vulnerability (CVE-2020-27783) was discovered in the HTML Cleaner by Yaniv Nizry,
  which allowed JavaScript to pass through.  The cleaner now removes more sneaky
  "style" content.
* A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed
  JavaScript to pass through.  The cleaner now removes more sneaky "style" content.
* GH#310: ``lxml.html.InputGetter`` supports ``__len__()`` to count the number of input fields.
  Patch by Aidan Woolley.
* ``lxml.html.InputGetter`` has a new ``.items()`` method to ease processing all input fields.
* ``lxml.html.InputGetter.keys()`` now returns the field names in document order.
* GH-309: The API documentation is now generated using ``sphinx-apidoc``.
* LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes
  when a default namespace was defined.
* ``TreeBuilder.close()`` raised ``AssertionError`` in some error cases where it
  should have raised ``XMLSyntaxError``.  It now raises a combined exception to
  keep up backwards compatibility, while switching to ``XMLSyntaxError`` as an
  interface.

OBS-URL: https://build.opensuse.org/request/show/866353
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=82
2021-02-01 12:26:32 +00:00
Dominique Leuenberger
08b861e5f8 Accepting request 821439 from devel:languages:python
- update to 4.5.2:
  * ``Cleaner()`` now validates that only known configuration options can be set.
  * LP#1882606: ``Cleaner.clean_html()`` discarded comments and PIs regardless of the
    corresponding configuration option, if ``remove_unknown_tags`` was set.
  * LP#1880251: Instead of globally overwriting the document loader in libxml2, lxml now
    sets it per parser run, which improves the interoperability with other users of libxml2
    such as libxmlsec.
  * LP#1881960: Fix build in CPython 3.10 by using Cython 0.29.21.
  * The setup options "--with-xml2-config" and "--with-xslt-config" were accidentally renamed
    to "--xml2-config" and "--xslt-config" in 4.5.1 and are now available again.

OBS-URL: https://build.opensuse.org/request/show/821439
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=81
2020-07-21 13:40:24 +00:00
Dominique Leuenberger
23c111feb0 Accepting request 810905 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/810905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=80
2020-06-05 17:59:47 +00:00
Yuchen Lin
0588387531 Accepting request 803766 from devel:languages:python
- Remove explicit Provides of python-doc, which is just wrong.

Send to Staging:E.

OBS-URL: https://build.opensuse.org/request/show/803766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=79
2020-05-28 07:05:20 +00:00
Dominique Leuenberger
71bb60140c Accepting request 781843 from devel:languages:python
- update to 4.5.0
 * A new function indent() was added to insert tail whitespace
    for pretty-printing an XML tree.
 * LP#1857794 Tail text of nodes that get removed from a document
     using item deletion disappeared silently instead of sticking with the node
     that was removed.
 * LP#1840234: The package version number is now available as lxml.__version__

OBS-URL: https://build.opensuse.org/request/show/781843
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=78
2020-03-08 21:22:20 +00:00
Dominique Leuenberger
4292f9f5c7 Accepting request 766341 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/766341
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=77
2020-01-24 12:06:18 +00:00
Dominique Leuenberger
74b08fcf3d Accepting request 749144 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/749144
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=76
2019-12-07 14:21:57 +00:00
Dominique Leuenberger
e5b53aa5f3 Accepting request 730139 from devel:languages:python
- Update to 4.4.1:
  * LP#1838252: The order of an OrderedDict was lost in 4.4.0 when passing it as attrib mapping during element creation.
  * LP#1838521: The package metadata now lists the supported Python versions.

OBS-URL: https://build.opensuse.org/request/show/730139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=75
2019-09-23 10:07:52 +00:00
Dominique Leuenberger
4d3a38faca Accepting request 720221 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/720221
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=74
2019-08-07 11:57:34 +00:00
Dominique Leuenberger
4befe59e98 Accepting request 717675 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/717675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=73
2019-07-30 11:05:26 +00:00
Dominique Leuenberger
afb5ca0d21 Accepting request 713340 from devel:languages:python
- Remove generated files

OBS-URL: https://build.opensuse.org/request/show/713340
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=72
2019-07-08 13:00:02 +00:00
Dominique Leuenberger
3f9faab841 Accepting request 691801 from devel:languages:python
- Update to 4.3.3:
  * Fix leak of output buffer and unclosed files in ``_XSLTResultTree.write_output()``.

OBS-URL: https://build.opensuse.org/request/show/691801
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=71
2019-04-09 18:17:46 +00:00
Dominique Leuenberger
7bec53ab0f Accepting request 681724 from devel:languages:python
- Update to 4.3.2:
  * Crash in 4.3.1 when appending a child subtree with certain text nodes.

- Update to v4.3.1
  * Fixed crash when appending a child subtree that contains unsubstituted
    entity references
- from v4.3.0
  * Features
    + The module ``lxml.sax`` is compiled using Cython in order to speed it up.
    + lxml.sax.ElementTreeProducer now preserves the namespace prefixes.
      If two prefixes point to the same URI, the first prefix in alphabetical
      order is used.
    + Updated ISO-Schematron implementation to 2013 version (now MIT licensed)
      and the corresponding schema to the 2016 version (with optional "properties").
  * Other
    + Support for Python 2.6 and 3.3 was removed.
    + The minimum dependency versions were raised to libxml2 2.9.2 and libxslt 1.1.27,
      which were released in 2014 and 2012 respectively.
- from v4.2.6
  * Fix a DeprecationWarning in Py3.7+.
  * Import warnings in Python 3.6+ were resolved.
- Remove no longer needed
  0001-Make-test-more-resilient-against-changes-in-latest-l.patch

OBS-URL: https://build.opensuse.org/request/show/681724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=70
2019-03-08 10:00:22 +00:00
Dominique Leuenberger
f98d11f7b9 Accepting request 659485 from devel:languages:python
Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=69
2018-12-26 23:27:07 +00:00
Dominique Leuenberger
e2779d07be Accepting request 649799 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/649799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=68
2018-11-20 21:26:34 +00:00
Dominique Leuenberger
abe5628701 Accepting request 632907 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/632907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=67
2018-09-04 20:52:17 +00:00
Dominique Leuenberger
f3340e174c Accepting request 627951 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/627951
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=66
2018-08-10 07:47:18 +00:00
Dominique Leuenberger
29d11ecafb Accepting request 592129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/592129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=65
2018-04-02 20:47:13 +00:00
Dominique Leuenberger
eec3f0445a Accepting request 588625 from devel:languages:python
- Version update to 4.2.0:
  * GH#255: ``SelectElement.value`` returns more standard-compliant and
    browser-like defaults for non-multi-selects.  If no option is selected, the
    value of the first option is returned (instead of None).  If multiple options
    are selected, the value of the last one is returned (instead of that of the
    first one).  If no options are present (not standard-compliant)
    ``SelectElement.value`` still returns ``None``.
  * GH#261: The ``HTMLParser()`` now supports the ``huge_tree`` option.
    Patch by stranac.
  * LP#1551797: Some XSLT messages were not captured by the transform error log.
  * LP#1737825: Crash at shutdown after an interrupted iterparse run with XMLSchema
    validation.
- Add patch python-lxml-assert.patch to pass test fail on threading

OBS-URL: https://build.opensuse.org/request/show/588625
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=64
2018-03-22 10:56:16 +00:00
Dominique Leuenberger
41dfa2881b Accepting request 574258 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/574258
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=63
2018-02-10 16:52:24 +00:00
Dominique Leuenberger
1116f75122 Accepting request 537927 from devel:languages:python
- run tests only when the appropriate pythons are available

OBS-URL: https://build.opensuse.org/request/show/537927
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=62
2017-11-04 09:22:18 +00:00
Dominique Leuenberger
98224468aa Accepting request 527321 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/527321
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=61
2017-09-21 10:28:31 +00:00
Yuchen Lin
c73616b68e Accepting request 513115 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/513115
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=60
2017-08-02 09:27:23 +00:00
Dominique Leuenberger
824fb18ae1 Accepting request 487431 from devel:languages:python
- lxml-fix-attribute-quoting.patch - stabilize attribute entity encoding
  across platforms
- force-regenerate C code from Cython sources (forwarded request 487430 from matejcik)

OBS-URL: https://build.opensuse.org/request/show/487431
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=59
2017-04-19 16:10:11 +00:00
Dominique Leuenberger
41623880a3 Accepting request 408322 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/408322
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=58
2016-07-20 07:16:20 +00:00
Dominique Leuenberger
5f2328c8f8 Accepting request 357325 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/357325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=57
2016-03-14 08:56:39 +00:00
Dominique Leuenberger
9aa94fdb49 Accepting request 328666 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/328666
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=56
2015-09-13 07:42:22 +00:00
Dominique Leuenberger
46bc06fbfe Accepting request 320119 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/320119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=55
2015-08-06 22:22:38 +00:00
Stephan Kulow
ec7574f688 Accepting request 298551 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/298551
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=54
2015-04-25 14:45:58 +00:00
Stephan Kulow
ecf83e320c Accepting request 259808 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/259808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=53
2014-11-06 15:49:51 +00:00
Stephan Kulow
d04cf2f0a0 Accepting request 231275 from devel:languages:python
Updated to 3.3.5, see .changes for details (forwarded request 231226 from thomas-schraitle)

OBS-URL: https://build.opensuse.org/request/show/231275
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=51
2014-04-26 17:33:57 +00:00
Stephan Kulow
685fcf15ca Accepting request 224700 from devel:languages:python
- Update to version 3.3.3:
  * Bugs fixed
    - Crash when using Element subtypes with __slots__.
  * Other changes
    - The internal classes _LogEntry and _Attrib can no longer be subclassed
      from Python code. (forwarded request 224689 from Nijel)

OBS-URL: https://build.opensuse.org/request/show/224700
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=50
2014-03-11 08:23:56 +00:00
Stephan Kulow
4850425389 Accepting request 223578 from devel:languages:python
Update to version 3.3.1 (forwarded request 223577 from thomas-schraitle)

OBS-URL: https://build.opensuse.org/request/show/223578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=49
2014-02-24 13:11:59 +00:00
Stephan Kulow
227a9ee16e Accepting request 221238 from devel:languages:python
- Require python-cssselect, it was refactored into a standalone module

OBS-URL: https://build.opensuse.org/request/show/221238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=48
2014-02-12 16:32:20 +00:00
Stephan Kulow
a680446ed2 Accepting request 220484 from devel:languages:python
- Fix requires

OBS-URL: https://build.opensuse.org/request/show/220484
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=47
2014-02-01 08:40:21 +00:00
Stephan Kulow
756f655210 Accepting request 215350 from devel:languages:python
Fixed changes fromat according to sr#215185 (forwarded request 215228 from thomas-schraitle)

OBS-URL: https://build.opensuse.org/request/show/215350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=46
2014-01-28 14:38:40 +00:00
Tomáš Chvátal
0d39f2543d Accepting request 204404 from devel:languages:python
Remove old source file

OBS-URL: https://build.opensuse.org/request/show/204404
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=45
2013-10-23 17:26:08 +00:00
Tomáš Chvátal
db402c9c8c Accepting request 186935 from devel:languages:python
- update to 3.2.3:
* LP#1185701: spurious XMLSyntaxError after finishing iterparse().
* Crash in lxml.objectify during xsi annotation. (forwarded request 186918 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/186935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=43
2013-08-15 10:29:05 +00:00
Stephan Kulow
07a9ebdacf Accepting request 179886 from devel:languages:python
housekeeping sr, necessary due to split between d:l:p and d:l:p3 and (manual) _link removal in Factory.

OBS-URL: https://build.opensuse.org/request/show/179886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=42
2013-06-19 14:39:18 +00:00
Stephan Kulow
999bc2169f Accepting request 175240 from devel:languages:python
- update to 3.2.1:
* The methods ``apply_templates()`` and ``process_children()`` of XSLT
  extension elements have gained two new boolean options ``elements_only``
  and ``remove_blank_text`` that discard either all strings or whitespace-only
  strings from the result list.
* When moving Elements to another tree, the namespace cleanup mechanism
  no longer drops namespace prefixes from attributes for which it finds
  a default namespace declaration, to prevent them from appearing as
  unnamespaced attributes after serialisation.
* Returning non-type objects from a custom class lookup method could lead
  to a crash.
* Instantiating and using subtypes of Comments and ProcessingInstructions
  crashed. (forwarded request 175226 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/175240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=41
2013-05-16 09:26:55 +00:00
Stephan Kulow
c3698d7eea Accepting request 174252 from devel:languages:python
- update to 3.2.0:
  * Leading whitespace could change the behaviour of the string
  parsing functions in ``lxml.html``.
  * LP#599318: The string parsing functions in ``lxml.html`` are more robust
  in the face of uncommon HTML content like framesets or missing body tags.
  Patch by Stefan Seelmann.
  * LP#712941: I/O errors while trying to access files with paths that contain
  non-ASCII characters could raise ``UnicodeDecodeError`` instead of properly
  reporting the ``IOError``.
  * LP#673205: Parsing from in-memory strings disabled network access in the
  default parser and made subsequent attempts to parse from a URL fail.
  * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
  of overwriting the current value.
  * LP#715687: lxml.html.clean no longer discards scripts that are explicitly
  allowed by the user provided whitelist.  Patch by Christine Koppelt.

- update to 3.2.0:
  * Leading whitespace could change the behaviour of the string
  parsing functions in ``lxml.html``.
  * LP#599318: The string parsing functions in ``lxml.html`` are more robust
  in the face of uncommon HTML content like framesets or missing body tags.
  Patch by Stefan Seelmann.
  * LP#712941: I/O errors while trying to access files with paths that contain
  non-ASCII characters could raise ``UnicodeDecodeError`` instead of properly
  reporting the ``IOError``.
  * LP#673205: Parsing from in-memory strings disabled network access in the
  default parser and made subsequent attempts to parse from a URL fail.
  * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
  of overwriting the current value.
  * LP#715687: lxml.html.clean no longer discards scripts that are explicitly (forwarded request 173959 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/174252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=40
2013-05-02 13:30:48 +00:00
Stephan Kulow
fe251d42e5 Accepting request 162076 from devel:languages:python
update to 3.1.1 (forwarded request 161882 from apersaud)

OBS-URL: https://build.opensuse.org/request/show/162076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=39
2013-04-03 11:05:52 +00:00
Stephan Kulow
0e099f2184 Accepting request 157726 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/157726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=38
2013-03-08 09:56:55 +00:00
Ismail Dönmez
2f2dd6e257 Accepting request 146433 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/146433
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=36
2012-12-28 21:47:19 +00:00
Stephan Kulow
1bbc72125b Accepting request 142614 from devel:languages:python
- BuildRequire libxml2-devel instead of pkconfi() to allow building
  on SLE_11_SP2

- Removed openSUSE 11.4 spec file workarounds

OBS-URL: https://build.opensuse.org/request/show/142614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=35
2012-11-26 18:53:10 +00:00
Stephan Kulow
92ae2148f6 Accepting request 123601 from devel:languages:python
Sorry, don't know how I forgot the changes.  My feeling is that I don't need to update python3-lxml.changes because there were no changes specific to the python3 version, is this right? (forwarded request 123577 from poorboywilly)

OBS-URL: https://build.opensuse.org/request/show/123601
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=33
2012-06-06 14:09:31 +00:00
Stephan Kulow
047eeae818 Accepting request 122242 from devel:languages:python
python3 package added, minor spec improvement (forwarded request 122105 from HighwayStar)

OBS-URL: https://build.opensuse.org/request/show/122242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=32
2012-05-29 09:44:28 +00:00
Stephan Kulow
ab81023508 Accepting request 108688 from devel:languages:python
- Update to version 2.3.3:
  * lxml.html.tostring() gained new serialisation options with_tail and doctype.
  * Fixed a crash when using iterparse() for HTML parsing and requesting start events.
  * Fixed parsing of more selectors in cssselect. Whitespace before
    pseudo-elements and pseudo-classes is significant as it is a descendant
    combinator. "E :pseudo" should parse the same as "E *:pseudo", not "E:pseudo".
  * lxml.html.diff no longer raises an exception when hitting 'img' tags without 'src' attribute.
- Changes from version 2.3.2:
  * lxml.objectify.deannotate() has a new boolean option cleanup_namespaces to
    remove the objectify namespace declarations (and generally clean up the
    namespace declarations) after removing the type annotations.
  * lxml.objectify gained its own SubElement() function as a copy of 
    etree.SubElement to avoid an otherwise redundant import of lxml.etree on the user side.
  * Fixed the "descendant" bug in cssselect a second time
  * Fixed parsing of some selectors in cssselect.
- Changes from version 2.3.1:
  * New option kill_tags in lxml.html.clean to remove specific tags and their
    content (i.e. their whole subtree).
  * pi.get() and pi.attrib on processing instructions to parse
    pseudo-attributes from the text content of processing instructions.
  * lxml.get_include() returns a list of include paths that can be used to
    compile external C code against lxml.etree.
  * Resolver.resolve_file() takes an additional option close_file that
    configures if the file(-like) object will be closed after reading or not.
  * HTML cleaning didn't remove 'data:' links.
  * The html5lib parser integration now uses the 'official' implementation in
    html5lib itself, which makes it work with newer releases of the library.
  * In lxml.sax, endElementNS() could incorrectly reject a plain tag name when
    the corresponding start event inferred the same plain tag name to be in the default namespace.
  * When an open file-like object is passed into parse() or iterparse(), the

OBS-URL: https://build.opensuse.org/request/show/108688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=31
2012-03-12 07:54:13 +00:00
Lars Vogdt
ba96920620 Autobuild autoformatter for 80800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=28
2011-09-05 16:13:02 +00:00
Lars Vogdt
b599146b59 Accepting request 80800 from devel:languages:python
license update: BSD-3-Clause and GPL-2.0+
See LICENSES.TXT - test.py is GPL licensed (aggregation) (forwarded request 80719 from babelworx)

OBS-URL: https://build.opensuse.org/request/show/80800
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=27
2011-09-05 16:12:49 +00:00
Berthold Gunreben
55331ce048 Autobuild autoformatter for 63284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=26
2011-03-08 09:39:28 +00:00
Berthold Gunreben
36d42553bf Accepting request 63284 from devel:languages:python
Accepted submit request 63284 from user saschpe

OBS-URL: https://build.opensuse.org/request/show/63284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=25
2011-03-08 09:39:16 +00:00
Berthold Gunreben
5185184e55 Autobuild autoformatter for 57862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=23
2011-01-12 08:40:28 +00:00
Berthold Gunreben
2f3396ae3d Accepting request 57862 from devel:languages:python
Accepted submit request 57862 from user saschpe

OBS-URL: https://build.opensuse.org/request/show/57862
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lxml?expand=0&rev=22
2011-01-12 08:40:21 +00:00

Diff Content Not Available