lxml 5.2.0__cp36-cp36m-manylinux_2_28_x86_64.whl → 5.2.1__cp36-cp36m-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
@@ -72,27 +72,20 @@ https://github.com/lxml/lxml/tarball/lxml-5.2#egg=lxml-5.2bugfix
72
72
  as soon as a maintenance branch has been established. Note that this
73
73
  requires Cython to be installed at an appropriate version for the build.
74
74
 
75
- 5.2.0 (2024-03-30)
75
+ 5.2.1 (2024-04-02)
76
76
  ==================
77
77
 
78
- Other changes
79
- -------------
78
+ Bugs fixed
79
+ ----------
80
80
 
81
- * LP#1958539: The ``lxml.html.clean`` implementation suffered from several (only if used)
82
- security issues in the past and was now extracted into a separate library:
81
+ * LP#2059910: The minimum CPU architecture for the Linux x86 binary wheels was set back to
82
+ "core2", but with SSE 4.2 enabled.
83
83
 
84
- https://github.com/fedora-python/lxml_html_clean
84
+ * LP#2059977: ``Element.iterfind("//absolute_path")`` failed with a ``SyntaxError``
85
+ where it should have issued a warning.
85
86
 
86
- Projects that use lxml without "lxml.html.clean" will not notice any difference,
87
- except that they won't have potentially vulnerable code installed.
88
- The module is available as an "extra" setuptools dependency "lxml[html_clean]",
89
- so that Projects that need "lxml.html.clean" will need to switch their requirements
90
- from "lxml" to "lxml[html_clean]", or install the new library themselves.
91
-
92
- * The minimum CPU architecture for the Linux x86 binary wheels was upgraded to
93
- "sandybridge" (launched 2011), and glibc 2.28 / gcc 12 (manylinux_2_28) wheels were added.
94
-
95
- * Built with Cython 3.0.10.
87
+ * GH#416: The documentation build was using the non-standard ``which`` command.
88
+ Patch by Michał Górny.
96
89
 
97
90
 
98
91
 
@@ -1,5 +1,5 @@
1
1
  lxml/xsltext.pxi,sha256=TImDiAPlAezC07P7RY1N9YChA7AuKFH-G53hXdel9yc,11088
2
- lxml/__init__.py,sha256=Mpi4eQ5gxfybcWhLB52YIBu0HOm9NN5mnDKaL7LAcU8,574
2
+ lxml/__init__.py,sha256=muWa7ZIKDJW7z7hAmmliO3nRMLRFeGHBjo7qnnf2mIk,574
3
3
  lxml/xslt.pxi,sha256=R2fpAf0P7GA1Dhjg0-fGVUbxCk8bBAshuoAs4ODwqlc,36023
4
4
  lxml/xpath.pxi,sha256=aqW24V817dUxps4Gnc8h7Tm3QVlITKvxU5_9WgJUIFg,19132
5
5
  lxml/docloader.pxi,sha256=bYSZAxxbBEfVzfLXTUWFRfOyUTfV23L7i9hR2dgtSNY,5772
@@ -7,30 +7,30 @@ lxml/iterparse.pxi,sha256=HcHYTLU6cs1R7GOik62rEkTebgsz1fYttk00iKfOtcw,16527
7
7
  lxml/_elementpath.py,sha256=5-PzX8ZIxPIvESKDGVL829sejYkvx991FSQyM-J0LqE,10888
8
8
  lxml/builder.py,sha256=XD0DQc_G-D950Ym2NwDqxF2v9frtldxdfmvYhxhpP64,8100
9
9
  lxml/parser.pxi,sha256=9R2rdzq1f8LOaKSAzAnFghB3rAspy4vcMTB6q8u0RSA,81866
10
- lxml/etree.pyx,sha256=-oH1Pu_lmkxekbcTCurR9AgSaEPn4OzuoQv3WIGKqgY,133851
11
- lxml/builder.cpython-36m-x86_64-linux-gnu.so,sha256=LTRNLPP-29dEsBz7UtfDsPlS6Znb85YSExwbK7alvwQ,104152
10
+ lxml/etree.pyx,sha256=dHJaEezpj2bZrsiUZgh5ypC79L3FPxMXRiHnGlBkOx8,133885
11
+ lxml/builder.cpython-36m-x86_64-linux-gnu.so,sha256=kNAfVfsFz4pq-QQ6BGLM4H73LiY5bVMs8W3BwFP0Ays,104152
12
12
  lxml/xinclude.pxi,sha256=7eBrI_OK47mmrHQ0ixbixRI8pKqQ1nwkMV-OmKUVlD4,2456
13
13
  lxml/serializer.pxi,sha256=3wqS0zC0Pgh5ev-8Mn3YB6sVeJVH_j7wjpzSEDVTdvM,67951
