From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>
Subject: [Buildroot] [PATCH v2 2/2] package/python-charset-normalizer: bump to version 3.5.3
Date: Wed, 2 Dec 2026 22:16:41 -0700 [thread overview]
Message-ID: <20261203051641.2638676-2-james.hilliard1@gmail.com> (raw)
In-Reply-To: <20261203051641.2638676-1-james.hilliard1@gmail.com>
The relaxed setuptools upper bound now includes the version in
Buildroot, so the build dependency check no longer needs to be
disabled.
Disable PGO for the target build. The training step uses the host
Python to import the instrumented target extensions. When building for
x86_64 musl on an x86_64 glibc host, it imports the Python fallback
instead and aborts the build.
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
- Split the unicodedata dependency fix into a separate patch.
- Disable PGO for the target build (Marcus Hoffmann).
---
.../python-charset-normalizer.hash | 4 ++--
.../python-charset-normalizer.mk | 10 +++++-----
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package/python-charset-normalizer/python-charset-normalizer.hash b/package/python-charset-normalizer/python-charset-normalizer.hash
index 1257de8cfb..89c16b906c 100644
--- a/package/python-charset-normalizer/python-charset-normalizer.hash
+++ b/package/python-charset-normalizer/python-charset-normalizer.hash
@@ -1,5 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/charset-normalizer/json
-md5 0fd59692f546c0f8318af1728a12627f charset_normalizer-3.5.2.tar.gz
-sha256 39de2a259fc954455c57274dc94c79d5842774e1247a016aff30bc0efed0f4ef charset_normalizer-3.5.2.tar.gz
+md5 26b8d1659b28517350f0ca692d5e32d2 charset_normalizer-3.5.3.tar.gz
+sha256 a250888753faa289e2997962fbb17c4960cbdb58575533ca6fceee68c224bdff charset_normalizer-3.5.3.tar.gz
# Locally computed sha256 checksums
sha256 6d0d41bfe170ac6c7dc248c9a63e254d0fb45a60d50a8257d0af92c6e249b887 LICENSE
diff --git a/package/python-charset-normalizer/python-charset-normalizer.mk b/package/python-charset-normalizer/python-charset-normalizer.mk
index 630db33043..f7863d0cde 100644
--- a/package/python-charset-normalizer/python-charset-normalizer.mk
+++ b/package/python-charset-normalizer/python-charset-normalizer.mk
@@ -4,16 +4,16 @@
#
################################################################################
-PYTHON_CHARSET_NORMALIZER_VERSION = 3.5.2
+PYTHON_CHARSET_NORMALIZER_VERSION = 3.5.3
PYTHON_CHARSET_NORMALIZER_SOURCE = charset_normalizer-$(PYTHON_CHARSET_NORMALIZER_VERSION).tar.gz
-PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/33/1c/f41d4e74c28ab327ff3acd36053f7ea506c55872d7a90b0fa71aa3ab0c89
+PYTHON_CHARSET_NORMALIZER_SITE = https://files.pythonhosted.org/packages/c2/c3/cae6d3bdefd96a941ffc247c714ac4babc488a69012e11c058f6c17c6c47
PYTHON_CHARSET_NORMALIZER_SETUP_TYPE = setuptools
PYTHON_CHARSET_NORMALIZER_LICENSE = MIT
PYTHON_CHARSET_NORMALIZER_LICENSE_FILES = LICENSE
PYTHON_CHARSET_NORMALIZER_DEPENDENCIES = host-python-cython
-PYTHON_CHARSET_NORMALIZER_ENV = CHARSET_NORMALIZER_USE_CYTHON=1
-# as of 3.5.2 pyproject.toml bans setuptools >=84.1
-PYTHON_CHARSET_NORMALIZER_BUILD_OPTS = --skip-dependency-check
+PYTHON_CHARSET_NORMALIZER_ENV = \
+ CHARSET_NORMALIZER_USE_CYTHON=1 \
+ CHARSET_NORMALIZER_USE_PGO=0
$(eval $(python-package))
$(eval $(host-python-package))
--
2.53.0
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-12-03 5:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 5:16 [Buildroot] [PATCH v2 1/2] package/python-charset-normalizer: add missing unicodedata dependency James Hilliard
2026-12-03 5:16 ` James Hilliard [this message]
2026-12-03 20:03 ` [Buildroot] [PATCH v2 2/2] package/python-charset-normalizer: bump to version 3.5.3 Marcus Hoffmann via buildroot
2026-12-03 20:01 ` [Buildroot] [PATCH v2 1/2] package/python-charset-normalizer: add missing unicodedata dependency Marcus Hoffmann via buildroot
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=20261203051641.2638676-2-james.hilliard1@gmail.com \
--to=james.hilliard1@gmail.com \
--cc=buildroot@buildroot.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