Hello community, here is the log from the commit of package python-lxml for openSUSE:Leap:15.2 checked in at 2020-03-01 08:50:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-lxml (Old) and /work/SRC/openSUSE:Leap:15.2/.python-lxml.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lxml" Sun Mar 1 08:50:50 2020 rev:22 rq:778835 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-lxml/python-lxml.changes 2020-01-15 15:49:57.299477935 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-lxml.new.26092/python-lxml.changes 2020-03-01 08:50:51.725212165 +0100 @@ -1,0 +2,178 @@ +Wed Jan 22 13:55:03 UTC 2020 - Martin Sirringhaus <martin.sirringh...@suse.com> + +- Update to 4.4.2: + * LP#1835708: ElementInclude incorrectly rejected repeated + non-recursive includes as recursive. + * Remove patch lxml-libxml-2.9.10.patch which is now upstream + +------------------------------------------------------------------- +Sun Nov 17 14:25:04 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- Add lxml-libxml-2.9.10.patch: Fix build against libxml 2.9.10. + +------------------------------------------------------------------- +Wed Sep 11 12:48:12 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- 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. + +------------------------------------------------------------------- +Thu Aug 1 13:13:57 UTC 2019 - pgaj...@suse.com + +- version update to 4.4.0 + * ``Element.clear()`` accepts a new keyword argument ``keep_tail=True`` to + clear everything but the tail text. This is helpful in some document-style + use cases. + * When creating attributes or namespaces from a dict in Python 3.6+, lxml now + preserves the original insertion order of that dict, instead of always sorting + the items by name. A similar change was made for ElementTree in CPython 3.8. + See https://bugs.python.org/issue34160 + * Integer elements in ``lxml.objectify`` implement the ``__index__()`` special method. + * GH#269: Read-only elements in XSLT were missing the ``nsmap`` property. + Original patch by Jan Pazdziora. + * ElementInclude can now restrict the maximum inclusion depth via a ``max_depth`` + argument to prevent content explosion. It is limited to 6 by default. + * The ``target`` object of the XMLParser can have ``start_ns()`` and ``end_ns()`` + callback methods to listen to namespace declarations. + * The ``TreeBuilder`` has new arguments ``comment_factory`` and ``pi_factory`` to + pass factories for creating comments and processing instructions, as well as + flag arguments ``insert_comments`` and ``insert_pis`` to discard them from the + tree when set to false. + * A `C14N 2.0 <https://www.w3.org/TR/xml-c14n2/>`_ implementation was added as + ``etree.canonicalize()``, a corresponding ``C14NWriterTarget`` class, and + a ``c14n2`` serialisation method. + * bugfixes, see CHANGES.txt +- deleted sources + - lxmldoc-4.3.3.pdf (renamed) +- added sources + + lxmldoc-4.4.0.pdf + + world.txt + +------------------------------------------------------------------- +Mon Jul 22 16:49:22 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Update to 4.3.4 + * Rebuilt with Cython 0.29.10 to support Python 3.8. + Note: documentation is not updated + +------------------------------------------------------------------- +Tue Jul 2 15:03:15 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Remove generated files + +------------------------------------------------------------------- +Fri Apr 5 12:10:42 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 4.3.3: + * Fix leak of output buffer and unclosed files in ``_XSLTResultTree.write_output()``. + +------------------------------------------------------------------- +Tue Mar 5 11:27:57 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 4.3.2: + * Crash in 4.3.1 when appending a child subtree with certain text nodes. + +------------------------------------------------------------------- +Thu Feb 14 07:33:12 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- 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 + +------------------------------------------------------------------- +Tue Dec 4 12:50:12 UTC 2018 - Matej Cepl <mc...@suse.com> + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Fri Nov 16 18:54:26 UTC 2018 - Todd R <toddrme2...@gmail.com> + +- Update to 4.2.5 + * Javascript URLs that used URL escaping were not removed by the HTML cleaner. + Security problem found by Omar Eissa. + +------------------------------------------------------------------- +Mon Sep 3 14:34:43 UTC 2018 - comur...@suse.com + +- Fix threading tests patch for 42.3 + * Add 0001-Make-test-more-resilient-against-changes-in-latest-l.patch + * Remove python-lxml-assert.patch + +------------------------------------------------------------------- +Tue Aug 7 15:34:31 UTC 2018 - toddrme2...@gmail.com + +- Update to 4.2.4 (2018-08-03) + + Features added + * GH#259: Allow using ``pkg-config`` for build configuration. + Patch by Patrick Griffis. + + Bugs fixed + * LP#1773749, GH#268: Crash when moving an element to another document with + ``Element.insert()``. + Patch by Alexander Weggerle. +- Update to 4.2.3 + + Bugs fixed + * Reverted GH#265: lxml links against zlib as a shared library again. +- Update to 4.2.2 + + Bugs fixed + * GH#266: Fix sporadic crash during GC when parse-time schema validation is used + and the parser participates in a reference cycle. + Original patch by Julien Greard. + * GH#265: lxml no longer links against zlib as a shared library, only on static builds. + Patch by Nehal J Wani. + +------------------------------------------------------------------- +Wed Mar 28 17:05:30 UTC 2018 - h...@urpla.net + +- Version update to 4.2.1: + * LP#1755825: iterwalk() failed to return the 'start' event for the initial + element if a tag selector is used. + * LP#1756314: Failure to import 4.2.0 into PyPy due to a missing library symbol. + * LP#1727864, GH#258: Add "-isysroot" linker option on MacOS as needed by XCode 9. + +------------------------------------------------------------------- +Mon Mar 19 13:01:20 UTC 2018 - tchva...@suse.com + +- 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 + +------------------------------------------------------------------- +Thu Feb 8 12:34:33 UTC 2018 - mimi...@gmail.com + +- update to 4.1.1 + - ElementPath supports text predicates for current node, like "[.='text']". + - ElementPath allows spaces in predicates. + - Custom Element classes and XPath functions can now be registered with + a decorator rather than explicit dict assignments. + - LP#1722776: Requesting non-Element objects like comments from + a document with PythonElementClassLookup could fail with a TypeError. + +------------------------------------------------------------------- Old: ---- lxml-4.0.0.tar.gz lxmldoc-4.0.0.pdf New: ---- lxml-4.4.2.tar.gz lxmldoc-4.4.2.pdf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-lxml.spec ++++++ --- /var/tmp/diff_new_pack.Woa6eR/_old 2020-03-01 08:50:52.381213470 +0100 +++ /var/tmp/diff_new_pack.Woa6eR/_new 2020-03-01 08:50:52.385213478 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-lxml # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,32 +12,28 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-lxml -Version: 4.0.0 +Version: 4.4.2 Release: 0 Summary: Pythonic XML processing library -License: BSD-3-Clause and GPL-2.0+ +License: BSD-3-Clause AND GPL-2.0-or-later Group: Development/Languages/Python -Url: https://lxml.de/ -Source: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz -Source1: http://lxml.de/lxmldoc-%{version}.pdf -BuildRequires: %{python_module Cython >= 0.22.1} -BuildRequires: %{python_module devel} +URL: https://lxml.de/ +Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz +Source1: https://lxml.de/lxmldoc-%{version}.pdf +BuildRequires: %{python_module Cython >= 0.29.7} +BuildRequires: %{python_module cssselect >= 0.9.1} BuildRequires: %{python_module setuptools >= 18.0.1} BuildRequires: fdupes BuildRequires: libxml2-devel >= 2.7.0 BuildRequires: libxslt-devel >= 1.1.23 BuildRequires: python-rpm-macros -# Needed for test cases: -BuildRequires: %{python_module cssselect >= 0.9.1} Requires: python-cssselect >= 0.9.1 -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -46,12 +42,13 @@ API. It extends the ElementTree API significantly to offer support for XPath, RelaxNG, XML Schema, XSLT and C14N. -%package doc +%package -n %{name}-doc Summary: Documentation for python-lxml, an XML processing library -Group: Documentation/HTML +Group: Documentation/Other +Provides: %{python_module doc = %{version}} BuildArch: noarch -%description doc +%description -n %{name}-doc lxml is a Pythonic binding for the libxml2 and libxslt libraries. It provides convenient access to these libraries using the ElementTree API. It extends the ElementTree API significantly to offer support for XPath, @@ -77,26 +74,24 @@ cp %{SOURCE1} . # remove generated files -# rm src/lxml/lxml.etree.c +find -name '*.c' -delete -print rm src/lxml/lxml.etree.h rm src/lxml/lxml.etree_api.h -# rm src/lxml/lxml.objectify.c %build export CFLAGS="%{optflags}" %python_build --with-cython %check -# The tests fail on SLE 11 due to broken incremental parsing -# in libxml2 +# The tests fail on SLE 11 due to broken incremental parsing in libxml2 export CFLAGS="%{optflags}" export LANG=en_US.UTF-8 export PYTHONUNBUFFERED=x %if 0%{?have_python2} -make test +make %{?_smp_mflags} test %endif %if 0%{?have_python3} -make test3 +make %{?_smp_mflags} test3 %endif %install @@ -104,20 +99,21 @@ %fdupes %{buildroot} %files %{python_files} -%defattr(-,root,root) -%doc CHANGES.txt CREDITS.txt LICENSES.txt README.rst +%license LICENSES.txt +%doc CHANGES.txt CREDITS.txt README.rst %{python_sitearch}/lxml/ %{python_sitearch}/lxml-%{version}-py%{python_version}.egg-info %exclude %{python_sitearch}/lxml/*.h %exclude %{python_sitearch}/lxml/includes/*.h %files %{python_files devel} -%defattr(-,root,root) +%license LICENSES.txt %{python_sitearch}/lxml/*.h %{python_sitearch}/lxml/includes/*.h -%files %{python_files doc} -%defattr(-,root,root) -%doc doc/html lxmldoc-%{version}.pdf +%files -n %{name}-doc +%license LICENSES.txt +%doc doc/html +%doc lxmldoc-*.pdf %changelog ++++++ lxml-4.0.0.tar.gz -> lxml-4.4.2.tar.gz ++++++ ++++ 629992 lines of diff (skipped) ++++++ lxmldoc-4.0.0.pdf -> lxmldoc-4.4.2.pdf ++++++ (binary differes)