Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Leon Anavi <leon.anavi@konsulko.com>
To: openembedded-devel@lists.openembedded.org
Cc: Leon Anavi <leon.anavi@konsulko.com>
Subject: [meta-python][PATCH 2/3] python3-charset-normalizer: Upgrade 3.4.9 -> 3.5.1
Date: Thu,  3 Sep 2026 12:21:08 +0300	[thread overview]
Message-ID: <20260903092109.1641069-2-leon.anavi@konsulko.com> (raw)
In-Reply-To: <20260903092109.1641069-1-leon.anavi@konsulko.com>

Upgrade to release 3.5.1:

- Raised upper bound of setuptools to v84 (#794)
- Cache performance access optimization for our CharInfo struct
  (prebuilt only).
- No longer decoding large content when the noise detector output
  give a high entropy. Only impacted large content input >1M bytes.

Deploy sample data files to fix tests.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...0001-pyproject.toml-relax-setuptools-upper-bound.patch | 2 +-
 ...lizer_3.4.9.bb => python3-charset-normalizer_3.5.1.bb} | 8 +++++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-charset-normalizer_3.4.9.bb => python3-charset-normalizer_3.5.1.bb} (78%)

diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
index 508debc340..f73a6ef803 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer/0001-pyproject.toml-relax-setuptools-upper-bound.patch
@@ -19,6 +19,6 @@ index 1111111..2222222 100644
 +++ b/pyproject.toml
 @@ -1,3 +1,3 @@
  [build-system]
--requires = ["setuptools>=68,<83.1"]
+-requires = ["setuptools>=68,<84.1"]
 +requires = ["setuptools>=68"]
  build-backend = "backend"
diff --git a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
rename to meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb
index 6df52a23d4..b5e20f449c 100644
--- a/meta-python/recipes-devtools/python/python3-charset-normalizer_3.4.9.bb
+++ b/meta-python/recipes-devtools/python/python3-charset-normalizer_3.5.1.bb
@@ -4,7 +4,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=48178f3fc1374ad7e830412f812bde05"
 
 SRC_URI += "file://0001-pyproject.toml-relax-setuptools-upper-bound.patch"
-SRC_URI[sha256sum] = "673611bbd43f0810bec0b0f028ddeaaa501190339cac411f347ac76917c3ae7b"
+SRC_URI[sha256sum] = "6117b84ea48435e5356dc737f5121485c30920ba43375fa7b434fd753df0eac3"
 
 DEPENDS += "python3-setuptools-scm-native python3-mypy-native"
 
@@ -21,4 +21,10 @@ RDEPENDS:${PN} += " \
 "
 
 RDEPENDS:${PN}-ptest:append:libc-glibc  = " glibc-charmap-gb18030 glibc-charmaps"
+
+do_install_ptest:append() {
+    install -d ${D}${PTEST_PATH}/data
+    install -m 0644 ${S}/data/* ${D}${PTEST_PATH}/data/
+}
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.47.3



  reply	other threads:[~2026-09-03  9:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-03  9:21 [meta-python][PATCH 1/3] python3-virtualenv: Upgrade 21.7.7 -> 21.7.8 Leon Anavi
2026-09-03  9:21 ` Leon Anavi [this message]
2026-09-03  9:21 ` [meta-python][PATCH 3/3] python3-nocasedict: Upgrade 2.2.0 -> 2.2.1 Leon Anavi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260903092109.1641069-2-leon.anavi@konsulko.com \
    --to=leon.anavi@konsulko.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox