diff mbox series

[24/49] python3-chardet: upgrade 6.0.0.post1 -> 7.4.3

Message ID 20260421095559.1856-24-wangmy@fujitsu.com
State Under Review
Headers show
Series [01/49] acpica: upgrade 20251212 -> 20260408 | expand

Commit Message

Wang Mingyu April 21, 2026, 9:55 a.m. UTC
From: Wang Mingyu <wangmy@fujitsu.com>

License-Update: Change 7.x license to 0BSD

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 ...hon3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-devtools/python/{python3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} (68%)

Comments

Alexander Kanavin April 22, 2026, 10:20 a.m. UTC | #1
Neither Fedora nor Debian have taken the 7.x rewrite yet. The AI
rewrite controversy is well publicized.

I think we should hold this for a bit longer.

Alex

On Tue, 21 Apr 2026 at 11:56, wangmy via lists.openembedded.org
<wangmy=fujitsu.com@lists.openembedded.org> wrote:
>
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> License-Update: Change 7.x license to 0BSD
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> ---
>  ...hon3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>  rename meta/recipes-devtools/python/{python3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} (68%)
>
> diff --git a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> similarity index 68%
> rename from meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
> rename to meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> index 14c3247b35..ad36834169 100644
> --- a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
> +++ b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> @@ -1,9 +1,9 @@
>  SUMMARY = "Universal encoding detector for Python 2 and 3"
>  HOMEPAGE = "https://pypi.org/project/chardet/"
> -LICENSE = "LGPL-2.1-only"
> -LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
> +LICENSE = "0BSD"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=bd0753b9dc12e5e3da3047778fcf1dca"
>
> -SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
> +SRC_URI[sha256sum] = "cc1d4eb92a4ec1c2df3b490836ffa46922e599d34ce0bb75cf41fd2bf6303d56"
>
>  inherit pypi python_hatchling
>
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#235632): https://lists.openembedded.org/g/openembedded-core/message/235632
> Mute This Topic: https://lists.openembedded.org/mt/118935094/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Alexander Kanavin April 22, 2026, 10:49 a.m. UTC | #2
For reference, both Debian and Fedora are steering well clear of 7.x:

https://src.fedoraproject.org/rpms/python-chardet/pull-request/15
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129923

This AI rewrite has indeed backfired. If the author won't convince
CPython upstream to take it into the standard library (which is the
ultimate goal), then it's game over.

We might place a version check regex into the recipe to exclude 7.x.

Alex

On Wed, 22 Apr 2026 at 12:20, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
>
> Neither Fedora nor Debian have taken the 7.x rewrite yet. The AI
> rewrite controversy is well publicized.
>
> I think we should hold this for a bit longer.
>
> Alex
>
> On Tue, 21 Apr 2026 at 11:56, wangmy via lists.openembedded.org
> <wangmy=fujitsu.com@lists.openembedded.org> wrote:
> >
> > From: Wang Mingyu <wangmy@fujitsu.com>
> >
> > License-Update: Change 7.x license to 0BSD
> >
> > Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> > ---
> >  ...hon3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} | 6 +++---
> >  1 file changed, 3 insertions(+), 3 deletions(-)
> >  rename meta/recipes-devtools/python/{python3-chardet_6.0.0.post1.bb => python3-chardet_7.4.3.bb} (68%)
> >
> > diff --git a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> > similarity index 68%
> > rename from meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
> > rename to meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> > index 14c3247b35..ad36834169 100644
> > --- a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
> > +++ b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
> > @@ -1,9 +1,9 @@
> >  SUMMARY = "Universal encoding detector for Python 2 and 3"
> >  HOMEPAGE = "https://pypi.org/project/chardet/"
> > -LICENSE = "LGPL-2.1-only"
> > -LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
> > +LICENSE = "0BSD"
> > +LIC_FILES_CHKSUM = "file://LICENSE;md5=bd0753b9dc12e5e3da3047778fcf1dca"
> >
> > -SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
> > +SRC_URI[sha256sum] = "cc1d4eb92a4ec1c2df3b490836ffa46922e599d34ce0bb75cf41fd2bf6303d56"
> >
> >  inherit pypi python_hatchling
> >
> > --
> > 2.43.0
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#235708): https://lists.openembedded.org/g/openembedded-core/message/235708
> Mute This Topic: https://lists.openembedded.org/mt/118935094/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
similarity index 68%
rename from meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
rename to meta/recipes-devtools/python/python3-chardet_7.4.3.bb
index 14c3247b35..ad36834169 100644
--- a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
+++ b/meta/recipes-devtools/python/python3-chardet_7.4.3.bb
@@ -1,9 +1,9 @@ 
 SUMMARY = "Universal encoding detector for Python 2 and 3"
 HOMEPAGE = "https://pypi.org/project/chardet/"
-LICENSE = "LGPL-2.1-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
+LICENSE = "0BSD"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=bd0753b9dc12e5e3da3047778fcf1dca"
 
-SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
+SRC_URI[sha256sum] = "cc1d4eb92a4ec1c2df3b490836ffa46922e599d34ce0bb75cf41fd2bf6303d56"
 
 inherit pypi python_hatchling