lxml 5.2.0__pp37-pypy37_pp73-win_amd64.whl → 5.2.1__pp37-pypy37_pp73-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
lxml/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  # this is a package
2
2
 
3
- __version__ = "5.2.0"
3
+ __version__ = "5.2.1"
4
4
 
5
5
 
6
6
  def get_include():
lxml/etree.h CHANGED
@@ -66,7 +66,7 @@ struct LxmlElementTree {
66
66
  struct LxmlElement *_context_node;
67
67
  };
68
68
 
69
- /* "lxml/etree.pyx":2645
69
+ /* "lxml/etree.pyx":2646
70
70
  *
71
71
  *
72
72
  * cdef public class _ElementTagMatcher [ object LxmlElementTagMatcher, # <<<<<<<<<<<<<<
@@ -82,7 +82,7 @@ struct LxmlElementTagMatcher {
82
82
  char *_name;
83
83
  };
84
84
 
85
- /* "lxml/etree.pyx":2676
85
+ /* "lxml/etree.pyx":2677
86
86
  * self._name = NULL
87
87
  *
88
88
  * cdef public class _ElementIterator(_ElementTagMatcher) [ # <<<<<<<<<<<<<<
Binary file
lxml/etree.pyx CHANGED
@@ -2306,6 +2306,7 @@ cdef public class _ElementTree [ type LxmlElementTreeType,
2306
2306
  root = self.getroot()
2307
2307
  if _isString(path):
2308
2308
  if path[:1] == "/":
2309
+ path = "." + path
2309
2310
  from warnings import warn
2310
2311
  warn(
2311
2312
  "This search incorrectly ignores the root element, and will be "
@@ -1,3 +1,3 @@
1
1
  #ifndef LXML_VERSION_STRING
2
- #define LXML_VERSION_STRING "5.2.0"
2
+ #define LXML_VERSION_STRING "5.2.1"
3
3
  #endif
lxml/lxml.etree.h CHANGED
@@ -66,7 +66,7 @@ struct LxmlElementTree {
66
66
  struct LxmlElement *_context_node;
67
67
  };
68
68
 
69
- /* "lxml/etree.pyx":2645
69
+ /* "lxml/etree.pyx":2646
70
70
  *
71
71
  *
72
72
  * cdef public class _ElementTagMatcher [ object LxmlElementTagMatcher, # <<<<<<<<<<<<<<
@@ -82,7 +82,7 @@ struct LxmlElementTagMatcher {
82
82
  char *_name;
83
83
  };
84
84
 
85
- /* "lxml/etree.pyx":2676
85
+ /* "lxml/etree.pyx":2677
86
86
  * self._name = NULL
87
87
  *
88
88
  * cdef public class _ElementIterator(_ElementTagMatcher) [ # <<<<<<<<<<<<<<
Binary file
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: lxml
3
- Version: 5.2.0
3
+ Version: 5.2.1
4
4
  Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
5
5
  Home-page: https://lxml.de/
6
6
  Author: lxml dev team
@@ -71,26 +71,19 @@ https://github.com/lxml/lxml/tarball/lxml-5.2#egg=lxml-5.2bugfix
71
71
  as soon as a maintenance branch has been established. Note that this
72
72
  requires Cython to be installed at an appropriate version for the build.
73
73
 
74
- 5.2.0 (2024-03-30)
74
+ 5.2.1 (2024-04-02)
75
75
  ==================
76
76
 
77
- Other changes
78
- -------------
77
+ Bugs fixed
78
+ ----------
79
79
 
80
- * LP#1958539: The ``lxml.html.clean`` implementation suffered from several (only if used)
81
- security issues in the past and was now extracted into a separate library:
80
+ * LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
81
+ "core2", but with SSE 4.2 enabled.
82
82
 
83
- https://github.com/fedora-python/lxml_html_clean
83
+ * LP#2059977: ``Element.iterfind("//absolute_path")`` failed with a ``SyntaxError``
84
+ where it should have issued a warning.
84
85
 
85
- Projects that use lxml without "lxml.html.clean" will not notice any difference,
86
- except that they won't have potentially vulnerable code installed.
87
- The module is available as an "extra" setuptools dependency "lxml[html_clean]",
88
- so that Projects that need "lxml.html.clean" will need to switch their requirements
89
- from "lxml" to "lxml[html_clean]", or install the new library themselves.
90
-
91
- * The minimum CPU architecture for the Linux x86 binary wheels was upgraded to
92
- "sandybridge" (launched 2011), and glibc 2.28 / gcc 12 (manylinux_2_28) wheels were added.
93
-
94
- * Built with Cython 3.0.10.
86
+ * GH#416: The documentation build was using the non-standard ``which`` command.
87
+ Patch by Michał Górny.
95
88
 
96
89
 
@@ -1,5 +1,5 @@
1
1
  lxml/ElementInclude.py,sha256=pEvLKSyhNWtZTRr6liUJD-1mIqmbxbcurxcqZv7vNHg,8804
2
- lxml/__init__.py,sha256=TEO4qHIp8rUc_Gf_6LQtqWCYCuuYuZzSK_MR6i5OY88,596
2
+ lxml/__init__.py,sha256=tzYdqsFAQjFVtpQ0r5v4iCKYBxYL3QCUaYNNBsKYgRc,596
3
3
  lxml/_elementpath.py,sha256=waZwwmgKbOlNaztLRUOXWBnHnZdQwDWwv7M0GgHwJ44,11229
4
4
  lxml/apihelpers.pxi,sha256=4S__cOXO4gq5tsr453GJPeRdbqI5B830SFYsxyUPok0,65403
5
5
  lxml/builder.py,sha256=5P0LKYgwJws2fmKAZOr9gkqsBtY-lUC9LDF2W5B5Aik,8332
@@ -10,16 +10,16 @@ lxml/debug.pxi,sha256=HdUEKw8hU1Wzz4nO3hheqrauZlPATsv7N4QPQxCdth4,3372
10
10
  lxml/docloader.pxi,sha256=tP6b_zZ5s0-Zj2kf2mFksI8U5whArwOVDOVuaZcbgtM,5950
11
11
  lxml/doctestcompare.py,sha256=1r23O3Ki1BypqzkVWh97FEdRq-ENvmFEWuABOWdE0Lo,18219
12
12
  lxml/dtd.pxi,sha256=-M93Bx2WbDuyjTW1Btl2eG0U7q7YtkAU9sz9ZQ_5pa4,15706
13
- lxml/etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
14
- lxml/etree.pypy37-pp73-win_amd64.pyd,sha256=d6aWHbikQ-0gSPjLulSxT8oWDDiDHomdeuTsmmljT2g,3969536
15
- lxml/etree.pyx,sha256=58IECKq3vwBdGgqwvAGnDclq6t7YALya1QKx4Sq3UIo,137562
13
+ lxml/etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
14
+ lxml/etree.pypy37-pp73-win_amd64.pyd,sha256=wchSR9ZUl7c06Ezn1hP-jpHzfmHbbKjvSQ6o3jG90-4,3969536
15
+ lxml/etree.pyx,sha256=NYTMRlUmCau1qaPlc9OEe7lsGUq6MVLkic8gZmjBEkg,137597
16
16
  lxml/etree_api.h,sha256=XDHi7lgGoIcyoS8hB27di8OAb0RC6ubGs3ETzd3KDSE,17063
17
17
  lxml/extensions.pxi,sha256=s3IkovN6q7I1lvAEs3rh7F-8TtTjTGXRSkptYV9012I,32921
18
18
  lxml/iterparse.pxi,sha256=u-fbcHXv9WPz6aOnexe4Vwv5zHJz0-Gc8ScOL-qhcpQ,16965
19
- lxml/lxml.etree.h,sha256=zgtcFHt9qYDpigXdLOAmM5uwoDBl5SKTVVFtt-9JseE,10160
19
+ lxml/lxml.etree.h,sha256=1pHssiGfgydjVlSwEGghrwF4_y2kyELiSojvGEhFHzw,10160
20
20
  lxml/lxml.etree_api.h,sha256=vBxFPTxggSL251E5RupQ5ylcFTgKBxQJtF9dnmaofzI,17263
21
21
  lxml/nsclasses.pxi,sha256=9TiZjPbP73H8VN0Xu1RmuRB7G-D0pTTSqLPbdTJQt5U,9410
22
- lxml/objectify.pypy37-pp73-win_amd64.pyd,sha256=MEa8eAlfCyOEwaMGEvHFmLydPh2VUcz_xZHDiNDjpoY,1721344
22
+ lxml/objectify.pypy37-pp73-win_amd64.pyd,sha256=GD_vhaHeRhGMW-SuFApq19I687EVdSXIdcHDWLB1RUk,1721344
23
23
  lxml/objectify.pyx,sha256=IngqdSCtxUav_NklHutFR92AuuNfr9nYchEY3Zprchc,77880
24
24
  lxml/objectpath.pxi,sha256=og7LX-a88RrgJI3lUAtuJ8Hvx4RpNf57k7pmafzCuCA,11782
25
25
  lxml/parser.pxi,sha256=i4OJWLw7PbCMteTM5n-ur7LOhgy3cTNus5h_iy5-Dfo,83860
@@ -62,7 +62,7 @@ lxml/includes/dtdvalid.pxd,sha256=VOt94bqe417bxvfkfbtbsd5kVnwQj4oYSHMfnV2pcsM,70
62
62
  lxml/includes/etree_defs.h,sha256=XXz1CliDqEBPvxGNtnmYEwE6D1Xtdib1sMk9JvvkHDM,14624
63
63
  lxml/includes/etreepublic.pxd,sha256=s2HRJSuZhwlDi3oHsSBPChA4dgTnWjWWMzBb3VxrtJw,10421
64
64
  lxml/includes/htmlparser.pxd,sha256=UEV2wIp8RHekwUAcPWMQe8KBfEv39u0c3LHOsdvRr0k,2858
65
- lxml/includes/lxml-version.h,sha256=HyJyiOa7-c-4HW0sw2ojdkbxxAqq1-vGz4btFfmUl_I,74
65
+ lxml/includes/lxml-version.h,sha256=mC7fdlttvjzautEbr-o-68YHVS5tRvZJLPoqsjmXNy4,74
66
66
  lxml/includes/relaxng.pxd,sha256=H5W5XObI5YtRpULeiRy6K6ldUZC0tDQauAFZ7PJSqE4,2679
67
67
  lxml/includes/schematron.pxd,sha256=JmKDG9ElNPXJ7rZzOpQjPaIdzIZ1pzMEOT_GjZRK98U,1638
68
68
  lxml/includes/tree.pxd,sha256=Uo6hPybaSgh6P9YdQfpr0mftCrSyYZ_w_Z0FyCtOr1c,20885
@@ -163,9 +163,9 @@ lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
163
163
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl,sha256=Vo1F576odRkdLBmuEEWrLa5LF3SMTX9B6EEGnxUbv_8,73560
164
164
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl,sha256=UI7xHx0leNXS9BaU6cyQ4CHeflufKmAE-zjOrihuH-E,20970
165
165
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt,sha256=OGLiFswuLJEW5EPYKOeoauuCJFEtVa6jyzBE1OcJI98,3310
166
- lxml-5.2.0.dist-info/LICENSE.txt,sha256=tircdrXghpYNqK2q-tqeBOMqrzXhzLFM71dCQFqu0nw,1517
167
- lxml-5.2.0.dist-info/LICENSES.txt,sha256=zlP1CNDLiL20Yh4jbKNIgaP6GAX5ffzPOJYBKKTi6tk,1543
168
- lxml-5.2.0.dist-info/METADATA,sha256=gCGXmTV7RgSIHIq7xFYGiju4wQZbxv3ohyNG8MJVWPk,4002
169
- lxml-5.2.0.dist-info/WHEEL,sha256=ML1L0FmYwxoYoLdb_Zqc0Tz4DrTT8EH0fLp885A_zI0,107
170
- lxml-5.2.0.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
171
- lxml-5.2.0.dist-info/RECORD,,
166
+ lxml-5.2.1.dist-info/LICENSE.txt,sha256=tircdrXghpYNqK2q-tqeBOMqrzXhzLFM71dCQFqu0nw,1517
167
+ lxml-5.2.1.dist-info/LICENSES.txt,sha256=zlP1CNDLiL20Yh4jbKNIgaP6GAX5ffzPOJYBKKTi6tk,1543
168
+ lxml-5.2.1.dist-info/METADATA,sha256=VmZHKN68I3oth5F5GL2yItClDMbCa-6Hxne8JLsILsc,3533
169
+ lxml-5.2.1.dist-info/WHEEL,sha256=ML1L0FmYwxoYoLdb_Zqc0Tz4DrTT8EH0fLp885A_zI0,107
170
+ lxml-5.2.1.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
171
+ lxml-5.2.1.dist-info/RECORD,,
File without changes