3ae698
%global modname lxml
3ae698
3ae698
Name:           python-%{modname}
3ae698
Version:        4.6.5
3ae698
Release:        2%{?dist}
3ae698
Summary:        XML processing library combining libxml2/libxslt with the ElementTree API
3ae698
3ae698
# The lxml project is licensed under BSD
3ae698
# Some code is derived from ElementTree and cElementTree
3ae698
# thus using the MIT-like elementtree license
3ae698
# .xsl schematron files are under the MIT and zlib license
3ae698
License:        BSD and MIT and zlib
3ae698
URL:            https://github.com/lxml/lxml
3ae698
Source0:        %{pypi_source %{modname}}
3ae698
3ae698
BuildRequires:  gcc
3ae698
BuildRequires:  libxml2-devel
3ae698
BuildRequires:  libxslt-devel
3ae698
3ae698
%global _description \
3ae698
lxml is a Pythonic, mature binding for the libxml2 and libxslt libraries. It\
3ae698
provides safe and convenient access to these libraries using the ElementTree It\
3ae698
extends the ElementTree API significantly to offer support for XPath, RelaxNG,\
3ae698
XML Schema, XSLT, C14N and much more.To contact the project, go to the project\
3ae698
home page < or see our bug tracker at case you want to use the current ...
3ae698
3ae698
%description %{_description}
3ae698
3ae698
%package -n     python3-%{modname}
3ae698
Summary:        %{summary}
3ae698
BuildRequires:  python3-devel
3ae698
BuildRequires:  python3-setuptools
3ae698
BuildRequires:  python3-Cython
3ae698
Suggests:       python%{python3_version}dist(cssselect) >= 0.7
3ae698
Suggests:       python%{python3_version}dist(html5lib)
3ae698
Suggests:       python%{python3_version}dist(beautifulsoup4)
3ae698
%{?python_provide:%python_provide python3-%{modname}}
3ae698
3ae698
%description -n python3-%{modname} %{_description}
3ae698
3ae698
Python 3 version.
3ae698
3ae698
%prep
3ae698
%autosetup -n %{modname}-%{version} -p1
3ae698
# Remove pregenerated Cython C sources
3ae698
find -type f -name '*.c' -print -delete
3ae698
3ae698
%build
3ae698
env WITH_CYTHON=true %py3_build
3ae698
3ae698
%install
3ae698
%py3_install
3ae698
3ae698
%check
3ae698
# The tests assume inplace build, so we copy the built library to source-dir.
3ae698
# If not done that, Python can either import the tests or the extension modules, but not both.
3ae698
cp -a build/lib.%{python3_platform}-%{python3_version}/* src/
3ae698
# The options are: verbose, unit, functional
3ae698
%{python3} test.py -vuf
3ae698
3ae698
%files -n python3-%{modname}
3ae698
%license LICENSES.txt doc/licenses/BSD.txt doc/licenses/elementtree.txt
3ae698
%doc README.rst src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt
3ae698
%{python3_sitearch}/%{modname}/
3ae698
%{python3_sitearch}/%{modname}-*.egg-info/
3ae698
3ae698
%changelog
3ae698
* Tue Feb 08 2022 Tomas Orsava <torsava@redhat.com> - 4.6.5-2
3ae698
- Add automatically generated Obsoletes tag with the python39- prefix
3ae698
  for smoother upgrade from RHEL8
3ae698
- Related: rhbz#1990421
3ae698
3ae698
* Thu Jan 06 2022 Charalampos Stratakis <cstratak@redhat.com> - 4.6.5-1
3ae698
- Update to 4.6.5
3ae698
- Fixes CVE-2021-43818
3ae698
- Resolves: rhbz#2032569
3ae698
3ae698
* Fri Nov 26 2021 Miro Hrončok <mhroncok@redhat.com> - 4.6.3-5
3ae698
- Run the tests during build
3ae698
- Resolves: rhbz#2026941
3ae698
3ae698
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 4.6.3-3
3ae698
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
3ae698
  Related: rhbz#1991688
3ae698
3ae698
* Thu Jun 03 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.6.3-2
3ae698
- Update the license information
3ae698
3ae698
* Thu May 20 2021 Charalampos Stratakis <cstratak@redhat.com> - 4.6.3-1
3ae698
- Update to 4.6.3
3ae698
- Fixes CVE-2021-28957
3ae698
Resolves: rhbz#1941534
3ae698
3ae698
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 4.6.2-3
3ae698
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
3ae698
3ae698
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 4.6.2-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
3ae698
3ae698
* Tue Dec 01 2020 Miro Hrončok <mhroncok@redhat.com> - 4.6.2-1
3ae698
- Update to 4.6.2
3ae698
- Fixes CVE-2020-27783 and another vulnerability in the HTML Cleaner
3ae698
- Fixes: rhbz#1855415
3ae698
- Fixes: rhbz#1901634
3ae698
3ae698
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.5.1-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3ae698
3ae698
* Mon Jun 01 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 4.5.1-1
3ae698
- Update to 4.5.1
3ae698
3ae698
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 4.4.1-5
3ae698
- Rebuilt for Python 3.9
3ae698
3ae698
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.4.1-4
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
3ae698
3ae698
* Wed Nov 20 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.1-3
3ae698
- Subpackage python2-lxml has been removed
3ae698
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
3ae698
3ae698
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-2
3ae698
- Generate C files using py3 Cython
3ae698
3ae698
* Sat Sep 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.1-1
3ae698
- Update to 4.4.1
3ae698
3ae698
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 4.4.0-2
3ae698
- Rebuilt for Python 3.8
3ae698
3ae698
* Sat Aug 03 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.4.0-1
3ae698
- Update to 4.4.0
3ae698
3ae698
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.5-3
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3ae698
3ae698
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.5-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
3ae698
3ae698
* Tue Dec 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.5-1
3ae698
- Update to 4.2.5
3ae698
3ae698
* Sun Sep 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.4-1
3ae698
- Update to 4.2.4
3ae698
3ae698
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.2.3-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
3ae698
3ae698
* Sat Jul 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.3-1
3ae698
- Update to 4.2.3
3ae698
3ae698
* Sun Jun 17 2018 Miro Hrončok <mhroncok@redhat.com> - 4.2.1-2
3ae698
- Rebuilt for Python 3.7
3ae698
3ae698
* Wed Apr 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.2.1-1
3ae698
- Update to 4.2.1
3ae698
3ae698
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.1.1-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
3ae698
3ae698
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.1.1-1
3ae698
- Update to 4.1.1
3ae698
3ae698
* Tue Oct 10 2017 Mikolaj Izdebski <mizdebsk@redhat.com> - 4.0.0-2
3ae698
- Conditionally allow building without Cython
3ae698
3ae698
* Thu Oct 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 4.0.0-1
3ae698
- Update to 4.0.0
3ae698
3ae698
* Sat Aug 12 2017 Kevin Fenzi <kevin@scrye.com> - 3.8.0-1
3ae698
- Update to 3.8.0. Fixes bug #1458529
3ae698
3ae698
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-4
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
3ae698
3ae698
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-3
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3ae698
3ae698
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.2-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
3ae698
3ae698
* Mon Jan 09 2017 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.2-1
3ae698
- Update to 3.7.2
3ae698
3ae698
* Sun Dec 25 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.1-1
3ae698
- Update to 3.7.1
3ae698
3ae698
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 3.7.0-2
3ae698
- Rebuild for Python 3.6
3ae698
3ae698
* Sun Dec 11 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.7.0-1
3ae698
- Update to 3.7.0
3ae698
3ae698
* Thu Sep 08 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 3.6.4-1
3ae698
- Update to 3.6.4
3ae698
3ae698
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.4.4-5
3ae698
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
3ae698
3ae698
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-4
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
3ae698
3ae698
* Thu Jan 21 2016 Dan Horák <dan[at]danny.cz> - 3.4.4-3
3ae698
- fix conditional
3ae698
3ae698
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 3.4.4-2
3ae698
- Rebuilt for Python3.5 rebuild
3ae698
3ae698
* Fri Aug 28 2015 Peter Robinson <pbrobinson@fedoraproject.org> 3.4.4-1
3ae698
- Update to 3.4.4
3ae698
- Use %%license, cleanup spec
3ae698
3ae698
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.6-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3ae698
3ae698
* Fri Aug 29 2014 Jeffrey C. Ollie <jeff@ocjtech.us> - 3.3.6-1
3ae698
- 3.3.6 (2014-08-28)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Prevent tree cycle creation when adding Elements as siblings.
3ae698
-
3ae698
- * LP#1361948: crash when deallocating Element siblings without parent.
3ae698
-
3ae698
- * LP#1354652: crash when traversing internally loaded documents in XSLT
3ae698
-   extension functions.
3ae698
3ae698
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3ae698
3ae698
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.3.5-3
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
3ae698
3ae698
* Wed May 14 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 3.3.5-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
3ae698
3ae698
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.5-1
3ae698
- 3.3.5 (2014-04-18)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * HTML cleaning could fail to strip javascript links that mix control
3ae698
-   characters into the link scheme.
3ae698
3ae698
* Mon Apr 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.4-1
3ae698
- 3.3.4 (2014-04-03)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * Source line numbers above 65535 are available on Elements when
3ae698
-   using libxml2 2.9 or later.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * lxml.html.fragment_fromstring() failed for bytes input in Py3.
3ae698
3ae698
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-4
3ae698
- Fix macro definition
3ae698
3ae698
* Wed Mar 26 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
3ae698
- Add python3-cssselect to correct package
3ae698
3ae698
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-3
3ae698
- python3-cssselect is not available on F19
3ae698
3ae698
* Mon Mar 24 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-2
3ae698
- BZ#1075070  add requires and buildrequires for cssselect
3ae698
3ae698
* Tue Mar 11 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.3-1
3ae698
- 3.3.3 (2014-03-04)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1287118: Crash when using Element subtypes with ``__slots__``.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The internal classes ``_LogEntry`` and ``_Attrib`` can no longer be
3ae698
-   subclassed from Python code.
3ae698
3ae698
* Tue Mar 11 2014 Alexander Todorov <atodorov@redhat.com> - 3.3.2-2
3ae698
- Add check section #1075070
3ae698
3ae698
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
3ae698
- 3.3.2 (2014-02-26)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * The properties ``resolvers`` and ``version``, as well as the methods
3ae698
-   ``set_element_class_lookup()`` and ``makeelement()``, were lost from
3ae698
-   ``iterparse`` objects.
3ae698
-
3ae698
- * LP#1222132: instances of ``XMLSchema``, ``Schematron`` and ``RelaxNG``
3ae698
-   did not clear their local ``error_log`` before running a validation.
3ae698
-
3ae698
- * LP#1238500: lxml.doctestcompare mixed up "expected" and "actual" in
3ae698
-   attribute values.
3ae698
-
3ae698
- * Some file I/O tests were failing in MS-Windows due to incorrect temp
3ae698
-   file usage.  Initial patch by Gabi Davar.
3ae698
-
3ae698
- * LP#910014: duplicate IDs in a document were not reported by DTD
3ae698
-   validation.
3ae698
-
3ae698
- * LP#1185332: ``tostring(method="html")`` did not use HTML serialisation
3ae698
-   semantics for trailing tail text.  Initial patch by Sylvain Viollon.
3ae698
-
3ae698
- * LP#1281139: ``.attrib`` value of Comments lost its mutation methods
3ae698
-   in 3.3.0.  Even though it is empty and immutable, it should still
3ae698
-   provide the same interface as that returned for Elements.
3ae698
3ae698
* Fri Feb 28 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.2-1
3ae698
- 3.3.1 (2014-02-12)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1014290: HTML documents parsed with ``parser.feed()`` failed to find
3ae698
-   elements during tag iteration.
3ae698
-
3ae698
- * LP#1273709: Building in PyPy failed due to missing support for
3ae698
-   ``PyUnicode_Compare()`` and ``PyByteArray_*()`` in PyPy's C-API.
3ae698
-
3ae698
- * LP#1274413: Compilation in MSVC failed due to missing "stdint.h" standard
3ae698
-   header file.
3ae698
-
3ae698
- * LP#1274118: iterparse() failed to parse BOM prefixed files.
3ae698
3ae698
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-2
3ae698
- Update Cython requirement to >= 0.20
3ae698
3ae698
* Mon Jan 27 2014 Jeffrey Ollie <jeff@ocjtech.us> - 3.3.0-1
3ae698
- 3.3.0 (2014-01-26)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * The heuristic that distinguishes file paths from URLs was tightened
3ae698
-   to produce less false negatives.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
-
3ae698
- 3.3.0beta5 (2014-01-18)
3ae698
- =======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * The PEP 393 unicode parsing support gained a fallback for wchar strings
3ae698
-   which might still be somewhat common on Windows systems.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Several error handling problems were fixed throughout the code base that
3ae698
-   could previously lead to exceptions being silently swallowed or not
3ae698
-   properly reported.
3ae698
-
3ae698
- * The C-API function ``appendChild()`` is now deprecated as it does not
3ae698
-   propagate exceptions (its return type is ``void``).  The new function
3ae698
-   ``appendChildToElement()`` was added as a safe replacement.
3ae698
-
3ae698
- * Passing a string into ``fromstringlist()`` raises an exception instead of
3ae698
-   parsing the string character by character.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * Document cleanup code was simplified using the new GC features in
3ae698
-   Cython 0.20.
3ae698
-
3ae698
-
3ae698
- 3.3.0beta4 (2014-01-12)
3ae698
- =======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * The (empty) value returned by the ``attrib`` property of Entity and
3ae698
-   Comment objects was mutable.
3ae698
-
3ae698
- * Element class lookup wasn't available for the new pull parsers or when
3ae698
-   using a custom parser target.
3ae698
-
3ae698
- * Setting Element attributes on instantiation with both the ``attrib``
3ae698
-   argument and keyword arguments could modify the mapping passed as
3ae698
-   ``attrib``.
3ae698
-
3ae698
- * LP#1266171: DTDs instantiated from internal/external subsets (i.e.
3ae698
-   through the docinfo property) lost their attribute declarations.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * Built with Cython 0.20pre (gitrev 012ae82eb) to prepare support for
3ae698
-   Python 3.4.
3ae698
-
3ae698
-
3ae698
- 3.3.0beta3 (2014-01-02)
3ae698
- =======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * Unicode string parsing was optimised for Python 3.3 (PEP 393).
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * HTML parsing of Unicode strings could misdecode the input on some
3ae698
-   platforms.
3ae698
-
3ae698
- * Crash in xmlfile() when closing open elements out of order in an error
3ae698
-   case.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
-
3ae698
- 3.3.0beta2 (2013-12-20)
3ae698
- =======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * ``iterparse()`` supports the ``recover`` option.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Crash in ``iterparse()`` for HTML parsing.
3ae698
-
3ae698
- * Crash in target parsing with attributes.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The safety check in the read-only tree implementation (e.g. used by
3ae698
-   ``PythonElementClassLookup``) raises a more appropriate
3ae698
-   ``ReferenceError`` for illegal access after tree disposal instead of
3ae698
-   an ``AssertionError``. This should only impact test code that
3ae698
-   specifically checks the original behaviour.
3ae698
-
3ae698
-
3ae698
- 3.3.0beta1 (2013-12-12)
3ae698
- =======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * New option ``handle_failures`` in ``make_links_absolute()`` and
3ae698
-   ``resolve_base_href()`` (lxml.html) that enables ignoring or
3ae698
-   discarding links that fail to parse as URLs.
3ae698
-
3ae698
- * New parser classes ``XMLPullParser`` and ``HTMLPullParser`` for
3ae698
-   incremental parsing, as implemented for ElementTree in Python 3.4.
3ae698
-
3ae698
- * ``iterparse()`` enables recovery mode by default for HTML parsing
3ae698
-   (``html=True``).
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1255132: crash when trying to run validation over non-Element (e.g.
3ae698
-   comment or PI).
3ae698
-
3ae698
- * Error messages in the log and in exception messages that originated
3ae698
-   from libxml2 could accidentally be picked up from preceding warnings
3ae698
-   instead of the actual error.
3ae698
-
3ae698
- * The ``ElementMaker`` in lxml.objectify did not accept a dict as
3ae698
-   argument for adding attributes to the element it's building. This
3ae698
-   works as in lxml.builder now.
3ae698
-
3ae698
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
3ae698
-
3ae698
- * Raise ``ValueError`` when trying to append an Element to itself or
3ae698
-   to one of its own descendants, instead of running into an infinite
3ae698
-   loop.
3ae698
-
3ae698
- * LP#1206077: htmldiff discarded whitespace from the output.
3ae698
-
3ae698
- * Compressed plain-text serialisation to file-like objects was broken.
3ae698
-
3ae698
- * lxml.html.formfill: Fix textarea form filling.
3ae698
-   The textarea used to be cleared before the new content was set,
3ae698
-   which removed the name attribute.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * Some basic API classes use freelists internally for faster
3ae698
-   instantiation.  This can speed up some ``iterparse()`` scenarios,
3ae698
-   for example.
3ae698
-
3ae698
- * ``iterparse()`` was rewritten to use the new ``*PullParser``
3ae698
-   classes internally instead of being a parser itself.
3ae698
3ae698
* Mon Nov 11 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.4-1
3ae698
- 3.2.4 (2013-11-07)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Memory leak when creating an XPath evaluator in a thread.
3ae698
-
3ae698
- * LP#1228881: ``repr(XSLTAccessControl)`` failed in Python 3.
3ae698
-
3ae698
- * Raise ``ValueError`` when trying to append an Element to itself or
3ae698
-   to one of its own descendants.
3ae698
-
3ae698
- * LP#1206077: htmldiff discarded whitespace from the output.
3ae698
-
3ae698
- * Compressed plain-text serialisation to file-like objects was broken.
3ae698
3ae698
* Wed Sep 18 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-2
3ae698
- Add requirement for on python-cssselect for the python2 version
3ae698
3ae698
* Sun Jul 28 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.3-1
3ae698
- and here's a version 3.2.3. The last release accidentally lost the ability
3ae698
- to work on Python 2.4. There are no other changes over 3.2.2.
3ae698
-
3ae698
- 3.2.2 (2013-07-28)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1185701: spurious XMLSyntaxError after finishing iterparse().
3ae698
-
3ae698
- * Crash in lxml.objectify during xsi annotation.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * Return values of user provided element class lookup methods are now
3ae698
-   validated against the type of the XML node they represent to prevent
3ae698
-   API class mismatches.
3ae698
3ae698
* Sun May 12 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.1-1
3ae698
- 3.2.1 (2013-05-11)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * The methods ``apply_templates()`` and ``process_children()`` of XSLT
3ae698
-   extension elements have gained two new boolean options ``elements_only``
3ae698
-   and ``remove_blank_text`` that discard either all strings or
3ae698
-   whitespace-only strings from the result list.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * When moving Elements to another tree, the namespace cleanup mechanism
3ae698
-   no longer drops namespace prefixes from attributes for which it finds
3ae698
-   a default namespace declaration, to prevent them from appearing as
3ae698
-   unnamespaced attributes after serialisation.
3ae698
-
3ae698
- * Returning non-type objects from a custom class lookup method could lead
3ae698
-   to a crash.
3ae698
-
3ae698
- * Instantiating and using subtypes of Comments and ProcessingInstructions
3ae698
-   crashed.
3ae698
3ae698
* Fri May 10 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.2.0-1
3ae698
- 3.2.0 (2013-04-28)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#690319: Leading whitespace could change the behaviour of the string
3ae698
-   parsing functions in ``lxml.html``.
3ae698
-
3ae698
- * LP#599318: The string parsing functions in ``lxml.html`` are more robust
3ae698
-   in the face of uncommon HTML content like framesets or missing body tags.
3ae698
-   Patch by Stefan Seelmann.
3ae698
-
3ae698
- * LP#712941: I/O errors while trying to access files with paths that
3ae698
-   contain non-ASCII characters could raise ``UnicodeDecodeError`` instead
3ae698
-   of properly reporting the ``IOError``.
3ae698
-
3ae698
- * LP#673205: Parsing from in-memory strings disabled network access in the
3ae698
-   default parser and made subsequent attempts to parse from a URL fail.
3ae698
-
3ae698
- * LP#971754: lxml.html.clean appends 'nofollow' to 'rel' attributes instead
3ae698
-   of overwriting the current value.
3ae698
-
3ae698
- * LP#715687: lxml.html.clean no longer discards scripts that are explicitly
3ae698
-   allowed by the user provided whitelist.  Patch by Christine Koppelt.
3ae698
-
3ae698
- 3.1.2 (2013-04-12)
3ae698
- ==================
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1136509: Passing attributes through the namespace-unaware API of
3ae698
-   the sax bridge (i.e. the ``handler.startElement()`` method) failed
3ae698
-   with a ``TypeError``.  Patch by Mike Bayer.
3ae698
-
3ae698
- * LP#1123074: Fix serialisation error in XSLT output when converting
3ae698
-   the result tree to a Unicode string.
3ae698
-
3ae698
- * GH#105: Replace illegal usage of ``xmlBufLength()`` in libxml2 2.9.0
3ae698
-   by properly exported API function ``xmlBufUse()``.
3ae698
-
3ae698
- 3.1.1 (2013-03-29)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1160386: Write access to ``lxml.html.FormElement.fields`` raised
3ae698
-   an AttributeError in Py3.
3ae698
-
3ae698
- * Illegal memory access during cleanup in incremental xmlfile writer.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The externally useless class ``lxml.etree._BaseParser`` was removed
3ae698
-   from the module dict.
3ae698
3ae698
* Fri Mar  8 2013 Jeffrey Ollie <jeff@ocjtech.us> - 3.1.0-1
3ae698
- 3.1.0 (2013-02-10)
3ae698
- ==================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * GH#89: lxml.html.clean allows overriding the set of attributes that it
3ae698
-   considers 'safe'.  Patch by Francis Devereux.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * LP#1104370: ``copy.copy(el.attrib)`` raised an exception.  It now returns
3ae698
-   a copy of the attributes as a plain Python dict.
3ae698
-
3ae698
- * GH#95: When used with namespace prefixes, the  ``el.find*()`` methods
3ae698
-   always used the first namespace mapping that was provided for each
3ae698
-   path expression instead of using the one that was actually passed
3ae698
-   in for the current run.
3ae698
-
3ae698
- * LP#1092521, GH#91: Fix undefined C symbol in Python runtimes compiled
3ae698
-   without threading support.  Patch by Ulrich Seidl.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
-
3ae698
- 3.1beta1 (2012-12-21)
3ae698
- =====================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * New build-time option ``--with-unicode-strings`` for Python 2 that
3ae698
-   makes the API always return Unicode strings for names and text
3ae698
-   instead of byte strings for plain ASCII content.
3ae698
-
3ae698
- * New incremental XML file writing API ``etree.xmlfile()``.
3ae698
-
3ae698
- * E factory in lxml.objectify is callable to simplify the creation of
3ae698
-   tags with non-identifier names without having to resort to getattr().
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * When starting from a non-namespaced element in lxml.objectify, searching
3ae698
-   for a child without explicitly specifying a namespace incorrectly found
3ae698
-   namespaced elements with the requested local name, instead of restricting
3ae698
-   the search to non-namespaced children.
3ae698
-
3ae698
- * GH#85: Deprecation warnings were fixed for Python 3.x.
3ae698
-
3ae698
- * GH#33: lxml.html.fromstring() failed to accept bytes input in Py3.
3ae698
-
3ae698
- * LP#1080792: Static build of libxml2 2.9.0 failed due to missing file.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The externally useless class ``_ObjectifyElementMakerCaller`` was
3ae698
-   removed from the module API of lxml.objectify.
3ae698
-
3ae698
- * LP#1075622: lxml.builder is faster for adding text to elements with
3ae698
-   many children.  Patch by Anders Hammarquist.
3ae698
3ae698
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
3ae698
3ae698
* Mon Oct 15 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0.1-1
3ae698
- 3.0.1 (2012-10-14)
3ae698
- Bugs fixed
3ae698
-
3ae698
-  * LP#1065924: Element proxies could disappear during garbage collection
3ae698
-    in PyPy without proper cleanup.
3ae698
-  * GH#71: Failure to work with libxml2 2.6.x.
3ae698
-  * LP#1065139: static MacOS-X build failed in Py3.
3ae698
3ae698
* Wed Oct 10 2012 Jeffrey Ollie <jeff@ocjtech.us> - 3.0-1
3ae698
- 3.0 (2012-10-08)
3ae698
- ================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * End-of-file handling was incorrect in iterparse() when reading from
3ae698
-   a low-level C file stream and failed in libxml2 2.9.0 due to its
3ae698
-   improved consistency checks.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The build no longer uses Cython by default unless the generated C files
3ae698
-   are missing.  To use Cython, pass the option "--with-cython".  To ignore
3ae698
-   the fatal build error when Cython is required but not available (e.g. to
3ae698
-   run special setup.py commands that do not actually run a build), pass
3ae698
-   "--without-cython".
3ae698
-
3ae698
-
3ae698
- 3.0beta1 (2012-09-26)
3ae698
- =====================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * Python level access to (optional) libxml2 memory debugging features
3ae698
-   to simplify debugging of memory leaks etc.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Fix a memory leak in XPath by switching to Cython 0.17.1.
3ae698
-
3ae698
- * Some tests were adapted to work with PyPy.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * The code was adapted to work with the upcoming libxml2 2.9.0 release.
3ae698
-
3ae698
-
3ae698
- 3.0alpha2 (2012-08-23)
3ae698
- ======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * The .iter() method of elements now accepts tag arguments like "{*}name"
3ae698
-   to search for elements with a given local name in any namespace.  With
3ae698
-   this addition, all combinations of wildcards now work as expected:
3ae698
-   "{ns}name", "{}name", "{*}name", "{ns}*", "{}*" and "{*}*".  Note that
3ae698
-   "name" is equivalent to "{}name", but "*" is "{*}*".  The same change
3ae698
-   applies to the .getiterator(), .itersiblings(), .iterancestors(),
3ae698
-   .iterdescendants(), .iterchildren() and .itertext() methods,  the
3ae698
-   strip_attributes(), strip_elements() and strip_tags() functions as well
3ae698
-   as the iterparse() function.
3ae698
-
3ae698
- * C14N allows specifying the inclusive prefixes to be promoted to
3ae698
-   top-level during exclusive serialisation.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Passing long Unicode strings into the feed() parser interface failed to
3ae698
-   read the entire string.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
-
3ae698
- 3.0alpha1 (2012-07-31)
3ae698
- ======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * Initial support for building in PyPy (through cpyext).
3ae698
-
3ae698
- * DTD objects gained an API that allows read access to their
3ae698
-   declarations.
3ae698
-
3ae698
- * xpathgrep.py gained support for parsing line-by-line (e.g.
3ae698
-   from grep output) and for surrounding the output with a new root
3ae698
-   tag.
3ae698
-
3ae698
- * E-factory in lxml.builder accepts subtypes of known data
3ae698
-   types (such as string subtypes) when building elements around them.
3ae698
-
3ae698
- * Tree iteration and iterparse() with a selective tag
3ae698
-   argument supports passing a set of tags.  Tree nodes will be
3ae698
-   returned by the iterators if they match any of the tags.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * The .find*() methods in lxml.objectify no longer use XPath
3ae698
-   internally, which makes them faster in many cases (especially when
3ae698
-   short circuiting after a single or couple of elements) and fixes
3ae698
-   some behavioural differences compared to lxml.etree.  Note that
3ae698
-   this means that they no longer support arbitrary XPath expressions
3ae698
-   but only the subset that the ElementPath language supports.
3ae698
-   The previous implementation was also redundant with the normal
3ae698
-   XPath support, which can be used as a replacement.
3ae698
-
3ae698
- * el.find('*') could accidentally return a comment or processing
3ae698
-   instruction that happened to be in the wrong spot.  (Same for the
3ae698
-   other .find*() methods.)
3ae698
-
3ae698
- * The error logging is less intrusive and avoids a global setup where
3ae698
-   possible.
3ae698
-
3ae698
- * Fixed undefined names in html5lib parser.
3ae698
-
3ae698
- * xpathgrep.py did not work in Python 3.
3ae698
-
3ae698
- * Element.attrib.update() did not accept an attrib of
3ae698
-   another Element as parameter.
3ae698
-
3ae698
- * For subtypes of ElementBase that make the .text or .tail
3ae698
-   properties immutable (as in objectify, for example), inserting text
3ae698
-   when creating Elements through the E-Factory feature of the class
3ae698
-   constructor would fail with an exception, stating that the text
3ae698
-   cannot be modified.
3ae698
-
3ae698
- Other changes
3ae698
- --------------
3ae698
-
3ae698
- * The code base was overhauled to properly use 'const' where the API
3ae698
-   of libxml2 and libxslt requests it.  This also has an impact on the
3ae698
-   public C-API of lxml itself, as defined in etreepublic.pxd, as
3ae698
-   well as the provided declarations in the lxml/includes/ directory.
3ae698
-   Code that uses these declarations may have to be adapted.  On the
3ae698
-   plus side, this fixes several C compiler warnings, also for user
3ae698
-   code, thus making it easier to spot real problems again.
3ae698
-
3ae698
- * The functionality of "lxml.cssselect" was moved into a separate PyPI
3ae698
-   package called "cssselect".  To continue using it, you must install
3ae698
-   that package separately.  The "lxml.cssselect" module is still
3ae698
-   available and provides the same interface, provided the "cssselect"
3ae698
-   package can be imported at runtime.
3ae698
-
3ae698
- * Element attributes passed in as an attrib dict or as keyword
3ae698
-   arguments are now sorted by (namespaced) name before being created
3ae698
-   to make their order predictable for serialisation and iteration.
3ae698
-   Note that adding or deleting attributes afterwards does not take
3ae698
-   that order into account, i.e. setting a new attribute appends it
3ae698
-   after the existing ones.
3ae698
-
3ae698
- * Several classes that are for internal use only were removed
3ae698
-   from the lxml.etree module dict:
3ae698
-   _InputDocument, _ResolverRegistry, _ResolverContext, _BaseContext,
3ae698
-   _ExsltRegExp, _IterparseContext, _TempStore, _ExceptionContext,
3ae698
-   __ContentOnlyElement, _AttribIterator, _NamespaceRegistry,
3ae698
-   _ClassNamespaceRegistry, _FunctionNamespaceRegistry,
3ae698
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
3ae698
-   _FileReaderContext, _ParserContext, _PythonSaxParserTarget,
3ae698
-   _TargetParserContext, _ReadOnlyProxy, _ReadOnlyPIProxy,
3ae698
-   _ReadOnlyEntityProxy, _ReadOnlyElementProxy, _OpaqueNodeWrapper,
3ae698
-   _OpaqueDocumentWrapper, _ModifyContentOnlyProxy,
3ae698
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
3ae698
-   _AppendOnlyElementProxy, _SaxParserContext, _FilelikeWriter,
3ae698
-   _ParserSchemaValidationContext, _XPathContext,
3ae698
-   _XSLTResolverContext, _XSLTContext, _XSLTQuotedStringParam
3ae698
-
3ae698
- * Several internal classes can no longer be inherited from:
3ae698
-   _InputDocument, _ResolverRegistry, _ExsltRegExp, _ElementUnicodeResult,
3ae698
-   _IterparseContext, _TempStore, _AttribIterator, _ClassNamespaceRegistry,
3ae698
-   _XPathFunctionNamespaceRegistry, _ParserDictionaryContext,
3ae698
-   _FileReaderContext, _PythonSaxParserTarget, _TargetParserContext,
3ae698
-   _ReadOnlyPIProxy, _ReadOnlyEntityProxy, _OpaqueDocumentWrapper,
3ae698
-   _ModifyContentOnlyPIProxy, _ModifyContentOnlyEntityProxy,
3ae698
-   _AppendOnlyElementProxy, _FilelikeWriter, _ParserSchemaValidationContext,
3ae698
-   _XPathContext, _XSLTResolverContext, _XSLTContext,
3ae698
-   _XSLTQuotedStringParam, _XSLTResultTree, _XSLTProcessingInstruction
3ae698
3ae698
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.5-1
3ae698
- Bugs fixed
3ae698
-
3ae698
-  * Crash when merging text nodes in element.remove().
3ae698
-  * Crash in sax/target parser when reporting empty doctype.
3ae698
3ae698
* Thu Sep 27 2012 Jeffrey Ollie <jeff@ocjtech.us> - 2.3.4-1
3ae698
- Bugs fixed
3ae698
-
3ae698
-  * Crash when building an nsmap (Element property) with empty namespace
3ae698
-    URIs.
3ae698
-  * Crash due to race condition when errors (or user messages) occur during
3ae698
-    threaded XSLT processing (or compilation).
3ae698
-  * XSLT stylesheet compilation could ignore compilation errors.
3ae698
3ae698
* Sat Aug 04 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-4
3ae698
- rebuild for https://fedoraproject.org/wiki/Features/Python_3.3
3ae698
3ae698
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 2.3.3-3
3ae698
- remove rhel logic from with_python3 conditional
3ae698
3ae698
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
3ae698
3ae698
* Thu Jan  5 2012 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.3-1
3ae698
- 2.3.3 (2012-01-04)
3ae698
- Features added
3ae698
-
3ae698
-  * lxml.html.tostring() gained new serialisation options with_tail and
3ae698
-    doctype.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-  * Fixed a crash when using iterparse() for HTML parsing and requesting
3ae698
-    start events.
3ae698
-  * Fixed parsing of more selectors in cssselect. Whitespace before pseudo-
3ae698
-    elements and pseudo-classes is significant as it is a descendant
3ae698
-    combinator. "E :pseudo" should parse the same as "E *:pseudo", not
3ae698
-    "E:pseudo". Patch by Simon Sapin.
3ae698
-  * lxml.html.diff no longer raises an exception when hitting 'img' tags
3ae698
-    without 'src' attribute.
3ae698
3ae698
* Mon Nov 14 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.2-1
3ae698
- 2.3.2 (2011-11-11)
3ae698
- Features added
3ae698
-
3ae698
-   * lxml.objectify.deannotate() has a new boolean option
3ae698
-     cleanup_namespaces to remove the objectify namespace declarations
3ae698
-     (and generally clean up the namespace declarations) after removing
3ae698
-     the type annotations.
3ae698
-   * lxml.objectify gained its own SubElement() function as a copy of
3ae698
-     etree.SubElement to avoid an otherwise redundant import of
3ae698
-     lxml.etree on the user side.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Fixed the "descendant" bug in cssselect a second time (after a first
3ae698
-      fix in lxml 2.3.1). The previous change resulted in a serious
3ae698
-      performance regression for the XPath based evaluation of the
3ae698
-      translated expression. Note that this breaks the usage of some
3ae698
-      of the generated XPath expressions as XSLT location paths that
3ae698
-      previously worked in 2.3.1.
3ae698
-    * Fixed parsing of some selectors in cssselect. Whitespace after
3ae698
-      combinators ">", "+" and "~" is now correctly ignored. Previously
3ae698
-      it was parsed as a descendant combinator. For example, "div> .foo"
3ae698
-      was parsed the same as "div>* .foo" instead of "div>.foo". Patch by
3ae698
-      Simon Sapin.
3ae698
3ae698
* Sun Sep 25 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3.1-1
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * New option kill_tags in lxml.html.clean to remove specific
3ae698
-   tags and their content (i.e. their whole subtree).
3ae698
-
3ae698
- * pi.get() and pi.attrib on processing instructions to parse
3ae698
-   pseudo-attributes from the text content of processing instructions.
3ae698
-
3ae698
- * lxml.get_include() returns a list of include paths that can be
3ae698
-   used to compile external C code against lxml.etree.  This is
3ae698
-   specifically required for statically linked lxml builds when code
3ae698
-   needs to compile against the exact same header file versions as lxml
3ae698
-   itself.
3ae698
-
3ae698
- * Resolver.resolve_file() takes an additional option
3ae698
-   close_file that configures if the file(-like) object will be
3ae698
-   closed after reading or not.  By default, the file will be closed,
3ae698
-   as the user is not expected to keep a reference to it.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * HTML cleaning didn't remove 'data:' links.
3ae698
-
3ae698
- * The html5lib parser integration now uses the 'official'
3ae698
-   implementation in html5lib itself, which makes it work with newer
3ae698
-   releases of the library.
3ae698
-
3ae698
- * In lxml.sax, endElementNS() could incorrectly reject a plain
3ae698
-   tag name when the corresponding start event inferred the same plain
3ae698
-   tag name to be in the default namespace.
3ae698
-
3ae698
- * When an open file-like object is passed into parse() or
3ae698
-   iterparse(), the parser will no longer close it after use.  This
3ae698
-   reverts a change in lxml 2.3 where all files would be closed.  It is
3ae698
-   the users responsibility to properly close the file(-like) object,
3ae698
-   also in error cases.
3ae698
-
3ae698
- * Assertion error in lxml.html.cleaner when discarding top-level elements.
3ae698
-
3ae698
- * In lxml.cssselect, use the xpath 'A//B' (short for
3ae698
-   'A/descendant-or-self::node()/B') instead of 'A/descendant::B' for the
3ae698
-   css descendant selector ('A B'). This makes a few edge cases to be
3ae698
-   consistent with the selector behavior in WebKit and Firefox, and makes
3ae698
-   more css expressions valid location paths (for use in xsl:template
3ae698
-   match).
3ae698
-
3ae698
- * In lxml.html, non-selected <option> tags no longer show up in the
3ae698
-   collected form values.
3ae698
-
3ae698
- * Adding/removing <option> values to/from a multiple select form
3ae698
-   field properly selects them and unselects them.
3ae698
-
3ae698
- Other changes
3ae698
- --------------
3ae698
-
3ae698
- * Static builds can specify the download directory with the
3ae698
-   --download-dir option.
3ae698
3ae698
3ae698
* Tue Apr 19 2011 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.3-1
3ae698
- 2.3 (2011-02-06)
3ae698
- ================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * When looking for children, ``lxml.objectify`` takes '{}tag' as
3ae698
-   meaning an empty namespace, as opposed to the parent namespace.
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * When finished reading from a file-like object, the parser
3ae698
-   immediately calls its ``.close()`` method.
3ae698
-
3ae698
- * When finished parsing, ``iterparse()`` immediately closes the input
3ae698
-   file.
3ae698
-
3ae698
- * Work-around for libxml2 bug that can leave the HTML parser in a
3ae698
-   non-functional state after parsing a severly broken document (fixed
3ae698
-   in libxml2 2.7.8).
3ae698
-
3ae698
- * ``marque`` tag in HTML cleanup code is correctly named ``marquee``.
3ae698
-
3ae698
- Other changes
3ae698
- --------------
3ae698
-
3ae698
- * Some public functions in the Cython-level C-API have more explicit
3ae698
-   return types.
3ae698
-
3ae698
- 2.3beta1 (2010-09-06)
3ae698
- =====================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Crash in newer libxml2 versions when moving elements between
3ae698
-   documents that had attributes on replaced XInclude nodes.
3ae698
-
3ae698
- * ``XMLID()`` function was missing the optional ``parser`` and
3ae698
-   ``base_url`` parameters.
3ae698
-
3ae698
- * Searching for wildcard tags in ``iterparse()`` was broken in Py3.
3ae698
-
3ae698
- * ``lxml.html.open_in_browser()`` didn't work in Python 3 due to the
3ae698
-   use of os.tempnam.  It now takes an optional 'encoding' parameter.
3ae698
-
3ae698
- Other changes
3ae698
- --------------
3ae698
-
3ae698
- 2.3alpha2 (2010-07-24)
3ae698
- ======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * Crash in XSLT when generating text-only result documents with a
3ae698
-   stylesheet created in a different thread.
3ae698
-
3ae698
- Other changes
3ae698
- --------------
3ae698
-
3ae698
- * ``repr()`` of Element objects shows the hex ID with leading 0x
3ae698
-   (following ElementTree 1.3).
3ae698
-
3ae698
- 2.3alpha1 (2010-06-19)
3ae698
- ======================
3ae698
-
3ae698
- Features added
3ae698
- --------------
3ae698
-
3ae698
- * Keyword argument ``namespaces`` in ``lxml.cssselect.CSSSelector()``
3ae698
-   to pass a prefix-to-namespace mapping for the selector.
3ae698
-
3ae698
- * New function ``lxml.etree.register_namespace(prefix, uri)`` that
3ae698
-   globally registers a namespace prefix for a namespace that newly
3ae698
-   created Elements in that namespace will use automatically.  Follows
3ae698
-   ElementTree 1.3.
3ae698
-
3ae698
- * Support 'unicode' string name as encoding parameter in
3ae698
-   ``tostring()``, following ElementTree 1.3.
3ae698
-
3ae698
- * Support 'c14n' serialisation method in ``ElementTree.write()`` and
3ae698
-   ``tostring()``, following ElementTree 1.3.
3ae698
-
3ae698
- * The ElementPath expression syntax (``el.find*()``) was extended to
3ae698
-   match the upcoming ElementTree 1.3 that will ship in the standard
3ae698
-   library of Python 3.2/2.7.  This includes extended support for
3ae698
-   predicates as well as namespace prefixes (as known from XPath).
3ae698
-
3ae698
- * During regular XPath evaluation, various ESXLT functions are
3ae698
-   available within their namespace when using libxslt 1.1.26 or later.
3ae698
-
3ae698
- * Support passing a readily configured logger instance into
3ae698
-   ``PyErrorLog``, instead of a logger name.
3ae698
-
3ae698
- * On serialisation, the new ``doctype`` parameter can be used to
3ae698
-   override the DOCTYPE (internal subset) of the document.
3ae698
-
3ae698
- * New parameter ``output_parent`` to ``XSLTExtension.apply_templates()``
3ae698
-   to append the resulting content directly to an output element.
3ae698
-
3ae698
- * ``XSLTExtension.process_children()`` to process the content of the
3ae698
-   XSLT extension element itself.
3ae698
-
3ae698
- * ISO-Schematron support based on the de-facto Schematron reference
3ae698
-   'skeleton implementation'.
3ae698
-
3ae698
- * XSLT objects now take XPath object as ``__call__`` stylesheet
3ae698
-   parameters.
3ae698
-
3ae698
- * Enable path caching in ElementPath (``el.find*()``) to avoid parsing
3ae698
-   overhead.
3ae698
-
3ae698
- * Setting the value of a namespaced attribute always uses a prefixed
3ae698
-   namespace instead of the default namespace even if both declare the
3ae698
-   same namespace URI.  This avoids serialisation problems when an
3ae698
-   attribute from a default namespace is set on an element from a
3ae698
-   different namespace.
3ae698
-
3ae698
- * XSLT extension elements: support for XSLT context nodes other than
3ae698
-   elements: document root, comments, processing instructions.
3ae698
-
3ae698
- * Support for strings (in addition to Elements) in node-sets returned
3ae698
-   by extension functions.
3ae698
-
3ae698
- * Forms that lack an ``action`` attribute default to the base URL of
3ae698
-   the document on submit.
3ae698
-
3ae698
- * XPath attribute result strings have an ``attrname`` property.
3ae698
-
3ae698
- * Namespace URIs get validated against RFC 3986 at the API level
3ae698
-   (required by the XML namespace specification).
3ae698
-
3ae698
- * Target parsers show their target object in the ``.target`` property
3ae698
-   (compatible with ElementTree).
3ae698
-
3ae698
- Bugs fixed
3ae698
- ----------
3ae698
-
3ae698
- * API is hardened against invalid proxy instances to prevent crashes
3ae698
-   due to incorrectly instantiated Element instances.
3ae698
-
3ae698
- * Prevent crash when instantiating ``CommentBase`` and friends.
3ae698
-
3ae698
- * Export ElementTree compatible XML parser class as
3ae698
-   ``XMLTreeBuilder``, as it is called in ET 1.2.
3ae698
-
3ae698
- * ObjectifiedDataElements in lxml.objectify were not hashable.  They
3ae698
-   now use the hash value of the underlying Python value (string,
3ae698
-   number, etc.) to which they compare equal.
3ae698
-
3ae698
- * Parsing broken fragments in lxml.html could fail if the fragment
3ae698
-   contained an orphaned closing '' tag.
3ae698
-
3ae698
- * Using XSLT extension elements around the root of the output document
3ae698
-   crashed.
3ae698
-
3ae698
- * ``lxml.cssselect`` did not distinguish between ``x[attr="val"]`` and
3ae698
-   ``x [attr="val"]`` (with a space).  The latter now matches the
3ae698
-   attribute independent of the element.
3ae698
-
3ae698
- * Rewriting multiple links inside of HTML text content could end up
3ae698
-   replacing unrelated content as replacements could impact the
3ae698
-   reported position of subsequent matches.  Modifications are now
3ae698
-   simplified by letting the ``iterlinks()`` generator in ``lxml.html``
3ae698
-   return links in reversed order if they appear inside the same text
3ae698
-   node.  Thus, replacements and link-internal modifications no longer
3ae698
-   change the position of links reported afterwards.
3ae698
-
3ae698
- * The ``.value`` attribute of ``textarea`` elements in lxml.html did
3ae698
-   not represent the complete raw value (including child tags etc.). It
3ae698
-   now serialises the complete content on read and replaces the
3ae698
-   complete content by a string on write.
3ae698
-
3ae698
- * Target parser didn't call ``.close()`` on the target object if
3ae698
-   parsing failed.  Now it is guaranteed that ``.close()`` will be
3ae698
-   called after parsing, regardless of the outcome.
3ae698
-
3ae698
- Other changes
3ae698
- -------------
3ae698
-
3ae698
- * Official support for Python 3.1.2 and later.
3ae698
-
3ae698
- * Static MS Windows builds can now download their dependencies
3ae698
-   themselves.
3ae698
-
3ae698
- * ``Element.attrib`` no longer uses a cyclic reference back to its
3ae698
-   Element object.  It therefore no longer requires the garbage
3ae698
-   collector to clean up.
3ae698
-
3ae698
- * Static builds include libiconv, in addition to libxml2 and libxslt.
3ae698
3ae698
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.8-4
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3ae698
3ae698
* Wed Dec 29 2010  David Malcolm <dmalcolm@redhat.com> - 2.2.8-3
3ae698
- rebuild for newer python3
3ae698
3ae698
* Fri Nov  5 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-2
3ae698
- Rebuild for newer libxml2
3ae698
3ae698
* Mon Sep  6 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.8-1
3ae698
- 2.2.8 (2010-09-02)
3ae698
- Bugs fixed
3ae698
-
3ae698
-     * Crash in newer libxml2 versions when moving elements between
3ae698
-       documents that had attributes on replaced XInclude nodes.
3ae698
-     * Import fix for urljoin in Python 3.1+.
3ae698
3ae698
* Tue Aug 24 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-3
3ae698
- Don't byte-compile files during install because setup.py doesn't
3ae698
  properly byte compile for Python version 3.2
3ae698
3ae698
* Sun Aug 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-2
3ae698
- Rebuild for Python 3.2
3ae698
3ae698
* Mon Jul 26 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.7-1
3ae698
- 2.2.7 (2010-07-24)
3ae698
- Bugs fixed
3ae698
-
3ae698
-     * Crash in XSLT when generating text-only result documents with a stylesheet created in a different thread.
3ae698
3ae698
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-4
3ae698
- actually add the patch this time
3ae698
3ae698
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-3
3ae698
- workaround for 2to3 issue (patch 0; bug 600036)
3ae698
3ae698
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.2.6-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
3ae698
3ae698
* Tue Mar  2 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.6-1
3ae698
- 2.2.6 (2010-03-02)
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Fixed several Python 3 regressions by building with Cython 0.11.3.
3ae698
3ae698
* Mon Mar  1 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.5-1
3ae698
- 2.2.5 (2010-02-28)
3ae698
-
3ae698
- Features added
3ae698
-
3ae698
-    * Support for running XSLT extension elements on the input root node
3ae698
-      (e.g. in a template matching on "/").
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Crash in XPath evaluation when reading smart strings from a document
3ae698
-      other than the original context document.
3ae698
-    * Support recent versions of html5lib by not requiring its XHTMLParser
3ae698
-      in htmlparser.py anymore.
3ae698
-    * Manually instantiating the custom element classes in lxml.objectify
3ae698
-      could crash.
3ae698
-    * Invalid XML text characters were not rejected by the API when they
3ae698
-      appeared in unicode strings directly after non-ASCII characters.
3ae698
-    * lxml.html.open_http_urllib() did not work in Python 3.
3ae698
-    * The functions strip_tags() and strip_elements() in lxml.etree did
3ae698
-      not remove all occurrences of a tag in all cases.
3ae698
-    * Crash in XSLT extension elements when the XSLT context node is not
3ae698
-      an element.
3ae698
3ae698
* Mon Feb 15 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.2.4-2
3ae698
- update to current python3 guidelines
3ae698
- be more explicit in %%files
3ae698
- use %%global and not %%define
3ae698
- create docs subpackage
3ae698
- add stripping 3-byte Byte Order Marker from src/lxml/tests/test_errors.py
3ae698
  to get 2to3 to work (dmalcolm)
3ae698
- fixes FTBFS (#564674)
3ae698
3ae698
* Thu Jan 14 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.4-1
3ae698
- Update to 2.2.4
3ae698
- Enable Python 3 subpackage
3ae698
3ae698
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-3
3ae698
- F-13's python build chain must be a little different...
3ae698
3ae698
* Thu Nov  5 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-2
3ae698
- Add option to build a Python 3 subpackage, original patch by David Malcolm
3ae698
3ae698
* Fri Oct 30 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.3-1
3ae698
- 2.2.3 (2009-10-30)
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * The resolve_entities option did not work in the incremental feed
3ae698
-      parser.
3ae698
-    * Looking up and deleting attributes without a namespace could hit a
3ae698
-      namespaced attribute of the same name instead.
3ae698
-    * Late errors during calls to SubElement() (e.g. attribute related
3ae698
-      ones) could leave a partially initialised element in the tree.
3ae698
-    * Modifying trees that contain parsed entity references could result
3ae698
-      in an infinite loop.
3ae698
-    * ObjectifiedElement.__setattr__ created an empty-string child element
3ae698
-      when the attribute value was rejected as a non-unicode/non-ascii
3ae698
-      string
3ae698
-    * Syntax errors in lxml.cssselect could result in misleading error
3ae698
-      messages.
3ae698
-    * Invalid syntax in CSS expressions could lead to an infinite loop in
3ae698
-      the parser of lxml.cssselect.
3ae698
-    * CSS special character escapes were not properly handled in
3ae698
-      lxml.cssselect.
3ae698
-    * CSS Unicode escapes were not properly decoded in lxml.cssselect.
3ae698
-    * Select options in HTML forms that had no explicit value attribute
3ae698
-      were not handled correctly. The HTML standard dictates that their
3ae698
-      value is defined by their text content. This is now supported by
3ae698
-      lxml.html.
3ae698
-    * XPath raised a TypeError when finding CDATA sections. This is now
3ae698
-      fully supported.
3ae698
-    * Calling help(lxml.objectify) didn't work at the prompt.
3ae698
-    * The ElementMaker in lxml.objectify no longer defines the default
3ae698
-      namespaces when annotation is disabled.
3ae698
-    * Feed parser failed to honour the 'recover' option on parse errors.
3ae698
-    * Diverting the error logging to Python's logging system was broken.
3ae698
3ae698
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-2
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3ae698
3ae698
* Sun Jun 21 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.2-1
3ae698
- 2.2.2 (2009-06-21)
3ae698
- Features added
3ae698
-
3ae698
-    * New helper functions strip_attributes(), strip_elements(),
3ae698
-      strip_tags() in lxml.etree to remove attributes/subtrees/tags
3ae698
-      from a subtree.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Namespace cleanup on subtree insertions could result in missing
3ae698
-      namespace declarations (and potentially crashes) if the element
3ae698
-      defining a namespace was deleted and the namespace was not used
3ae698
-      by the top element of the inserted subtree but only in deeper
3ae698
-      subtrees.
3ae698
-    * Raising an exception from a parser target callback didn't always
3ae698
-      terminate the parser.
3ae698
-    * Only {true, false, 1, 0} are accepted as the lexical representation
3ae698
-      for BoolElement ({True, False, T, F, t, f} not any more), restoring
3ae698
-      lxml <= 2.0 behaviour.
3ae698
3ae698
* Tue Jun  2 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2.1-1
3ae698
- 2.2.1 (2009-06-02)
3ae698
- Features added
3ae698
-
3ae698
-    * Injecting default attributes into a document during XML Schema
3ae698
-      validation (also at parse time).
3ae698
-    * Pass huge_tree parser option to disable parser security restrictions
3ae698
-      imposed by libxml2 2.7.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * The script for statically building libxml2 and libxslt didn't work
3ae698
-      in Py3.
3ae698
-    * XMLSchema() also passes invalid schema documents on to libxml2 for
3ae698
-      parsing (which could lead to a crash before release 2.6.24).
3ae698
3ae698
* Tue Mar 24 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-1
3ae698
- 2.2 (2009-03-21)
3ae698
- Features added
3ae698
-
3ae698
-    * Support for standalone flag in XML declaration through
3ae698
-      tree.docinfo.standalone and by passing standalone=True/False on
3ae698
-      serialisation.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Crash when parsing an XML Schema with external imports from a
3ae698
-      filename.
3ae698
3ae698
* Fri Feb 27 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.8.beta4
3ae698
- 2.2beta4 (2009-02-27)
3ae698
- Features added
3ae698
-
3ae698
-    * Support strings and instantiable Element classes as child arguments
3ae698
-      to the constructor of custom Element classes.
3ae698
-    * GZip compression support for serialisation to files and file-like
3ae698
-      objects.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Deep-copying an ElementTree copied neither its sibling PIs and
3ae698
-      comments nor its internal/external DTD subsets.
3ae698
-    * Soupparser failed on broken attributes without values.
3ae698
-    * Crash in XSLT when overwriting an already defined attribute using
3ae698
-      xsl:attribute.
3ae698
-    * Crash bug in exception handling code under Python 3. This was due to
3ae698
-      a problem in Cython, not lxml itself.
3ae698
-    * lxml.html.FormElement._name() failed for non top-level forms.
3ae698
-    * TAG special attribute in constructor of custom Element classes was
3ae698
-      evaluated incorrectly.
3ae698
-
3ae698
- Other changes
3ae698
-
3ae698
-    * Official support for Python 3.0.1.
3ae698
-    * Element.findtext() now returns an empty string instead of None for
3ae698
-      Elements without text content.
3ae698
3ae698
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-0.7.beta3
3ae698
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3ae698
3ae698
* Tue Feb 17 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.6.beta3
3ae698
- 2.2beta3 (2009-02-17)
3ae698
- Features added
3ae698
-
3ae698
-    * XSLT.strparam() class method to wrap quoted string parameters that
3ae698
-     require escaping.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Memory leak in XPath evaluators.
3ae698
-    * Crash when parsing indented XML in one thread and merging it with
3ae698
-      other documents parsed in another thread.
3ae698
-    * Setting the base attribute in lxml.objectify from a unicode string
3ae698
-      failed.
3ae698
-    * Fixes following changes in Python 3.0.1.
3ae698
-    * Minor fixes for Python 3.
3ae698
-
3ae698
- Other changes
3ae698
-
3ae698
-    * The global error log (which is copied into the exception log) is now
3ae698
-      local to a thread, which fixes some race conditions.
3ae698
-    * More robust error handling on serialisation.
3ae698
3ae698
* Sun Jan 25 2009 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.5.beta2
3ae698
- 2.2beta2 (2009-01-25)
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Potential memory leak on exception handling. This was due to a
3ae698
-      problem in Cython, not lxml itself.
3ae698
-    * iter_links (and related link-rewriting functions) in lxml.html would
3ae698
-      interpret CSS like url("link") incorrectly (treating the quotation
3ae698
-      marks as part of the link).
3ae698
-    * Failing import on systems that have an io module.
3ae698
3ae698
* Fri Dec 12 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.4.beta1
3ae698
- 2.2beta1 (2008-12-12)
3ae698
- Features added
3ae698
-
3ae698
-    * Allow lxml.html.diff.htmldiff to accept Element objects,
3ae698
-      not just HTML strings.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Crash when using an XPath evaluator in multiple threads.
3ae698
-    * Fixed missing whitespace before Link:... in lxml.html.diff.
3ae698
-
3ae698
- Other changes
3ae698
-
3ae698
-    * Export lxml.html.parse.
3ae698
3ae698
* Fri Nov 28 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.3.alpha1
3ae698
- Rebuild for Python 2.6
3ae698
3ae698
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.2.alpha1
3ae698
- Don't forget to upload the sources!
3ae698
3ae698
* Mon Nov 24 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.2-0.1.alpha1
3ae698
- 2.2alpha1 (2008-11-23)
3ae698
- Features added
3ae698
-
3ae698
-    * Support for XSLT result tree fragments in XPath/XSLT extension
3ae698
-      functions.
3ae698
-    * QName objects have new properties namespace and localname.
3ae698
-    * New options for exclusive C14N and C14N without comments.
3ae698
-    * Instantiating a custom Element classes creates a new Element.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * XSLT didn't inherit the parse options of the input document.
3ae698
-    * 0-bytes could slip through the API when used inside of Unicode
3ae698
-      strings.
3ae698
-    * With lxml.html.clean.autolink, links with balanced parenthesis, that
3ae698
-      end in a parenthesis, will be linked in their entirety (typical with
3ae698
-      Wikipedia links).
3ae698
3ae698
* Mon Nov 17 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.3-1
3ae698
- 2.1.3 (2008-11-17)
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Ref-count leaks when lxml enters a try-except statement while an
3ae698
-      outside exception lives in sys.exc_*(). This was due to a problem
3ae698
-      in Cython, not lxml itself.
3ae698
-    * Parser Unicode decoding errors could get swallowed by other
3ae698
-      exceptions.
3ae698
-    * Name/import errors in some Python modules.
3ae698
-    * Internal DTD subsets that did not specify a system or public ID
3ae698
-      were not serialised and did not appear in the docinfo property
3ae698
-      of ElementTrees.
3ae698
-    * Fix a pre-Py3k warning when parsing from a gzip file in Py2.6.
3ae698
-    * Test suite fixes for libxml2 2.7.
3ae698
-    * Resolver.resolve_string() did not work for non-ASCII byte strings.
3ae698
-    * Resolver.resolve_file() was broken.
3ae698
-    * Overriding the parser encoding didn't work for many encodings.
3ae698
3ae698
* Fri Sep  5 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.2-1
3ae698
- 2.1.2 (2008-09-05)
3ae698
- Features added
3ae698
-
3ae698
-    * lxml.etree now tries to find the absolute path name of files when
3ae698
-      parsing from a file-like object. This helps custom resolvers when
3ae698
-      resolving relative URLs, as lixbml2 can prepend them with the path of
3ae698
-      the source document.
3ae698
-
3ae698
- Bugs fixed
3ae698
-
3ae698
-    * Memory problem when passing documents between threads.
3ae698
-    * Target parser did not honour the recover option and raised an exception
3ae698
-      instead of calling .close() on the target.
3ae698
3ae698
* Fri Jul 25 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.1.1-1
3ae698
- Update to 2.1.1
3ae698
3ae698
* Fri Jun 20 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.7-1
3ae698
- Update to 2.0.7
3ae698
- Update download URL
3ae698
3ae698
* Sat May 31 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.6-1
3ae698
- Update to 2.0.6
3ae698
3ae698
* Thu May  8 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.5-1
3ae698
- Update to 2.0.5
3ae698
3ae698
* Wed Mar 26 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.3-1
3ae698
- Update to 2.0.3
3ae698
3ae698
* Sat Feb 23 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.2-1
3ae698
- Update to 2.0.2
3ae698
3ae698
* Tue Feb 19 2008 Jeffrey C. Ollie <jeff@ocjtech.us> - 2.0.1-1
3ae698
- Update to 2.0.1
3ae698
3ae698
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3.6-2
3ae698
- Autorebuild for GCC 4.3
3ae698
3ae698
* Sun Nov  4 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.6-1
3ae698
- Update to 1.3.6.
3ae698
3ae698
* Mon Oct 22 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.5-1
3ae698
- Update to 1.3.5.
3ae698
3ae698
* Thu Aug 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.4-1
3ae698
- Update to 1.3.4.
3ae698
3ae698
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.3.3-3
3ae698
- Rebuild for selinux ppc32 issue.
3ae698
3ae698
* Tue Aug 28 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-2
3ae698
- BR python-setuptools-devel
3ae698
3ae698
* Mon Jul 30 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.3.3-1
3ae698
- Update to 1.3.3
3ae698
3ae698
* Fri Jan 19 2007 Jeffrey C. Ollie <jeff@ocjtech.us> - 1.1.2-1
3ae698
- Update to 1.1.2
3ae698
3ae698
* Thu Dec 14 2006 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0.3-3
3ae698
- Rebuild for new Python
3ae698
3ae698
* Sat Sep 16 2006 Shahms E. King <shahms@shahms.com> 1.0.3-2
3ae698
- Rebuild for FC6
3ae698
3ae698
* Thu Aug 17 2006 Shahms E. King <shahms@shahms.com> 1.0.3-1
3ae698
- Update to new upstream version
3ae698
3ae698
* Fri Aug 11 2006 Shahms E. King <shahms@shahms.com> 1.0.2-2
3ae698
- Include, don't ghost .pyo files per new guidelines
3ae698
3ae698
* Fri Jul 07 2006 Shahms E. King <shahms@shahms.com> 1.0.2-1
3ae698
- Update to new upstream release
3ae698
3ae698
* Mon Jun 26 2006 Shahms E. King <shahms@shahms.com> 1.0.1-1
3ae698
- Update to new upstream release
3ae698
3ae698
* Fri Jun 02 2006 Shahms E. King <shahms@shahms.com> 1.0-1
3ae698
- Update to new upstream 1.0 release
3ae698
3ae698
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-3
3ae698
- Add python-setuptools to BuildRequires
3ae698
- Use dist tag
3ae698
3ae698
* Wed Apr 26 2006 Shahms E. King <shahms@shahms.com> 0.9.1-2
3ae698
- Fix summary and description
3ae698
3ae698
* Tue Apr 18 2006 Shahms E. King <shahms@shahms.com> 0.9.1-1
3ae698
- update the new upstream version
3ae698
- remove Pyrex build req
3ae698
3ae698
* Tue Dec 13 2005 Shahms E. King <shahms@shahms.com> 0.8-1
3ae698
- Initial package