lxml 5.2.0__cp39-cp39-win_amd64.whl → 5.2.1__cp39-cp39-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():
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
@@ -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,9 +1,9 @@
1
1
  lxml/ElementInclude.py,sha256=pEvLKSyhNWtZTRr6liUJD-1mIqmbxbcurxcqZv7vNHg,8804
2
- lxml/__init__.py,sha256=TEO4qHIp8rUc_Gf_6LQtqWCYCuuYuZzSK_MR6i5OY88,596
3
- lxml/_elementpath.cp39-win_amd64.pyd,sha256=fBY1537n33Y8mt0ExCEt5qd-CNfxlpZw12KPb9XvT00,148992
2
+ lxml/__init__.py,sha256=tzYdqsFAQjFVtpQ0r5v4iCKYBxYL3QCUaYNNBsKYgRc,596
3
+ lxml/_elementpath.cp39-win_amd64.pyd,sha256=4h1PzLFak_ctot8mj8q17x10ZjG1xaRg_MaeOsQMdlg,148992
4
4
  lxml/_elementpath.py,sha256=waZwwmgKbOlNaztLRUOXWBnHnZdQwDWwv7M0GgHwJ44,11229
5
5
  lxml/apihelpers.pxi,sha256=4S__cOXO4gq5tsr453GJPeRdbqI5B830SFYsxyUPok0,65403
6
- lxml/builder.cp39-win_amd64.pyd,sha256=Ep0F87LHRe9-eXW-Th6eauTU5sSU7L2wg_S5wodQsQc,82944
6
+ lxml/builder.cp39-win_amd64.pyd,sha256=ovryPag5thi3ISZeWGXqe5FpuITmylCVFnc6vi9zxnQ,82944
7
7
  lxml/builder.py,sha256=5P0LKYgwJws2fmKAZOr9gkqsBtY-lUC9LDF2W5B5Aik,8332
8
8
  lxml/classlookup.pxi,sha256=rRtWHz9AajMqkm7RiG_PkOCsaQTRkgK757pRj3RvCxA,23015
9
9
  lxml/cleanup.pxi,sha256=Zll_xQcmMBkUQtkWugiJ7TDQWPR0IHKjD5OesmQ0dB8,8669
@@ -12,16 +12,16 @@ lxml/debug.pxi,sha256=HdUEKw8hU1Wzz4nO3hheqrauZlPATsv7N4QPQxCdth4,3372
12
12
  lxml/docloader.pxi,sha256=tP6b_zZ5s0-Zj2kf2mFksI8U5whArwOVDOVuaZcbgtM,5950
13
13
  lxml/doctestcompare.py,sha256=1r23O3Ki1BypqzkVWh97FEdRq-ENvmFEWuABOWdE0Lo,18219
14
14
  lxml/dtd.pxi,sha256=-M93Bx2WbDuyjTW1Btl2eG0U7q7YtkAU9sz9ZQ_5pa4,15706
15
- lxml/etree.cp39-win_amd64.pyd,sha256=l0wkizX2jyQ6wogjnVKIOSd1wB7IycHuN9FWXIdv4HQ,4024320
16
- lxml/etree.h,sha256=UhDvW29JL0VflMRGTAjmGTsBrq04B6kNjwqC9rpTRzQ,9912
17
- lxml/etree.pyx,sha256=58IECKq3vwBdGgqwvAGnDclq6t7YALya1QKx4Sq3UIo,137562
15
+ lxml/etree.cp39-win_amd64.pyd,sha256=isun1l6iQDQ3VwMY19LGc2UHwKYO92TYP4FmjLwVYrI,4024832
16
+ lxml/etree.h,sha256=NPhL2CztGkHk3YgMx2j7pkimDavjx_8CTmCRrdMxslM,9912
17
+ lxml/etree.pyx,sha256=NYTMRlUmCau1qaPlc9OEe7lsGUq6MVLkic8gZmjBEkg,137597
18
18
  lxml/etree_api.h,sha256=XDHi7lgGoIcyoS8hB27di8OAb0RC6ubGs3ETzd3KDSE,17063
19
19
  lxml/extensions.pxi,sha256=s3IkovN6q7I1lvAEs3rh7F-8TtTjTGXRSkptYV9012I,32921
20
20
  lxml/iterparse.pxi,sha256=u-fbcHXv9WPz6aOnexe4Vwv5zHJz0-Gc8ScOL-qhcpQ,16965
