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: 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
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 from above. Perhaps one way of preventing pip2-installs from pypi is to create

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:21:16PM +, Nico Schlömer wrote: > I've tried with 0.9.1 and I'm getting the same error. The error message > makes sense too: In `_run_parsechangelog` one finds Then please provide steps to reproduce. > ``` > self._contents.encode() > ``` > which fails in Python

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've tried with 0.9.1 and I'm getting the same error. The error message makes sense too: In `_run_parsechangelog` one finds ``` self._contents.encode() ``` which fails in Python 2 if `self._contents` contains a non-ascii character. (Reproducable with `'ö'.encode()`.) Position 399 in the error