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
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:
> 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]
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
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
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
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
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.
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]
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:
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
11 matches
Mail list logo