21
- lxml/lxml.etree.h,sha256=zgtcFHt9qYDpigXdLOAmM5uwoDBl5SKTVVFtt-9JseE,10160
21
+ lxml/lxml.etree.h,sha256=1pHssiGfgydjVlSwEGghrwF4_y2kyELiSojvGEhFHzw,10160
22
22
  lxml/lxml.etree_api.h,sha256=vBxFPTxggSL251E5RupQ5ylcFTgKBxQJtF9dnmaofzI,17263
23
23
  lxml/nsclasses.pxi,sha256=9TiZjPbP73H8VN0Xu1RmuRB7G-D0pTTSqLPbdTJQt5U,9410
24
- lxml/objectify.cp39-win_amd64.pyd,sha256=QuBW8av5fLMeYhAoBzZvfaLqNgEBJcjGh4Hh7rRvyj4,1742336
24
+ lxml/objectify.cp39-win_amd64.pyd,sha256=HLYRhKhJ7b4yZCL42LXRwwUwOQmqgccJkvv_2g3FCcA,1742336
25
25
  lxml/objectify.pyx,sha256=IngqdSCtxUav_NklHutFR92AuuNfr9nYchEY3Zprchc,77880
26
26
  lxml/objectpath.pxi,sha256=og7LX-a88RrgJI3lUAtuJ8Hvx4RpNf57k7pmafzCuCA,11782
27
27
  lxml/parser.pxi,sha256=i4OJWLw7PbCMteTM5n-ur7LOhgy3cTNus5h_iy5-Dfo,83860
@@ -31,7 +31,7 @@ lxml/public-api.pxi,sha256=NT9BUTPhf0ZxLKm61xKT4SVmWxbb5aImmNIeTJdXNRs,6844
31
31
  lxml/pyclasslookup.py,sha256=jDGYrbxuKE3Hl07PbILX_ptLkQaXYrpJSgvil4hIs3s,95
32
32
  lxml/readonlytree.pxi,sha256=W3RXFM2aUGM8ZswTBP5EUW-wT1n6x7fpEGloQQa5cPE,19541
33
33
  lxml/relaxng.pxi,sha256=rjTfl-rBYlHqQv4nfxVK8KZR59KqKWQp9lZv3aKYXVk,6504
34
- lxml/sax.cp39-win_amd64.pyd,sha256=0PXIy2FXh1cHZKRe69axnek66N4lE_MSqCUORmsd68w,128512
34
+ lxml/sax.cp39-win_amd64.pyd,sha256=ccFj6SZ-c0iG4mB7Bss4D9S9JqEVyg20b9visi6OapI,128512
35
35
  lxml/sax.py,sha256=8YlAeeVyPL-ksvIDkOZ7HlXSvwByoiMaIujzN4nTjQw,9578
36
36
  lxml/saxparser.pxi,sha256=HWkubajdSI7_SwKO1vu0uOHTljXU6NZhhBfEdEd06R8,34197
37
37
  lxml/schematron.pxi,sha256=STQpiSEjL81MVePjobPhhWYJEH2KucWW519NFiWpSG8,6076
@@ -52,7 +52,7 @@ lxml/html/_setmixin.py,sha256=6cUyIeiMIn5zUytcWHsdWZXyMJXVsfJVVQoAIIe9h7Q,1244
52
52
  lxml/html/builder.py,sha256=X4-ZNqczoi9h035AN-4BmfSYDfsVyKpXXGsYPUFAh48,4625
53
53
  lxml/html/clean.py,sha256=B_rsm3Mz7pn_Z8LnkXeSocL257--sqWJGaxBp2LlmB8,524
54
54
  lxml/html/defs.py,sha256=w_8kGoMweUNZxTjQ9UlMeUo8wyTTvzjDG4ub24j8RRg,4371
55
- lxml/html/diff.cp39-win_amd64.pyd,sha256=ZFJeaXx3D60Ir74VV1cLnnQ80gMMOy5s3Hd2efZ3LZQ,281600
55
+ lxml/html/diff.cp39-win_amd64.pyd,sha256=2zvf7iiQsELzbUvq2BZjX1p29Dyp8vmb5T_ByAivGmg,281600
56
56
  lxml/html/diff.py,sha256=Nygvg_a29fblqyj07CeCtl9_OV3AWPFTBjwqEOk8-PM,31271
