lxml 5.2.0__cp36-cp36m-macosx_10_9_x86_64.whl → 5.2.1__cp36-cp36m-macosx_10_9_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
Binary file
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 "
Binary file
@@ -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
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,9 +1,9 @@
1
1
  lxml/ElementInclude.py,sha256=PSLeZFvCa76WHJulPLxcZXJtCI2-4dK2CtqPRiYOAQg,8560
2
- lxml/__init__.py,sha256=Mpi4eQ5gxfybcWhLB52YIBu0HOm9NN5mnDKaL7LAcU8,574
3
- lxml/_elementpath.cpython-36m-darwin.so,sha256=V5KRBg9yUUN2gMxOyesOKsOADeHpAkNzUJouvykNWkE,227488
2
+ lxml/__init__.py,sha256=muWa7ZIKDJW7z7hAmmliO3nRMLRFeGHBjo7qnnf2mIk,574
3
+ lxml/_elementpath.cpython-36m-darwin.so,sha256=tAcrmMbxcLVqEI9amq0FtBwCwXRAG6nJz8xSJyD-2lc,227488
4
4
  lxml/_elementpath.py,sha256=5-PzX8ZIxPIvESKDGVL829sejYkvx991FSQyM-J0LqE,10888
5
5
  lxml/apihelpers.pxi,sha256=zipCUecXzy5INij_qdEEqZoLp9LYB3CJQUzIzFVH1Ow,63610
6
- lxml/builder.cpython-36m-darwin.so,sha256=cVMip11sf66NpjR-ebZItb1wBZ3v3QdmJ2yLe8O9XB4,130360
6
+ lxml/builder.cpython-36m-darwin.so,sha256=P2f3vbu2Vp83PIqFYSL0ruM6Ma7hqtCah3JqMjvgzY4,130360
7
7
  lxml/builder.py,sha256=XD0DQc_G-D950Ym2NwDqxF2v9frtldxdfmvYhxhpP64,8100
8
8
  lxml/classlookup.pxi,sha256=Tax8Vhbm5C6UCjgmRFsYjW0pFHxIuTthH1MOgASDLgc,22435
9
9
  lxml/cleanup.pxi,sha256=ZNEpbv7qx_ICPzsxhCaMUHCOfiznOoZ_u3jlYXHAuh4,8454
@@ -12,16 +12,16 @@ lxml/debug.pxi,sha256=zhxiMeNnKtkjn_FWboHk1T-Vtcg_vEGV8jfYK0XyXHM,3282
12
12
  lxml/docloader.pxi,sha256=bYSZAxxbBEfVzfLXTUWFRfOyUTfV23L7i9hR2dgtSNY,5772
13
13
  lxml/doctestcompare.py,sha256=40EDnkwpcvW86qNa86990OXF42xdHaosSZoiBsEjkzU,17731
14
14
  lxml/dtd.pxi,sha256=y2i_PVKnlWCe9VGchgM6t8lIljtVfbWSXuWC-rEbzeE,15228
15
- lxml/etree.cpython-36m-darwin.so,sha256=BM00rszvXgSkI_szwZHGTR9KsW23hWSIw0NMn7Hzo2w,5317384
16
- lxml/etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
17
- lxml/etree.pyx,sha256=-oH1Pu_lmkxekbcTCurR9AgSaEPn4OzuoQv3WIGKqgY,133851
15
+ lxml/etree.cpython-36m-darwin.so,sha256=KfMVSmvguEfKIkTwgMOWaQbXjZMVTR3AsVSvY4Ryroo,5317384
16
+ lxml/etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
17
+ lxml/etree.pyx,sha256=dHJaEezpj2bZrsiUZgh5ypC79L3FPxMXRiHnGlBkOx8,133885
18
18
  lxml/etree_api.h,sha256=XDHi7lgGoIcyoS8hB27di8OAb0RC6ubGs3ETzd3KDSE,17063
19
19
  lxml/extensions.pxi,sha256=58O6mBbDeWnkiIsRd9T7mLodylo7typz2dbjpJryAyY,32088