14
- lxml/etree.cpython-36m-x86_64-linux-gnu.so,sha256=t-1YnLSaIX6oAudmLiUXMIt8wjK1RPCSG4_VedWEgm4,5154024
14
+ lxml/etree.cpython-36m-x86_64-linux-gnu.so,sha256=9GPl36NH0zhwiLhsHkgrsJrxLoqs6q-CJtDZN4Zb5h8,5137640
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
27
  lxml/proxy.pxi,sha256=TPfavn4-ufhVlr-GKciz2qXCTUFtvGdxO-F-h30yIws,23697
28
- lxml/objectify.cpython-36m-x86_64-linux-gnu.so,sha256=6NXeLWlimVKDvP5YiE-pIUwVRqlhpU6tJ6l2xpq-VbE,3007848
28
+ lxml/objectify.cpython-36m-x86_64-linux-gnu.so,sha256=lrpYDCgHHeqq1jOZ6jNh_l_1Ub11WCdMYqfvfw1uGMI,3007848
29
29
  lxml/pyclasslookup.py,sha256=gLD1HM2HtITYYiGzjEOewSwbB7XkVx_NZv_quCt79Oc,92
30
- lxml/sax.cpython-36m-x86_64-linux-gnu.so,sha256=2_Zkpq0x9NmYhWvEE_zWrZIKvrcX8NzRGlaRWL6eb6o,182016
30
+ lxml/sax.cpython-36m-x86_64-linux-gnu.so,sha256=fW71g89ad7t3KLx2VYMD1hTYAtbQS6Fhi0F-qVXyWD4,182016
31
31
  lxml/cleanup.pxi,sha256=ZNEpbv7qx_ICPzsxhCaMUHCOfiznOoZ_u3jlYXHAuh4,8454
32
32
  lxml/schematron.pxi,sha256=hFn1p4egpvvz-Tkk2AH7cbVOavTC-A7mzHABHrGh7g4,5908
33
- lxml/_elementpath.cpython-36m-x86_64-linux-gnu.so,sha256=WtMFl3KtiZ5UfdZUg3eA-fzIZnmLBm7QN8_qgKCrtAc,204928
33
+ lxml/_elementpath.cpython-36m-x86_64-linux-gnu.so,sha256=pmkv6vkuQpvfEOKwQuZHRDkKpxeow4NUuMma-KxM4Ug,200832
34
34
  lxml/nsclasses.pxi,sha256=5pzNBhBtlqObPdThL9QIGRs1Dxj1qnr0PyXuTCURqTg,9129
35
35
  lxml/usedoctest.py,sha256=qRgZKQVcAZcl-zN0AIXVJnOsETUXz2nPXkxuzs1lGgk,230
36
36
  lxml/sax.py,sha256=8e9Ef4Cfbwr7AHMGCBBZcotBkOehQtdaCxsVCgWM5_c,9303
@@ -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
@@ -146,7 +146,7 @@ lxml/html/__init__.py,sha256=ap2X3ZzRaufsJppVEVa7ctw1bYtBfs7FSRBCUIKPyDk,64302
146
146
  lxml/html/builder.py,sha256=aRgS-Ea9bli-muGX0iUQGKAe9D93P8BspQ2WPuiWJcU,4492
147
147
  lxml/html/formfill.py,sha256=umgk0BbkAI1W6q9musFbL-cDnI_aap2NsLBJqk0UmVI,9681
148
148
  lxml/html/ElementSoup.py,sha256=s_dLobLMuKn2DhexR-iDXdZrMFg1RjLy1feHsIeZMpw,320
149
- lxml/html/diff.cpython-36m-x86_64-linux-gnu.so,sha256=m2-y3Ek8tJtE1qa9aOwSaZxF6v4Hhs_CgiDHCu7SNFc,372248
149
+ lxml/html/diff.cpython-36m-x86_64-linux-gnu.so,sha256=6L7dv0dEdWQpmmDwsU08dPkA6YspNbgh3ZOnBKbXdtU,368152
150
150
  lxml/html/_diffcommand.py,sha256=kz_7EP9PmYWuczlZcGiw74_rG0eTKvQ2lrO0rkiwlYE,2081
151
151
  lxml/html/defs.py,sha256=ZzOp2TmY9f_ein9GIcDPyN8-f5HVptzSj56umimWub4,4236
152
152
  lxml/html/_html5builder.py,sha256=NLaT-Ev-aBgJpeQl-6ZbJChLZK5GV-znDkHOJD5VQC4,3230
@@ -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=e-cC8AuLkvIAADe3w-p5fbROA82V_9mYhDF0X9j6YXw,3930
169
- lxml-5.2.0.dist-info/WHEEL,sha256=2o5WOWabEixCANJsjbRq-k-ysmAqlETlAIL-KeeJn3k,113
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=LvsGeUq-pMj-YMuQWVabGQihK-Z1wXw_KiBwwQXuuxg,3468
169
+ lxml-5.2.1.dist-info/WHEEL,sha256=2o5WOWabEixCANJsjbRq-k-ysmAqlETlAIL-KeeJn3k,113
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