From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Thu, 13 Feb 2014 10:30:56 +0100 Subject: [Buildroot] [PATCH] host python/python3: conditionally disable unicodedata In-Reply-To: References: <20140207112819.2fab19a3@skate> Message-ID: <20140213103056.3ad2c056@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Thomas De Schampheleire, On Thu, 13 Feb 2014 10:15:14 +0100, Thomas De Schampheleire wrote: > >> would cause the byte-compilation to fail with message: > >> SyntaxError: ("(unicode error) \\N escapes not supported (can't load > >> unicodedata module)", > >> > >> Instead, conditionally disable unicodedata based on > >> BR2_PACKAGE_PYTHON_UNICODEDATA, also for the host python. > >> > >> This fixes bug #6542 (https://bugs.busybox.net/show_bug.cgi?id=6542) > >> > >> Reported-by: Gernot Vormayr > >> Signed-off-by: Thomas De Schampheleire > > > > For information, my upcoming patch series that bumps Python uses > > --enable-unicodedata unconditionally for the host python, because > > recent versions of python-setuptools need unicodedata. > > > > I think this patch should still be part of 2014.02. I agree. Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com