Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Guido Günther
Hi, On Mon, Nov 06, 2017 at 03:36:20PM +, Nico Schlömer wrote: > > I'm not uploading any wheels only the sources to pypi. > > I know; sources are Python version agnostic, so there's no handle on how to > restrict the version; hence the idea of publishing wheels instead of > sources. There

Bug#880964: [git-buildpackage/master] DebianChangelog: Always open changelog as utf8

2017-11-06 Thread Guido Günther
tag 880964 pending thanks Date: Mon Nov 6 19:22:03 2017 +0100 Author: Guido Günther Commit ID: ac7589de623f997a29db7d2a4ba07c982a162512 Commit URL: https://git.sigxcpu.org/cgit/git-buildpackage//commit/?id=ac7589de623f997a29db7d2a4ba07c982a162512 Patch URL:

Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Nico Schlömer
> I'm not uploading any wheels only the sources to pypi. I know; sources are Python version agnostic, so there's no handle on how to restrict the version; hence the idea of publishing wheels instead of sources. There appears to be another option though, see [1]. [1]

Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Guido Günther
Hi, On Mon, Nov 06, 2017 at 02:53:11PM +, Nico Schlömer wrote: > Thanks for following up on this. > > > But this is not Python2. > > This is the culprit. I installed gbp with pip on my system, with pip > defaulting to python2, which leads to an array of errors, e.g., the > encoding error

Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Nico Schlömer
elog: > > > UnicodeDecodeError > > > > > > It has been closed by Guido Günther <a...@sigxcpu.org>. > > > > > > Their explanation is attached below along with your original report. > > > If this explanation is unsatisfactory and you have no

Bug#880964:

2017-11-06 Thread Guido Günther
control: reopen -1 control: severity -1 normal control: retitle -1 gbp import-orig fails on Umlauts with non-utf8 locale Hi, On Mon, Nov 06, 2017 at 03:37:49PM +0100, Guido Günther wrote: > Hi, > On Mon, Nov 06, 2017 at 02:28:33PM +, Nico Schlömer wrote: > > Digging further, I found that the

Bug#880964:

2017-11-06 Thread Guido Günther
Hi, On Mon, Nov 06, 2017 at 02:28:33PM +, Nico Schlömer wrote: > Digging further, I found that the error can be fixed with > ``` > io.open(self.filename, mode='r', encoding='utf-8') > ``` > in `_read`, just as described in [1]. Note that > ``` > self._contents.encode() > ``` > needs to become

Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Guido Günther
attached below along with your original report. > > If this explanation is unsatisfactory and you have not received a > > better one in a separate message then please contact Guido Günther < > > a...@sigxcpu.org> by > > replying to this email.

Bug#880964:

2017-11-06 Thread Nico Schlömer
Digging further, I found that the error can be fixed with ``` io.open(self.filename, mode='r', encoding='utf-8') ``` in `_read`, just as described in [1]. Note that ``` self._contents.encode() ``` needs to become ``` self._contents.encode('utf-8') ``` then, too. [1]

Bug#880964: closed by Guido Günther <a...@sigxcpu.org> (Re: Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError)

2017-11-06 Thread Nico Schlömer
eir explanation is attached below along with your original report. > If this explanation is unsatisfactory and you have not received a > better one in a separate message then please contact Guido Günther < > a...@sigxcpu.org> by > replying to this email. > > > -- > 880964:

Bug#880964: git-buildpackage: non-ascii character in d/changelog: UnicodeDecodeError

2017-11-06 Thread Nico Schlömer
Package: git-buildpackage Version: 0.8.18 Severity: important When running ``` gbp import-orig --uscan --pristine-tar ``` on the gmsh package, gbp bails out with the error message ``` UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 399: ordinal not in range(128) ``` referring