20
20
  lxml/iterparse.pxi,sha256=HcHYTLU6cs1R7GOik62rEkTebgsz1fYttk00iKfOtcw,16527
21
- lxml/lxml.etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
21
+ lxml/lxml.etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
22
22
  lxml/lxml.etree_api.h,sha256=10b-ePscCH-tL0k-Ve4JD109sxsFJQnNcLXet_7U8wc,17068
23
23
  lxml/nsclasses.pxi,sha256=5pzNBhBtlqObPdThL9QIGRs1Dxj1qnr0PyXuTCURqTg,9129
24
- lxml/objectify.cpython-36m-darwin.so,sha256=afHMCENKs4gAyGeqfzCmIjByMhUh0jMEvFN1kIlHw9s,3006616
24
+ lxml/objectify.cpython-36m-darwin.so,sha256=OtRf2RS2rd7m7oWy1giL4QW1JVWpKrNPDRuCYjuoc4Y,3006616
25
25
  lxml/objectify.pyx,sha256=pvaZmS21G-qlNjPuVaB_dgGgi0alxNALo7gFOV8Ispc,75735
26
26
  lxml/objectpath.pxi,sha256=s5TNG2-EbaWWKLFAiX303B95zK_Ui8ausB__3QvFFGw,11450
27
27
  lxml/parser.pxi,sha256=9R2rdzq1f8LOaKSAzAnFghB3rAspy4vcMTB6q8u0RSA,81866
@@ -31,7 +31,7 @@ lxml/public-api.pxi,sha256=XoP6_cJOEoQIItvE1RiYCKYD1ry4AobaOr4XLo0KSE4,6666
31
31
  lxml/pyclasslookup.py,sha256=gLD1HM2HtITYYiGzjEOewSwbB7XkVx_NZv_quCt79Oc,92
32
32
  lxml/readonlytree.pxi,sha256=ddRYczhHieJ4XUvWvTPW9N9oQ8vuKtv7lC1mtE1qvH8,18976
33
33
  lxml/relaxng.pxi,sha256=3OQ-fZMzP-KF5vM6HTozT_9ee3J0DJnpj9RcHC8LoMw,6339
34
- lxml/sax.cpython-36m-darwin.so,sha256=AgjXRdOgvtVO1ThjnTWQch08--J21JBpmuYYxDny0u8,208672
34
+ lxml/sax.cpython-36m-darwin.so,sha256=q2mK3_0hvYM6QIq4lkc_tvWF6t-iXQEO7L9OE-IBTY4,208672
35
35
  lxml/sax.py,sha256=8e9Ef4Cfbwr7AHMGCBBZcotBkOehQtdaCxsVCgWM5_c,9303
36
36
  lxml/saxparser.pxi,sha256=9nJEnVFFFx7vueUJ3fSeDjxG4gLgrXsDBWVkD_f8U1Q,33322
37
37
  lxml/schematron.pxi,sha256=hFn1p4egpvvz-Tkk2AH7cbVOavTC-A7mzHABHrGh7g4,5908
@@ -52,7 +52,7 @@ lxml/html/_setmixin.py,sha256=8IFIOLmVz0G-XzsD2tCEkSFWO-dgPBHgvHufC8ni67s,1188
52
52
  lxml/html/builder.py,sha256=aRgS-Ea9bli-muGX0iUQGKAe9D93P8BspQ2WPuiWJcU,4492
53
53
  lxml/html/clean.py,sha256=FghSJy4jt2RaBy6dgusowkU18hxpZ4XLE5ceCK9qxyA,503
54
54
  lxml/html/defs.py,sha256=ZzOp2TmY9f_ein9GIcDPyN8-f5HVptzSj56umimWub4,4236
55
- lxml/html/diff.cpython-36m-darwin.so,sha256=89vL1jbobCQoKl4VlPCXocwzgqlHB33EAK7Onrhxy0E,430480
55
+ lxml/html/diff.cpython-36m-darwin.so,sha256=5Aqr_Nm4D-1_6D3S-FDutmhke6Uu76jJs_OlhpMni4w,430480
56
56
  lxml/html/diff.py,sha256=n2jMJW8D2OYfG-SKbdmpSjZ3Lwk516WwJfMn6yvQiuM,30393
