summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Adapt to PyUnicode wstr removal in Py3.12.Stefan Behnel2022-05-171-0/+17
| | | | See https://peps.python.org/pep-0623/
* Update changelog.Stefan Behnel2022-05-171-0/+18
|
* Include 3.12 in CI build.Stefan Behnel2022-05-171-1/+2
|
* Add mullinux AArch64 wheel build as Makefile target (already included in ↵Stefan Behnel2022-05-171-1/+2
| | | | release workflow).
* Use libxml2 2.9.14 for wheel builds.Stefan Behnel2022-05-173-3/+3
|
* Add new error constant from libxml2 2.9.14.Stefan Behnel2022-05-172-0/+2
|
* Fix inheritance order of mixin classes in lxml.html (GH-340)xmo-odoo2022-05-173-10/+49
| | | | | | | | | | | As the old FIXME comment from https://github.com/lxml/lxml/commit/8132c755adad4a75ba855d985dd257493bccc7fd notes, the mixin should come first for the inheritance to be correct (the left-most class is the first in the MRO, at least if no diamond inheritance is involved). Also fix the odd `super` call in `HtmlMixin`, likely stemming from the incorrect MRO. Fixes the inheritance order of all `HTML*` base classes though it probably doesn't matter for other than `HtmlElement`.
* Include aarch64 wheel for musllinux SOABI (GH-342)Richard Connon2022-05-171-0/+1
|
* Add project income report for 2021.Stefan Behnel2022-03-311-0/+6
|
* docs: explain the global "set_element_class_lookup()" function better (GH-341)xmo-odoo2022-03-132-1/+19
| | | Also set "inherited-members" in the autodoc config to make the methods of internal classes visible, e.g. of "_BaseParser".
* Extend docstring to mention Element.set(name, None) for HTML documents.Stefan Behnel2022-03-081-0/+2
|
* docs: fix formatting issue.Stefan Behnel2022-03-041-0/+2
|
* Use latest libxml2 (2.9.13) and libxslt (1.1.35) which are shipped in ↵Stefan Behnel2022-02-281-18/+50
| | | | .tar.xz instead of .tar.gz archives now (and Py2.7 has no lzma support).
* Use Cython's minimal compile mode in the CPython "-dev" job to get the ↵Stefan Behnel2022-02-221-1/+1
| | | | refnanny installed without taking overly long to install.
* Use latest releases libxml2 2.9.13 and libxslt 1.1.35 also for CI builds.Stefan Behnel2022-02-221-2/+2
|
* Enable Cython's refnanny for the CPython "-dev" version builds (but still ↵Stefan Behnel2022-02-221-0/+4
| | | | allow the existing 3.11-dev builds to fail).
* Enable Cython's refnanny for the CPython "-dev" version builds.Stefan Behnel2022-02-221-0/+1
|
* Use latest releases libxml2 2.9.13 and libxslt 1.1.35 for wheel builds.Stefan Behnel2022-02-222-3/+3
|
* Update outdated comment.Stefan Behnel2022-02-221-1/+1
|
* Clean up some docstrings.Stefan Behnel2022-02-221-4/+5
|
* Add CI test jobs for Python 3.11. (GH-339)Mariusz Felisiak2022-02-181-1/+13
|
* Parse libxml2 error constants from libxml2-api.xml instead of the HTML ↵Stefan Behnel2022-02-181-106/+109
| | | | | | sources to avoid having to generate the documentation. Also avoid actually writing the output files if there are no changes, to avoid useless rebuilds.
* Fix Py3.6 wheel build for AArch64.Stefan Behnel2022-02-171-0/+1
|
* Prepare release of 4.8.0.lxml-4.8.0Stefan Behnel2022-02-173-19/+17
|
* Update changelog.Stefan Behnel2022-02-151-0/+20
|
* Add an AArch64 wheel build for Py3.6.Stefan Behnel2022-02-141-0/+2
| | | | Closes https://bugs.launchpad.net/lxml/+bug/1960731
* Modernise some code in the ElementMaker implementation.Stefan Behnel2022-02-141-21/+11
|
* Allow QName as tag value in ElementMaker, not just strings.Stefan Behnel2022-02-143-2/+24
|
* Use expected XSD spellings for xsi:double infinity and NaN (GH-338)Tobias Deiminger2022-02-132-4/+25
| | | | | | | | | | | | | W3C specification for xsd:double says > The special values positive and negative infinity and > not-a-number have lexical representations INF, -INF and NaN, > respectively. Thus case matters. The previously used float.__repr__ would generate "inf", "-inf", "nan". Now we prepend special handling to get "INF", "-INF", "NaN" instead (which is still pytype compatible). Includes minor non-functional alignments of related bool to text code, and tests to assert its XML schema conformance as well.
* Allow Path-like objects for file arguments (GH-337)Henning Janssen2022-02-1213-4/+119
| | | Use "PyOS_FSPath()" if available (Py3.6+). Otherwise, manually check for "__fspath__", in case an object defines it.
* Make it clear that the HTML Cleaner is not meant for security sensitive ↵Stefan Behnel2022-01-211-3/+8
| | | | | | environments. See https://bugs.launchpad.net/lxml/+bug/1958539
* setupinfo.py: check the return value of subprocesses (GH-336)Mingli-Yu2022-01-201-1/+1
| | | | | | | | | | | | | | | | | | | Use the return value altogether to check the subprocess execute successfully or not as in some case it will print some noise message though run successfully as below. # python Python 3.8.10 (default, Nov 26 2021, 20:14:08) [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import subprocess >>> cmd = "pkg-config --modversion libxml-2.0" >>> p = subprocess.Popen(cmd, shell=True,stdout=subprocess.PIPE, stderr=subprocess.PIPE) >>> stdout_data, errors = p.communicate() >>> print(stdout_data) b'2.9.12\n' >>> print(errors) b'do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable\n'
* Update the build and dependency docs a little.Stefan Behnel2022-01-132-12/+9
| | | | Also add a warning about libxml2 2.9.11/12.
* Add a visible warning to the build output when detecting libxml2 2.9.11 or ↵Stefan Behnel2022-01-131-0/+8
| | | | | | 2.9.12. See https://bugs.launchpad.net/lxml/+bug/1928795
* Added note to documentation about XSLT bug (GH-335)trevor872022-01-131-0/+7
|
* Fix typos (GH-334)Kian Meng, Ang2022-01-022-2/+2
|
* Make regex more efficient.Stefan Behnel2022-01-021-1/+1
|
* Remove link to PDF documentation as it's currently unavailable.Stefan Behnel2021-12-251-4/+6
|
* Update several links in the docs.Stefan Behnel2021-12-136-41/+36
|
* Merge branch 'lxml-4.6'Stefan Behnel2021-12-131-2/+2
|\
| * Update changelog to add the (single) CVE ID for the two HTML Cleaner ↵Stefan Behnel2021-12-131-2/+2
| | | | | | | | security issues.
* | Move zlib.h and friends into a subdirectory "extlibs" in lxml/includes/ to ↵lxml-4.7.1Stefan Behnel2021-12-132-2/+11
| | | | | | | | | | | | separate them from lxml-version.h etc. These files are copied by setuptools as package data from an external install directory and thus need to be in a separate package to prevent conflicting with the content of the normal lxml.includes package.
* | Add a test to get at least minimal coverage for the lxml.html.builder module.Stefan Behnel2021-12-131-0/+8
| |
* | Remove useless macOS-M1 build target since there are currently no GHA build ↵Stefan Behnel2021-12-131-1/+2
| | | | | | | | servers for it.
* | Prepare release of lxml 4.7.1.Stefan Behnel2021-12-133-5/+15
| |
* | Do not overwrite the wildcard includes for the "lxml.includes" package when ↵Stefan Behnel2021-12-131-5/+7
| | | | | | | | adding installed header files.
* | Make sure the apidocs are generated from the freshly built modules.Stefan Behnel2021-12-131-1/+1
| |
* | Fix some doc links.Stefan Behnel2021-12-121-1/+2
| |
* | Prepare release of lxml 4.7.0.lxml-4.7.0Stefan Behnel2021-12-123-22/+10
| |
* | Merge branch 'lxml-4.6'Stefan Behnel2021-12-121-1/+6
|\ \ | |/