]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
python3-chardet: lock version check to 6.x versions
authorAlexander Kanavin <alex@linutronix.de>
Wed, 27 May 2026 17:35:47 +0000 (19:35 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 28 May 2026 10:21:53 +0000 (11:21 +0100)
There's a well-publicised controversy around AI-assisted rewrite
for the purpose of relicensing from GPL to BSD:
https://lwn.net/Articles/1061534/

Both Debian and Fedora are steering clear of 7.x:

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

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb

index 14c3247b35e6c5cecd0202a8883b5522910eae35..0ca0aef3acb4b50032bb6e5413e355de98615c0f 100644 (file)
@@ -4,6 +4,7 @@ LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
 
 SRC_URI[sha256sum] = "6b78048c3c97c7b2ed1fbad7a18f76f5a6547f7d34dbab536cc13887c9a92fa4"
+UPSTREAM_CHECK_REGEX = "chardet-(?P<pver>6\..*)\.tar"
 
 inherit pypi python_hatchling