lxml 5.2.0__cp312-cp312-manylinux_2_28_x86_64.whl → 5.2.1__cp312-cp312-manylinux_2_28_x86_64.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():
Binary file
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) [ # <<<<<<<<<<<<<<
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,7 +1,7 @@
1
- lxml/sax.cpython-312-x86_64-linux-gnu.so,sha256=IR2klcdQKHf_OAXNSHGVJN8QtSg-bGmObYhjlntEnAg,181920
2
- lxml/_elementpath.cpython-312-x86_64-linux-gnu.so,sha256=fFrmSIy5YrlrxkaIffEEsxTmOUULJ-0UcIF-vkMbNx8,200896
1
+ lxml/sax.cpython-312-x86_64-linux-gnu.so,sha256=m2VsMLblrJHQySVVRgHmG9NCPHui8VEL0-6JfmXtoHk,177824
2
+ lxml/_elementpath.cpython-312-x86_64-linux-gnu.so,sha256=CNbmkA7_herqjsgBal-DIZu2ofF2appibmzMEqXkloI,200896
3
3
  lxml/xsltext.pxi,sha256=TImDiAPlAezC07P7RY1N9YChA7AuKFH-G53hXdel9yc,11088
4
- lxml/__init__.py,sha256=Mpi4eQ5gxfybcWhLB52YIBu0HOm9NN5mnDKaL7LAcU8,574
4
+ lxml/__init__.py,sha256=muWa7ZIKDJW7z7hAmmliO3nRMLRFeGHBjo7qnnf2mIk,574
5
5
  lxml/xslt.pxi,sha256=R2fpAf0P7GA1Dhjg0-fGVUbxCk8bBAshuoAs4ODwqlc,36023
6
6
  lxml/xpath.pxi,sha256=aqW24V817dUxps4Gnc8h7Tm3QVlITKvxU5_9WgJUIFg,19132
7
7
  lxml/docloader.pxi,sha256=bYSZAxxbBEfVzfLXTUWFRfOyUTfV23L7i9hR2dgtSNY,5772
@@ -9,22 +9,22 @@ lxml/iterparse.pxi,sha256=HcHYTLU6cs1R7GOik62rEkTebgsz1fYttk00iKfOtcw,16527
9
9
  lxml/_elementpath.py,sha256=5-PzX8ZIxPIvESKDGVL829sejYkvx991FSQyM-J0LqE,10888
10
10
  lxml/builder.py,sha256=XD0DQc_G-D950Ym2NwDqxF2v9frtldxdfmvYhxhpP64,8100
11
11
  lxml/parser.pxi,sha256=9R2rdzq1f8LOaKSAzAnFghB3rAspy4vcMTB6q8u0RSA,81866
12
- lxml/etree.pyx,sha256=-oH1Pu_lmkxekbcTCurR9AgSaEPn4OzuoQv3WIGKqgY,133851
12
+ lxml/etree.pyx,sha256=dHJaEezpj2bZrsiUZgh5ypC79L3FPxMXRiHnGlBkOx8,133885
13
13
  lxml/xinclude.pxi,sha256=7eBrI_OK47mmrHQ0ixbixRI8pKqQ1nwkMV-OmKUVlD4,2456
14
14
  lxml/serializer.pxi,sha256=3wqS0zC0Pgh5ev-8Mn3YB6sVeJVH_j7wjpzSEDVTdvM,67951
15
15
  lxml/xmlschema.pxi,sha256=mumNoHni5S3BQPtcmOHRd61KRaVWu4eOie2wQeB0e6E,8490
16
16
  lxml/saxparser.pxi,sha256=9nJEnVFFFx7vueUJ3fSeDjxG4gLgrXsDBWVkD_f8U1Q,33322
17
17
  lxml/etree_api.h,sha256=XDHi7lgGoIcyoS8hB27di8OAb0RC6ubGs3ETzd3KDSE,17063
18
18
  lxml/doctestcompare.py,sha256=40EDnkwpcvW86qNa86990OXF42xdHaosSZoiBsEjkzU,17731
19
- lxml/lxml.etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
19
+ lxml/lxml.etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
20
20
  lxml/parsertarget.pxi,sha256=v1PidxRaG5giwXcTDkpBI7PDFmsZuOcK0y9LdkQaY8M,6326
21
- lxml/etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
21
+ lxml/etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
22
22
  lxml/xmlid.pxi,sha256=5zf9oR6bsCtavGiOmilNyHqYwgG_bnrIabSd2SURtm0,6073
23
23
  lxml/public-api.pxi,sha256=XoP6_cJOEoQIItvE1RiYCKYD1ry4AobaOr4XLo0KSE4,6666
24
24
  lxml/ElementInclude.py,sha256=PSLeZFvCa76WHJulPLxcZXJtCI2-4dK2CtqPRiYOAQg,8560
25
25
  lxml/objectify.pyx,sha256=pvaZmS21G-qlNjPuVaB_dgGgi0alxNALo7gFOV8Ispc,75735
26
26
  lxml/lxml.etree_api.h,sha256=10b-ePscCH-tL0k-Ve4JD109sxsFJQnNcLXet_7U8wc,17068
27
- lxml/builder.cpython-312-x86_64-linux-gnu.so,sha256=VNsolp3Aq9gfyaT-aP08a4x13aQdKtf3yeVDe90-nwg,116536
27
+ lxml/builder.cpython-312-x86_64-linux-gnu.so,sha256=JlcvCpdPnYk9shu1iH2hJSEntxo6aZka0GSJ1WwnJDo,116536
28
28
  lxml/proxy.pxi,sha256=TPfavn4-ufhVlr-GKciz2qXCTUFtvGdxO-F-h30yIws,23697
29
29
  lxml/pyclasslookup.py,sha256=gLD1HM2HtITYYiGzjEOewSwbB7XkVx_NZv_quCt79Oc,92
30
30
  lxml/cleanup.pxi,sha256=ZNEpbv7qx_ICPzsxhCaMUHCOfiznOoZ_u3jlYXHAuh4,8454
@@ -34,7 +34,7 @@ lxml/usedoctest.py,sha256=qRgZKQVcAZcl-zN0AIXVJnOsETUXz2nPXkxuzs1lGgk,230
34
34
  lxml/sax.py,sha256=8e9Ef4Cfbwr7AHMGCBBZcotBkOehQtdaCxsVCgWM5_c,9303
35
35
  lxml/readonlytree.pxi,sha256=ddRYczhHieJ4XUvWvTPW9N9oQ8vuKtv7lC1mtE1qvH8,18976
36
36
  lxml/objectpath.pxi,sha256=s5TNG2-EbaWWKLFAiX303B95zK_Ui8ausB__3QvFFGw,11450
37
- lxml/etree.cpython-312-x86_64-linux-gnu.so,sha256=W374xO6QvkrUe2VJwPky7uo2tiRWhz5fM0eQT8mOV8Q,5308680
37
+ lxml/etree.cpython-312-x86_64-linux-gnu.so,sha256=qZrT5wN6leh6eATrYZTfhNTJtXpZQhCa3Gqh33oeIqM,5296392
38
38
  lxml/debug.pxi,sha256=zhxiMeNnKtkjn_FWboHk1T-Vtcg_vEGV8jfYK0XyXHM,3282
39
39
  lxml/xmlerror.pxi,sha256=K7YIB21sLWdf_2GxyUymRZ5vDr3O4OJ5vGjrklBGa6o,49854
40
40
  lxml/classlookup.pxi,sha256=Tax8Vhbm5C6UCjgmRFsYjW0pFHxIuTthH1MOgASDLgc,22435
@@ -43,7 +43,7 @@ lxml/relaxng.pxi,sha256=3OQ-fZMzP-KF5vM6HTozT_9ee3J0DJnpj9RcHC8LoMw,6339
43
43
  lxml/apihelpers.pxi,sha256=zipCUecXzy5INij_qdEEqZoLp9LYB3CJQUzIzFVH1Ow,63610
44
44
  lxml/extensions.pxi,sha256=58O6mBbDeWnkiIsRd9T7mLodylo7typz2dbjpJryAyY,32088
45
45
  lxml/cssselect.py,sha256=_wZdX-B9p5MeIYABmENIYRWEkwXwX-7jO8Dkf-1rUZU,3306
46
- lxml/objectify.cpython-312-x86_64-linux-gnu.so,sha256=axLrg3DCaQAgV7XZEGiukLO6o30tcqmtFZ6Y9JMeRZk,3077576
46
+ lxml/objectify.cpython-312-x86_64-linux-gnu.so,sha256=bYCzEqaCxGqHiXnmS4blBhw_4i-NOwmUXCU5hpONdvU,3077576
47
47
  lxml/includes/__init__.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
48
48
  lxml/includes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
49
49
  lxml/includes/etree_defs.h,sha256=wWC0nsE3NCLBABsKjo_UMBtUJr7yPL7-e8OLc-tGI5o,14245
@@ -56,7 +56,7 @@ lxml/includes/xinclude.pxd,sha256=CuO_XZNB6E2JK1qXXWn11APrjFQV5kA6SMyb77WZn0A,80
56
56
  lxml/includes/c14n.pxd,sha256=DBQcOJ0c_YS245ohMb8fmuEC1kFyv1LrNY_8Mf-syZg,1110
57
57
  lxml/includes/xmlschema.pxd,sha256=OLZPd2WDJyopiXJJyo-dAyyYHaeSYFiMAI4tqIiv-Ik,1702
58
58
  lxml/includes/htmlparser.pxd,sha256=9uASkP5dU7OE2lCOLT-z2e01qSbFlp4ehgwdostF_qk,2802
59
- lxml/includes/lxml-version.h,sha256=JU2UWZb9db5vlZvNRjfK3q4GnAEWshW-Qm4nW85L5ig,71
59
+ lxml/includes/lxml-version.h,sha256=2fN0JTHAnzy65wnMxsss7l72xTYbVKZiJMDuIOQaai0,71
60
60
  lxml/includes/xmlparser.pxd,sha256=d79Wmyof6BX_rjBkKYyDXhBBC3O-yCfyhx8PrI0wm5E,11434
61
61
  lxml/includes/config.pxd,sha256=H6Mrl8It21hzRI2hzMId9W48QqkYYkoLT4dniLNmdTw,96
62
62
  lxml/includes/dtdvalid.pxd,sha256=Nv0OykjYehv2lO-Zj--q6jS3TAC_dvQVPSgPMuse1NM,689
@@ -144,7 +144,7 @@ lxml/html/diff.py,sha256=n2jMJW8D2OYfG-SKbdmpSjZ3Lwk516WwJfMn6yvQiuM,30393
144
144
  lxml/html/soupparser.py,sha256=xo8VvNeOEb-SChuXLKCRECh8J7HBiJLE9sAbEskoUUQ,10197
145
145
  lxml/html/__init__.py,sha256=ap2X3ZzRaufsJppVEVa7ctw1bYtBfs7FSRBCUIKPyDk,64302
146
146
  lxml/html/builder.py,sha256=aRgS-Ea9bli-muGX0iUQGKAe9D93P8BspQ2WPuiWJcU,4492
147
- lxml/html/diff.cpython-312-x86_64-linux-gnu.so,sha256=cqI8Vm5h8fc4wDfSnzwDOWPr_KyGDbMNlQvp-9Fi1T0,352440
147
+ lxml/html/diff.cpython-312-x86_64-linux-gnu.so,sha256=BGvfXkxFYgxHwf9kAa8xB74ZrEuYB47vqIbtFfxtiKs,352440
148
148
  lxml/html/formfill.py,sha256=umgk0BbkAI1W6q9musFbL-cDnI_aap2NsLBJqk0UmVI,9681
149
149
  lxml/html/ElementSoup.py,sha256=s_dLobLMuKn2DhexR-iDXdZrMFg1RjLy1feHsIeZMpw,320
150
150
  lxml/html/_diffcommand.py,sha256=kz_7EP9PmYWuczlZcGiw74_rG0eTKvQ2lrO0rkiwlYE,2081
@@ -164,9 +164,9 @@ lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
164
164
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl,sha256=xSZ_Ekq_I-62ZpiE5AqYYHwFW_qh855zt9V4_s7rbkY,11703
165
165
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl,sha256=BBAdsVSi5zAzeGepuN6gS1saQINDqITXKplmmj4dTWg,20382
166
166
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl,sha256=x42QJ-dxQ1waPzydsCoQnp2Xj15y53nW43O7BuoDRHk,39957
167
- lxml-5.2.0.dist-info/RECORD,,
168
- lxml-5.2.0.dist-info/METADATA,sha256=4XwB8y7uVPKRdzYTbJ0nwzqLByqlT41NgjkS-DN-KMk,3906
169
- lxml-5.2.0.dist-info/WHEEL,sha256=h5hc8tISCKpr_xclAfLoW0tDQH0gc8b3woxL8pJ9CGY,114
170
- lxml-5.2.0.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
171
- lxml-5.2.0.dist-info/LICENSES.txt,sha256=QdSd1AaqDhVIptXyGjDWv2OLPNlutyid00jYPtLkA5I,1514
172
- lxml-5.2.0.dist-info/LICENSE.txt,sha256=ae20RcEzWoMS1MCScYR-mVbYTw2fck0SU0DMP612eyo,1488
167
+ lxml-5.2.1.dist-info/RECORD,,
168
+ lxml-5.2.1.dist-info/METADATA,sha256=gOuJgh--uI1YuhrzK8UoTG-oBMJJB1tljdEWH-Y9_Aw,3444
169
+ lxml-5.2.1.dist-info/WHEEL,sha256=h5hc8tISCKpr_xclAfLoW0tDQH0gc8b3woxL8pJ9CGY,114
170
+ lxml-5.2.1.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
171
+ lxml-5.2.1.dist-info/LICENSES.txt,sha256=QdSd1AaqDhVIptXyGjDWv2OLPNlutyid00jYPtLkA5I,1514
172
+ lxml-5.2.1.dist-info/LICENSE.txt,sha256=ae20RcEzWoMS1MCScYR-mVbYTw2fck0SU0DMP612eyo,1488
File without changes