diff mbox series

python3-lxml: upgrade 4.9.4 -> 45.0.0

Message ID 1704271378-18012-2-git-send-email-wangmy@fujitsu.com
State Accepted, archived
Commit 5d9cd0ef5f7235eb5c8495a803bea6940c2994fe
Headers show
Series python3-lxml: upgrade 4.9.4 -> 45.0.0 | expand

Commit Message

Mingyu Wang (Fujitsu) Jan. 3, 2024, 8:42 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

Changelog:
==========
-LP#1976304: The "Element.addnext()" method previously inserted the new element
 before existing tail text.  The tail text of both sibling elements now stays on
 the respective elements.
-LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
 parsing incorrect input.
-"Element.itertext(with_tail=False)" returned the tail text of comments and
 processing instructions, despite the explicit option.
-GH#370: A crash with recent libxml2 2.11.x versions was resolved.
-A compile problem with recent libxml2 2.12.x versions was resolved.
-The internal exception handling in C callbacks was improved for Cython 3.0.
-The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback",
-"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were
 corrected to prevent running Python code or calling into the C-API with a live
 exception set.
-GH#385: The long deprecated "unittest.makeSuite()" function is no longer used.
-LP#1522052: A file-system specific test is now optional and should no longer fail
 on systems that don't support it.
-GH#392: Some tests were adapted for libxml2 2.13.
-Contains all fixes from lxml 4.9.4.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../python/{python3-lxml_4.9.4.bb => python3-lxml_5.0.0.bb}    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-lxml_4.9.4.bb => python3-lxml_5.0.0.bb} (94%)

Comments

Khem Raj Jan. 9, 2024, 4:51 a.m. UTC | #1
subject line should say 5.0.0 instead of 45.0.0

Secondly, be aware that this upgrade will need to disable
incompatible-function-pointer-types warning as error
when using clang. I have added a relevant fix to nonclangable conf
file in meta-clang.

On Wed, Jan 3, 2024 at 12:44 AM wangmy <wangmy@fujitsu.com> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> Changelog:
> ==========
> -LP#1976304: The "Element.addnext()" method previously inserted the new element
>  before existing tail text.  The tail text of both sibling elements now stays on
>  the respective elements.
> -LP#1980767, GH#379: "TreeBuilder.close()" could fail with a "TypeError" after
>  parsing incorrect input.
> -"Element.itertext(with_tail=False)" returned the tail text of comments and
>  processing instructions, despite the explicit option.
> -GH#370: A crash with recent libxml2 2.11.x versions was resolved.
> -A compile problem with recent libxml2 2.12.x versions was resolved.
> -The internal exception handling in C callbacks was improved for Cython 3.0.
> -The exception declarations of "xmlInputReadCallback", "xmlInputCloseCallback",
> -"xmlOutputWriteCallback" and "xmlOutputCloseCallback" in "tree.pxd" were
>  corrected to prevent running Python code or calling into the C-API with a live
>  exception set.
> -GH#385: The long deprecated "unittest.makeSuite()" function is no longer used.
> -LP#1522052: A file-system specific test is now optional and should no longer fail
>  on systems that don't support it.
> -GH#392: Some tests were adapted for libxml2 2.13.
> -Contains all fixes from lxml 4.9.4.
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  .../python/{python3-lxml_4.9.4.bb => python3-lxml_5.0.0.bb}    | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>  rename meta/recipes-devtools/python/{python3-lxml_4.9.4.bb => python3-lxml_5.0.0.bb} (94%)
>
> diff --git a/meta/recipes-devtools/python/python3-lxml_4.9.4.bb b/meta/recipes-devtools/python/python3-lxml_5.0.0.bb
> similarity index 94%
> rename from meta/recipes-devtools/python/python3-lxml_4.9.4.bb
> rename to meta/recipes-devtools/python/python3-lxml_5.0.0.bb
> index ed8bce0735..e27405fd23 100644
> --- a/meta/recipes-devtools/python/python3-lxml_4.9.4.bb
> +++ b/meta/recipes-devtools/python/python3-lxml_5.0.0.bb
> @@ -18,10 +18,11 @@ LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
>
>  DEPENDS += "libxml2 libxslt"
>
> -SRC_URI[sha256sum] = "b1541e50b78e15fa06a2670157a1962ef06591d4c998b998047fff5e3236880e"
> +SRC_URI[sha256sum] = "2219cbf790e701acf9a21a31ead75f983e73daf0eceb9da6990212e4d20ebefe"
>
>  SRC_URI += "${PYPI_SRC_URI}"
>  inherit pkgconfig pypi setuptools3
> +PYPI_PACKAGE_EXT = "zip"
>
>  # {standard input}: Assembler messages:
>  # {standard input}:1488805: Error: branch out of range
> --
> 2.34.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#193276): https://lists.openembedded.org/g/openembedded-core/message/193276
> Mute This Topic: https://lists.openembedded.org/mt/103498685/1997914
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-lxml_4.9.4.bb b/meta/recipes-devtools/python/python3-lxml_5.0.0.bb
similarity index 94%
rename from meta/recipes-devtools/python/python3-lxml_4.9.4.bb
rename to meta/recipes-devtools/python/python3-lxml_5.0.0.bb
index ed8bce0735..e27405fd23 100644
--- a/meta/recipes-devtools/python/python3-lxml_4.9.4.bb
+++ b/meta/recipes-devtools/python/python3-lxml_5.0.0.bb
@@ -18,10 +18,11 @@  LIC_FILES_CHKSUM = "file://LICENSES.txt;md5=e4c045ebad958ead4b48008f70838403 \
 
 DEPENDS += "libxml2 libxslt"
 
-SRC_URI[sha256sum] = "b1541e50b78e15fa06a2670157a1962ef06591d4c998b998047fff5e3236880e"
+SRC_URI[sha256sum] = "2219cbf790e701acf9a21a31ead75f983e73daf0eceb9da6990212e4d20ebefe"
 
 SRC_URI += "${PYPI_SRC_URI}"
 inherit pkgconfig pypi setuptools3
+PYPI_PACKAGE_EXT = "zip"
 
 # {standard input}: Assembler messages:
 # {standard input}:1488805: Error: branch out of range