57
57
  lxml/html/formfill.py,sha256=umgk0BbkAI1W6q9musFbL-cDnI_aap2NsLBJqk0UmVI,9681
58
58
  lxml/html/html5parser.py,sha256=dnyC4cqHxywjZSzk0mu2L7THTZjxhg4yF4pncjusa_w,8634
@@ -66,7 +66,7 @@ lxml/includes/dtdvalid.pxd,sha256=Nv0OykjYehv2lO-Zj--q6jS3TAC_dvQVPSgPMuse1NM,68
66
66
  lxml/includes/etree_defs.h,sha256=wWC0nsE3NCLBABsKjo_UMBtUJr7yPL7-e8OLc-tGI5o,14245
67
67
  lxml/includes/etreepublic.pxd,sha256=Bn4d3JkWPqXputXqI-eJ0xmPrwNFPTfDCa7axgjB7FM,10184
68
68
  lxml/includes/htmlparser.pxd,sha256=9uASkP5dU7OE2lCOLT-z2e01qSbFlp4ehgwdostF_qk,2802
69
- lxml/includes/lxml-version.h,sha256=JU2UWZb9db5vlZvNRjfK3q4GnAEWshW-Qm4nW85L5ig,71
69
+ lxml/includes/lxml-version.h,sha256=2fN0JTHAnzy65wnMxsss7l72xTYbVKZiJMDuIOQaai0,71
70
70
  lxml/includes/relaxng.pxd,sha256=HzHlQ6mCcf_tj_JZ9NAVJTVAv8ScCkE8Ifq15y3bS0c,2615
71
71
  lxml/includes/schematron.pxd,sha256=Hob7xh-K-MKqp7WiG8thMagf5EkQzmgfi4ds0EF91JA,1604
72
72
  lxml/includes/tree.pxd,sha256=Z5mHkABQPlnwu81WTTq7R4fz17rJAkamOvXf_Jp-nxg,20391
@@ -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_schematron_skeleton_for_xslt1.xsl,sha256=ue8q_88X4e_jsJizo31GRNBxNhdxkEE9fY20oq0Iqwk,71764
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/readme.txt,sha256=OGLiFswuLJEW5EPYKOeoauuCJFEtVa6jyzBE1OcJI98,3310
167
- lxml-5.2.0.dist-info/LICENSE.txt,sha256=ae20RcEzWoMS1MCScYR-mVbYTw2fck0SU0DMP612eyo,1488
168
- lxml-5.2.0.dist-info/LICENSES.txt,sha256=QdSd1AaqDhVIptXyGjDWv2OLPNlutyid00jYPtLkA5I,1514
169
- lxml-5.2.0.dist-info/METADATA,sha256=e-cC8AuLkvIAADe3w-p5fbROA82V_9mYhDF0X9j6YXw,3930
170
- lxml-5.2.0.dist-info/WHEEL,sha256=ye8A2lA8pjGNe7-ueOpggarJAhczq3EZGqnLZzzfQYQ,110
171
- lxml-5.2.0.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
172
- lxml-5.2.0.dist-info/RECORD,,
167
+ lxml-5.2.1.dist-info/LICENSE.txt,sha256=ae20RcEzWoMS1MCScYR-mVbYTw2fck0SU0DMP612eyo,1488
168
+ lxml-5.2.1.dist-info/LICENSES.txt,sha256=QdSd1AaqDhVIptXyGjDWv2OLPNlutyid00jYPtLkA5I,1514
169
+ lxml-5.2.1.dist-info/METADATA,sha256=LvsGeUq-pMj-YMuQWVabGQihK-Z1wXw_KiBwwQXuuxg,3468
170
+ lxml-5.2.1.dist-info/WHEEL,sha256=ye8A2lA8pjGNe7-ueOpggarJAhczq3EZGqnLZzzfQYQ,110
171
+ lxml-5.2.1.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
172
+ lxml-5.2.1.dist-info/RECORD,,
File without changes