diff mbox series

[2/2] python3-chardet: lock version check to 6.x versions

Message ID 20260527173547.188244-2-alex.kanavin@gmail.com
State New
Headers show
Series [1/2] libslirp: fix upstream version check | expand

Commit Message

Alexander Kanavin May 27, 2026, 5:35 p.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

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>
---
 meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb | 1 +
 1 file changed, 1 insertion(+)
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_6.0.0.post1.bb
index 14c3247b35..0ca0aef3ac 100644
--- a/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
+++ b/meta/recipes-devtools/python/python3-chardet_6.0.0.post1.bb
@@ -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