bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#24450: [PATCH] bug#24450: pypi importer outputs strange character se


From: Maxim Cournoyer
Subject: bug#24450: [PATCH] bug#24450: pypi importer outputs strange character series in optional dependency case.
Date: Fri, 29 Mar 2019 00:34:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

ng0 <address@hidden> 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!

Attachment: 0001-import-pypi-Do-not-consider-requirements.txt-files.patch
Description: Text Data

Attachment: 0002-import-pypi-Do-not-parse-optional-requirements-from-.patch
Description: Text Data

Attachment: 0003-import-pypi-Improve-parsing-of-requirement-specifica.patch
Description: Text Data

Attachment: 0004-import-pypi-Deduplicate-requirements.patch
Description: Text Data

Attachment: 0005-import-pypi-Support-more-types-of-archives.patch
Description: Text Data

Attachment: 0006-import-pypi-Parse-wheel-METADATA-instead-of-metadata.patch
Description: Text Data

Attachment: 0007-import-pypi-Include-optional-test-inputs-as-native-i.patch
Description: Text Data

Thanks,

Maxim

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]