pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/py-lxml
Module Name: pkgsrc
Committed By: wiz
Date: Sun Nov 29 15:49:52 UTC 2026
Modified Files:
pkgsrc/textproc/py-lxml: Makefile distinfo
Log Message:
py-lxml: update to 6.2.0.
6.2.0 (2026-11-27)
==================
This release contains several security fixes. Upgrading is recommended.
Bugs fixed
----------
* GHSA-23p9-v872-36p9: Passing ``CDATA()`` wrapped content ending with a bare ``]`` character
into an ``xmlfile`` reads arbitrary data from the Python heap and includes it in the generated XML document.
This allows reading random content from the application memory and/or crashing the application.
Issue found by shaggitza.
* GHSA-59qx-3jjv-x996: Parsing a document defining a non-wellformed entity with the default configuration
of ``iterparse()`` could crash the application.
This issue is network exploitable if the application parses untrusted documents from remote sites.
Issue found by Claude and Ada Logics.
* GHSA-27mw-m39x-fm32: Comments and PIs from the internal/external DTD subsets were reported
through the SAX/target-parser and iterparse/pull parser interfaces which could lead to internal
memory corruption and crashes. They are no longer reported.
Issue found by Claude and Ada Logics.
* GH#550: The output of ``htmldiff()`` could contain unescaped links, allowing for content injection.
Patch by Nayana-Naik73.
* LP#2011542: A processing instruction after the root element crashed ``lxml.sax.ElementTreeContentHandler``
with ``IndexError``. It is now kept as following sibling.
Patch by cherith.
* LP#2175761: Resolvers that returned a string with a ``base_url`` leaked a copy of the URL with
libxml2 2.14 and later.
Patch by Pierre-Yves Le Borgne.
* GH#546: ``lxml.html.diff`` is a bit more stable on PyPy.
Patch by Matti Picus.
* The souppoarser did not immediately close the file after parsing if it opened it.
* The parallel ``make`` execution during library build could fail
when it tries to request more CPUs than available.
* LP#2175761: The C code that Cython generates for ``lxml.etree`` no longer depends on ``PYTHONHASHSEED``.
The exact C types that Cython inferred for some untyped variables was not deterministic.
It is now statically declared.
Patch by Pierre-Yves Le Borgne.
To generate a diff of this commit:
cvs rdiff -u -r1.135 -r1.136 pkgsrc/textproc/py-lxml/Makefile
cvs rdiff -u -r1.88 -r1.89 pkgsrc/textproc/py-lxml/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/py-lxml/Makefile
diff -u pkgsrc/textproc/py-lxml/Makefile:1.135 pkgsrc/textproc/py-lxml/Makefile:1.136
--- pkgsrc/textproc/py-lxml/Makefile:1.135 Wed Nov 11 11:55:59 2026
+++ pkgsrc/textproc/py-lxml/Makefile Sun Nov 29 15:49:52 2026
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.135 2026/11/11 11:55:59 wiz Exp $
+# $NetBSD: Makefile,v 1.136 2026/11/29 15:49:52 wiz Exp $
-DISTNAME= lxml-6.1.3
+DISTNAME= lxml-6.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/lxml/}
@@ -21,17 +20,14 @@ USE_CC_FEATURES= c99
# 'for' loop initial declarations are only allowed in C99 mode
FORCE_C_STD= gnu99
-# as of 5.3.0, tests only work if lxml is built in-tree
-# pkgsrc defaults to out-of-src-tree though
-#
-# to manually test:
-# make patch
-# cd ${WRKSRC}
-# python3.13 setup.py build_ext -i
-# python3.13 test.py
+# as of 6.2.0
+# Ran 2028 tests in 4.781s
-# as of 6.0.0 this gives:
-# Ran 2003 tests in 5.956s
+pre-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py build_ext --inplace
+
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} test.py
PYTHON_VERSIONS_INCOMPATIBLE= 311
Index: pkgsrc/textproc/py-lxml/distinfo
diff -u pkgsrc/textproc/py-lxml/distinfo:1.88 pkgsrc/textproc/py-lxml/distinfo:1.89
--- pkgsrc/textproc/py-lxml/distinfo:1.88 Wed Sep 2 19:31:15 2026
+++ pkgsrc/textproc/py-lxml/distinfo Sun Nov 29 15:49:52 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.88 2026/09/02 19:31:15 adam Exp $
+$NetBSD: distinfo,v 1.89 2026/11/29 15:49:52 wiz Exp $
-BLAKE2s (lxml-6.1.3.tar.gz) = 773166252561013df684ddce2e9bd2280becd10815ee4cdd6747eab5606350fc
-SHA512 (lxml-6.1.3.tar.gz) = 9cebd4f0a6218bbfaa618704e6694f4a1558d64d96067ba1e2aa7604513248934dffbc45b622d2ac4bdc790034adfd59b029ec8b5396d49b9d903b960f215014
-Size (lxml-6.1.3.tar.gz) = 4211198 bytes
+BLAKE2s (lxml-6.2.0.tar.gz) = 88f788c08f5776e503322ab7805c2ad0f748de1284fc418e582008cae807fd53
+SHA512 (lxml-6.2.0.tar.gz) = 09ed73eefc1eadd49320846fd0f43004d7c73a4dda5ee07b89b6743e0313b8c8f1c3168a8e69d5123ee98bb1d4ae72fea8415e23a8423c2dbedeccc907b3b846
+Size (lxml-6.2.0.tar.gz) = 4479771 bytes
SHA1 (patch-setupinfo.py) = 43ac54758b37c79329a4dabae1c3240661193885
Home |
Main Index |
Thread Index |
Old Index