From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: bug#24450: pypi importer outputs strange character series in optional dependency case. Date: Sun, 16 Jun 2019 17:02:35 +0000 Message-ID: <20190616170137.fdyj3bwevrfywr4r@uptimegirl> References: <87h99fipj1.fsf@we.make.ritual.n0.is> <87imw22tqf.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41084) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hcYZX-0000sp-Td for bug-guix@gnu.org; Sun, 16 Jun 2019 13:04:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hcYZW-0003Wr-K0 for bug-guix@gnu.org; Sun, 16 Jun 2019 13:04:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56031) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hcYZW-0003Wi-G5 for bug-guix@gnu.org; Sun, 16 Jun 2019 13:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hcYZW-0004YA-9P for bug-guix@gnu.org; Sun, 16 Jun 2019 13:04:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87imw22tqf.fsf@gmail.com> 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: Maxim Cournoyer Cc: ng0 , 24450@debbugs.gnu.org Hi Maxim, great to see this fixed. Weird it bumped into my view after almost 3 years. I trust that other people will have tested it, I'm all over the place and mostly doing NetBSD and GNUnet now. Sorry if I have written a reply before, the thread was marked as unread here. Maxim Cournoyer transcribed 3.5K bytes: > ng0 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" > > 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/5941ad2d500ff7cf6f8da1022c78013dcd2207941d533586a8e7bfe699d3/searx-0.15.0.tar.gz... > …5.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--- > > > >