summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2018-09-09 17:00:48 +0200
committerStefan Behnel <stefan_ml@behnel.de>2018-09-09 17:00:48 +0200
commit26dfc89c8f6e603487bac4f4476993a70ce695d3 (patch)
treec43710cef6bac6bd75e6fde414dc20ac7a9a7ec8
parent6be1d081b49c97cfd7b3fbd934a193b668629109 (diff)
downloadpython-lxml-26dfc89c8f6e603487bac4f4476993a70ce695d3.tar.gz
Prepare release of lxml 4.2.5.
-rw-r--r--CHANGES.txt10
-rw-r--r--doc/main.txt10
-rwxr-xr-xtools/manylinux/build-wheels.sh8
-rw-r--r--version.txt2
4 files changed, 24 insertions, 6 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 06ca52d7..7e2814b6 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -2,6 +2,16 @@
lxml changelog
==============
+4.2.5 (2018-09-09)
+==================
+
+Bugs fixed
+----------
+
+* Javascript URLs that used URL escaping were not removed by the HTML cleaner.
+ Security problem found by Omar Eissa.
+
+
4.2.4 (2018-08-03)
==================
diff --git a/doc/main.txt b/doc/main.txt
index ffc6539c..0ca560d4 100644
--- a/doc/main.txt
+++ b/doc/main.txt
@@ -157,8 +157,8 @@ Index <http://pypi.python.org/pypi/lxml/>`_ (PyPI). It has the source
that compiles on various platforms. The source distribution is signed
with `this key <pubkey.asc>`_.
-The latest version is `lxml 4.2.4`_, released 2018-08-03
-(`changes for 4.2.4`_). `Older versions <#old-versions>`_
+The latest version is `lxml 4.2.5`_, released 2018-09-09
+(`changes for 4.2.5`_). `Older versions <#old-versions>`_
are listed below.
Please take a look at the
@@ -250,7 +250,9 @@ See the websites of lxml
..
and the `latest in-development version <http://lxml.de/dev/>`_.
-.. _`PDF documentation`: lxmldoc-4.2.4.pdf
+.. _`PDF documentation`: lxmldoc-4.2.5.pdf
+
+* `lxml 4.2.5`_, released 2018-09-09 (`changes for 4.2.5`_)
* `lxml 4.2.4`_, released 2018-08-03 (`changes for 4.2.4`_)
@@ -272,6 +274,7 @@ See the websites of lxml
* `older releases <http://lxml.de/3.7/#old-versions>`_
+.. _`lxml 4.2.5`: /files/lxml-4.2.5.tgz
.. _`lxml 4.2.4`: /files/lxml-4.2.4.tgz
.. _`lxml 4.2.3`: /files/lxml-4.2.3.tgz
.. _`lxml 4.2.2`: /files/lxml-4.2.2.tgz
@@ -282,6 +285,7 @@ See the websites of lxml
.. _`lxml 4.0.0`: /files/lxml-4.0.0.tgz
.. _`lxml 3.8.0`: /files/lxml-3.8.0.tgz
+.. _`changes for 4.2.5`: /changes-4.2.5.html
.. _`changes for 4.2.4`: /changes-4.2.4.html
.. _`changes for 4.2.3`: /changes-4.2.3.html
.. _`changes for 4.2.2`: /changes-4.2.2.html
diff --git a/tools/manylinux/build-wheels.sh b/tools/manylinux/build-wheels.sh
index da748fbc..531091e6 100755
--- a/tools/manylinux/build-wheels.sh
+++ b/tools/manylinux/build-wheels.sh
@@ -24,12 +24,16 @@ build_wheel() {
-w /io/$WHEELHOUSE
}
-assert_importable() {
+run_tests() {
# Install packages and test
for PYBIN in /opt/python/*/bin/; do
${PYBIN}/pip install $PACKAGE --no-index -f /io/$WHEELHOUSE
+ # check import as a quick test
(cd $HOME; ${PYBIN}/python -c 'import lxml.etree, lxml.objectify')
+
+ # run tests
+ (cd $HOME; ${PYBIN}/python /io/test.py)
done
}
@@ -76,5 +80,5 @@ show_wheels() {
prepare_system
build_wheels
repair_wheels
-assert_importable
+run_tests
show_wheels
diff --git a/version.txt b/version.txt
index cf78d5b6..df0228df 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-4.2.4
+4.2.5