57
57
  lxml/html/formfill.py,sha256=8yXFIO4DNVY-HG8q4O4OtxIQ8qmLpXYQ8T1rFUTkK8c,9980
58
58
  lxml/html/html5parser.py,sha256=iupCVDO_6I1PNWstkE6omdDh-rEc0KMaIXo1OCP9noM,8894
@@ -66,7 +66,7 @@ lxml/includes/dtdvalid.pxd,sha256=VOt94bqe417bxvfkfbtbsd5kVnwQj4oYSHMfnV2pcsM,70
66
66
  lxml/includes/etree_defs.h,sha256=XXz1CliDqEBPvxGNtnmYEwE6D1Xtdib1sMk9JvvkHDM,14624
67
67
  lxml/includes/etreepublic.pxd,sha256=s2HRJSuZhwlDi3oHsSBPChA4dgTnWjWWMzBb3VxrtJw,10421
68
68
  lxml/includes/htmlparser.pxd,sha256=UEV2wIp8RHekwUAcPWMQe8KBfEv39u0c3LHOsdvRr0k,2858
69
- lxml/includes/lxml-version.h,sha256=HyJyiOa7-c-4HW0sw2ojdkbxxAqq1-vGz4btFfmUl_I,74
69
+ lxml/includes/lxml-version.h,sha256=mC7fdlttvjzautEbr-o-68YHVS5tRvZJLPoqsjmXNy4,74
70
70
  lxml/includes/relaxng.pxd,sha256=H5W5XObI5YtRpULeiRy6K6ldUZC0tDQauAFZ7PJSqE4,2679
71
71
  lxml/includes/schematron.pxd,sha256=JmKDG9ElNPXJ7rZzOpQjPaIdzIZ1pzMEOT_GjZRK98U,1638
72
72
  lxml/includes/tree.pxd,sha256=Uo6hPybaSgh6P9YdQfpr0mftCrSyYZ_w_Z0FyCtOr1c,20885
@@ -167,9 +167,9 @@ lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
167
167
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl,sha256=Vo1F576odRkdLBmuEEWrLa5LF3SMTX9B6EEGnxUbv_8,73560
168
168
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl,sha256=UI7xHx0leNXS9BaU6cyQ4CHeflufKmAE-zjOrihuH-E,20970
169
169
  lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt,sha256=OGLiFswuLJEW5EPYKOeoauuCJFEtVa6jyzBE1OcJI98,3310
170
- lxml-5.2.0.dist-info/LICENSE.txt,sha256=tircdrXghpYNqK2q-tqeBOMqrzXhzLFM71dCQFqu0nw,1517
171
- lxml-5.2.0.dist-info/LICENSES.txt,sha256=zlP1CNDLiL20Yh4jbKNIgaP6GAX5ffzPOJYBKKTi6tk,1543
172
- lxml-5.2.0.dist-info/METADATA,sha256=gCGXmTV7RgSIHIq7xFYGiju4wQZbxv3ohyNG8MJVWPk,4002
173
- lxml-5.2.0.dist-info/WHEEL,sha256=Z6c-bE0pUM47a70GvqO_SvH_XXU0lm62gEAKtoNJ08A,100
174
- lxml-5.2.0.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
175
- lxml-5.2.0.dist-info/RECORD,,
170
+ lxml-5.2.1.dist-info/LICENSE.txt,sha256=tircdrXghpYNqK2q-tqeBOMqrzXhzLFM71dCQFqu0nw,1517
171
+ lxml-5.2.1.dist-info/LICENSES.txt,sha256=zlP1CNDLiL20Yh4jbKNIgaP6GAX5ffzPOJYBKKTi6tk,1543
172
+ lxml-5.2.1.dist-info/METADATA,sha256=VmZHKN68I3oth5F5GL2yItClDMbCa-6Hxne8JLsILsc,3533
173
+ lxml-5.2.1.dist-info/WHEEL,sha256=Z6c-bE0pUM47a70GvqO_SvH_XXU0lm62gEAKtoNJ08A,100
174
+ lxml-5.2.1.dist-info/top_level.txt,sha256=NjD988wqaKq512nshNdLt-uDxsjkp4Bh51m6N-dhUrk,5
175
+ lxml-5.2.1.dist-info/RECORD,,
File without changes