GNU bug report logs - #24450
pypi importer outputs strange character series in optional dependency case.

Previous Next

Package: guix;

Reported by: ng0 <ng0 <at> we.make.ritual.n0.is>

Date: Fri, 16 Sep 2016 20:02:01 UTC

Severity: normal

Tags: patch

Merged with 24557, 33047, 33569, 34266

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 24450 <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: ng0 <ng0 <at> we.make.ritual.n0.is>
Cc: 24450 <at> debbugs.gnu.org
Subject: [PATCH] bug#24450: pypi importer outputs strange character series in
 optional dependency case.
Date: Fri, 29 Mar 2019 00:34:43 -0400
[Message part 1 (text/plain, inline)]
Hello,

ng0 <ng0 <at> we.make.ritual.n0.is> writes:

> I think this should not happen with pypi import:
>
>   (inputs
>     `(("python-certifi==2016.2.28"
>        ,python-certifi==2016.2.28)
>       ("python-dateutil==2.5.3"
>        ,python-dateutil==2.5.3)
>       ("python-flask-babel==0.11.1"
>        ,python-flask-babel==0.11.1)
>       ("python-flask==0.11.1" ,python-flask==0.11.1)
>       ("python-lxml==3.6.0" ,python-lxml==3.6.0)
>       ("python-ndg-httpsclient==0.4.1"
>        ,python-ndg-httpsclient==0.4.1)
>       ("python-pyasn1-modules==0.0.8"
>        ,python-pyasn1-modules==0.0.8)
>       ("python-pyasn1==0.1.9" ,python-pyasn1==0.1.9)
>       ("python-pygments==2.1.3"
>        ,python-pygments==2.1.3)
>       ("python-pyopenssl==0.15.1"
>        ,python-pyopenssl==0.15.1)
>       ("python-pyyaml==3.11" ,python-pyyaml==3.11)
>       ("python-requests[socks]==2.10.0"
>        ,#{python-requests\x5b;socks\x5d;==2.10.0}#)
>       ("python-setuptools" ,python-setuptools)))
>
>
> I can understand the version numbers, I can also understand the optional
> socks building/module of the python-requests, but why does it read like
> Gobbledygook?  Can't we improve the output here?
>
> For version numbers, this is not a format which happened recently which
> is exclusive for python build system right? This is just bad formated
> because of the pypi query.
> I will first try and not pin the application to these version numbers,
> maybe itjustworks™.
>
>
> To reproduce: "guix import pypi searx"

The following patches fix this, and more!

[0001-import-pypi-Do-not-consider-requirements.txt-files.patch (text/x-patch, attachment)]
[0002-import-pypi-Do-not-parse-optional-requirements-from-.patch (text/x-patch, attachment)]
[0003-import-pypi-Improve-parsing-of-requirement-specifica.patch (text/x-patch, attachment)]
[0004-import-pypi-Deduplicate-requirements.patch (text/x-patch, attachment)]
[0005-import-pypi-Support-more-types-of-archives.patch (text/x-patch, attachment)]
[0006-import-pypi-Parse-wheel-METADATA-instead-of-metadata.patch (text/x-patch, attachment)]
[0007-import-pypi-Include-optional-test-inputs-as-native-i.patch (text/x-patch, attachment)]
[Message part 9 (text/plain, inline)]
Thanks,

Maxim
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 6 years and 13 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.