From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#24450: pypi importer outputs strange character series in optional dependency case. Date: Fri, 29 Mar 2019 00:24:24 -0400 Message-ID: <87imw22tqf.fsf@gmail.com> References: <87h99fipj1.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:59280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9jG2-0001eH-KB for bug-guix@gnu.org; Fri, 29 Mar 2019 00:36:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9j4g-0006p1-D9 for bug-guix@gnu.org; Fri, 29 Mar 2019 00:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49649) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h9j4g-0006ov-6f for bug-guix@gnu.org; Fri, 29 Mar 2019 00:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h9j4g-00060B-1T for bug-guix@gnu.org; Fri, 29 Mar 2019 00:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87h99fipj1.fsf@we.make.ritual.n0.is> (ng0's message of "Fri, 16 Sep 2016 20:00:02 +0000") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: ng0 Cc: 24450@debbugs.gnu.org ng0 writes: > I think this should not happen with pypi import: > > (inputs > `(("python-certifi=3D=3D2016.2.28" > ,python-certifi=3D=3D2016.2.28) > ("python-dateutil=3D=3D2.5.3" > ,python-dateutil=3D=3D2.5.3) > ("python-flask-babel=3D=3D0.11.1" > ,python-flask-babel=3D=3D0.11.1) > ("python-flask=3D=3D0.11.1" ,python-flask=3D=3D0.11.1) > ("python-lxml=3D=3D3.6.0" ,python-lxml=3D=3D3.6.0) > ("python-ndg-httpsclient=3D=3D0.4.1" > ,python-ndg-httpsclient=3D=3D0.4.1) > ("python-pyasn1-modules=3D=3D0.0.8" > ,python-pyasn1-modules=3D=3D0.0.8) > ("python-pyasn1=3D=3D0.1.9" ,python-pyasn1=3D=3D0.1.9) > ("python-pygments=3D=3D2.1.3" > ,python-pygments=3D=3D2.1.3) > ("python-pyopenssl=3D=3D0.15.1" > ,python-pyopenssl=3D=3D0.15.1) > ("python-pyyaml=3D=3D3.11" ,python-pyyaml=3D=3D3.11) > ("python-requests[socks]=3D=3D2.10.0" > ,#{python-requests\x5b;socks\x5d;=3D=3D2.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=E2=84=A2. > > > To reproduce: "guix import pypi searx" This would now give (change to be sent for review soon): --8<---------------cut here---------------start------------->8--- ./pre-inst-env guix import pypi searx Starting download of /tmp/guix-file.1wD8K4 >From https://files.pythonhosted.org/packages/75/3f/5941ad2d500ff7cf6f8da102= 2c78013dcd2207941d533586a8e7bfe699d3/searx-0.15.0.tar.gz... =E2=80=A65.0.tar.gz 1.6MiB 729KiB/s 00:02 [#############= #####] 100.0% (package (name "python-searx") (version "0.15.0") (source (origin (method url-fetch) (uri (pypi-uri "searx" version)) (sha256 (base32 "1gmww73q7wydkvlyz73wnr3sybpjn40wha7avnz9ak9m365zcjxf")))) (build-system python-build-system) (propagated-inputs `(("python-certifi" ,python-certifi) ("python-dateutil" ,python-dateutil) ("python-flask" ,python-flask) ("python-flask-babel" ,python-flask-babel) ("python-idna" ,python-idna) ("python-lxml" ,python-lxml) ("python-pygments" ,python-pygments) ("python-pyopenssl" ,python-pyopenssl) ("python-pyyaml" ,python-pyyaml) ("python-requests" ,python-requests))) (native-inputs `(("python-babel" ,python-babel) ("python-cov-core" ,python-cov-core) ("python-mock" ,python-mock) ("python-nose2" ,python-nose2) ("python-pep8" ,python-pep8) ("python-plone.testing" ,python-plone.testing) ("python-selenium" ,python-selenium) ("python-splinter" ,python-splinter) ("python-transifex-client" ,python-transifex-client) ("python-unittest2" ,python-unittest2) ("python-zope.testrunner" ,python-zope.testrunner))) (home-page "https://github.com/asciimoo/searx") (synopsis "A privacy-respecting, hackable metasearch engine") (description "A privacy-respecting, hackable metasearch engine") (license #f)) --8<---------------cut here---------------end--------------->8---