[tryton-debian] tarball compression

Mathias Behrle mathiasb at m9s.biz
Tue Jan 28 18:02:30 UTC 2014


* Raphael Hertzog: " Re: [tryton-debian] tarball compression" (Tue, 28 Jan 2014
  08:33:13 +0100):

> On Mon, 27 Jan 2014, Mathias Behrle wrote:
> > > * debian/rules: can you explain me why "export LC_ALL=C.UTF-8" is needed
> > >   for pbuilder ?
> > 
> > It is #725788.
> 
> I have just read this bug report and IMO you missed the proper fix.
> Python 3.3 uses ASCII encoding by default when LC_ALL=C and you
> have setup.py which is trying to open an UTF-8 file. So you should
> fix the code to explicitely tell that you're dealing with UTF-8.
> 
> In Python3, that's a matter of using open(..., encoding='UTF-8')
> but unfortunately that's not Python2 compatible. So you will have
> to use an if clause (or find some other way to tell python to open
> everything in UTF-8 by default).

You are right. I will remove those statements. The issue itself is already
fixed upstream by using codecs.

-- 

    Mathias Behrle
    PGP/GnuPG key availabable from any keyserver, ID: 0x8405BBF6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/tryton-debian/attachments/20140128/801b8786/attachment.sig>


More information about the tryton-debian mailing list