Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: James Hilliard <james.hilliard1@gmail.com>
To: buildroot@buildroot.org
Cc: James Hilliard <james.hilliard1@gmail.com>
Subject: [Buildroot] [PATCH v2 1/2] package/python-charset-normalizer: add missing unicodedata dependency
Date: Wed,  2 Dec 2026 22:16:40 -0700	[thread overview]
Message-ID: <20261203051641.2638676-1-james.hilliard1@gmail.com> (raw)

charset_normalizer.utils imports unicodedata at runtime. Select the
module so that importing charset_normalizer also works when it would
otherwise be disabled in the target Python interpreter.

Fixes: 88a8565de08c ("package/python-charset-normalizer: new package")
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
  - Split the runtime dependency fix from the version bump for backporting.
---
 package/python-charset-normalizer/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/python-charset-normalizer/Config.in b/package/python-charset-normalizer/Config.in
index 3b01357167..52d3897745 100644
--- a/package/python-charset-normalizer/Config.in
+++ b/package/python-charset-normalizer/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_CHARSET_NORMALIZER
 	bool "python-charset-normalizer"
+	select BR2_PACKAGE_PYTHON3_UNICODEDATA
 	help
 	  The Real First Universal Charset Detector. Open, modern and
 	  actively maintained alternative to Chardet.
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

             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 James Hilliard [this message]
2026-12-03  5:16 ` [Buildroot] [PATCH v2 2/2] package/python-charset-normalizer: bump to version 3.5.3 James Hilliard
2026-12-03 20:03   ` 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-1-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