GNU bug report logs - #33047
pypi importer uses incorrect package names

Previous Next

Package: guix;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Mon, 15 Oct 2018 13:44:02 UTC

Severity: normal

Tags: patch

Merged with 24450, 24557, 33569, 34266

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 33047 in the body.
You can then email your comments to 33047 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#33047; Package guix. (Mon, 15 Oct 2018 13:44:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Julien Lepiller <julien <at> lepiller.eu>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 15 Oct 2018 13:44:02 GMT) Full text and rfc822 format available.

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

From: Julien Lepiller <julien <at> lepiller.eu>
To: bug-guix <at> gnu.org
Subject: pypi importer uses incorrect package names
Date: Mon, 15 Oct 2018 15:43:02 +0200
Hi,

I found that sometimes the pypi importer had trouble importing packages 
correctly. For instance, running "guix import pypi txaio" gave me this 
list of dependencies:

(propagated-inputs
 `(("python-[all]" ,#{python-\x5b;all\x5d;}#)
   ("python-[asyncio]"
    ,#{python-\x5b;asyncio\x5d;}#)
   ...))

guix import pypi magic-wormhole had this:

(propagated-inputs
  ("python-autobahn[twisted]"
   ,#{python-autobahn\x5b;twisted\x5d;}#)
  ...))

Of course, they break the recursive importer, which makes it difficult 
to import these packages correctly.




Forcibly Merged 33047 33569 34266. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 21 Mar 2019 18:42:01 GMT) Full text and rfc822 format available.

Merged 24450 33047 33569 34266. Request was from T460s laptop <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 28 Mar 2019 04:33:02 GMT) Full text and rfc822 format available.

Forcibly Merged 24450 33047 33569 34266. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 28 Mar 2019 04:38:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#33047; Package guix. (Fri, 29 Mar 2019 04:24:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>
Cc: 33047 <at> debbugs.gnu.org, 24450 <at> debbugs.gnu.org
Subject: Re: bug#33047: pypi importer uses incorrect package names
Date: Fri, 29 Mar 2019 00:23:03 -0400
Julien Lepiller <julien <at> lepiller.eu> writes:

> Hi,
>
> I found that sometimes the pypi importer had trouble importing
> packages correctly. For instance, running "guix import pypi txaio"
> gave me this list of dependencies:
>
> (propagated-inputs
>  `(("python-[all]" ,#{python-\x5b;all\x5d;}#)
>    ("python-[asyncio]"
>     ,#{python-\x5b;asyncio\x5d;}#)
>    ...))
>
> guix import pypi magic-wormhole had this:
>
> (propagated-inputs
>   ("python-autobahn[twisted]"
>    ,#{python-autobahn\x5b;twisted\x5d;}#)
>   ...))
>
> Of course, they break the recursive importer, which makes it difficult
> to import these packages correctly.

Testing local branch:

./pre-inst-env guix import pypi txaio

Starting download of /tmp/guix-file.jTNBQz
From https://files.pythonhosted.org/packages/c1/99/81de004578e9afe017bb1d4c8968088a33621c05449fe330bdd7016d5377/txaio-18.8.1.tar.gz...
 …8.1.tar.gz  50KiB                   894KiB/s 00:00 [##################] 100.0%

Starting download of /tmp/guix-file.ZB3Q2n
From https://files.pythonhosted.org/packages/e9/6d/e1a6f7835cde86728e5bb1f577be9b2d7d273fdb33c286e70b087d418ded/txaio-18.8.1-py2.py3-none-any.whl...
 ….py3-none-any.whl  27KiB            746KiB/s 00:00 [##################] 100.0%
(package
  (name "python-txaio")
  (version "18.8.1")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "txaio" version))
      (sha256
        (base32
          "1zmpdph6zddgrnkkcykh6qk5s46l7s5mzfqrh82m4b5iffn61qv7"))))
  (build-system python-build-system)
  (propagated-inputs `(("python-six" ,python-six)))
  (native-inputs
    `(("python-mock" ,python-mock)
      ("python-pep8" ,python-pep8)
      ("python-pyenchant" ,python-pyenchant)
      ("python-pytest" ,python-pytest)
      ("python-pytest-cov" ,python-pytest-cov)
      ("python-sphinx" ,python-sphinx)
      ("python-sphinx-rtd-theme"
       ,python-sphinx-rtd-theme)
      ("python-sphinxcontrib-spelling"
       ,python-sphinxcontrib-spelling)
      ("python-tox" ,python-tox)
      ("python-twine" ,python-twine)
      ("python-wheel" ,python-wheel)))
  (home-page "https://github.com/crossbario/txaio")
  (synopsis
    "Compatibility API between asyncio/Twisted/Trollius")
  (description
    "Compatibility API between asyncio/Twisted/Trollius")
  (license #f))

and

./pre-inst-env guix import pypi magic-wormhole

Starting download of /tmp/guix-file.80RRqk
From https://files.pythonhosted.org/packages/77/15/9438290bab8146efc0213f7c3d9645d9bc5a2e885e4049477e7432e40336/magic-wormhole-0.11.2.tar.gz...
 …-0.11.2.tar.gz  193KiB              911KiB/s 00:00 [##################] 100.0%

Starting download of /tmp/guix-file.mRGAx3
From https://files.pythonhosted.org/packages/82/98/3e8d12fdb90457e8f3e1f5b877ee27f5db58dbaf4a4fbe95f7287a568401/magic_wormhole-0.11.2-py2.py3-none-any.whl...
 …-py2.py3-none-any.whl  128KiB      1009KiB/s 00:00 [##################] 100.0%
(package
  (name "python-magic-wormhole")
  (version "0.11.2")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "magic-wormhole" version))
      (sha256
        (base32
          "01fr4bi6kc6fz9n3c4qq892inrc3nf6p2djy65yvm7xkvdxncydf"))))
  (build-system python-build-system)
  (propagated-inputs
    `(("python-attrs" ,python-attrs)
      ("python-autobahn" ,python-autobahn)
      ("python-automat" ,python-automat)
      ("python-click" ,python-click)
      ("python-hkdf" ,python-hkdf)
      ("python-humanize" ,python-humanize)
      ("python-pynacl" ,python-pynacl)
      ("python-pywin32" ,python-pywin32)
      ("python-six" ,python-six)
      ("python-spake2" ,python-spake2)
      ("python-tqdm" ,python-tqdm)
      ("python-twisted" ,python-twisted)
      ("python-txtorcon" ,python-txtorcon)))
  (native-inputs
    `(("python-magic-wormhole-mailbox-server"
       ,python-magic-wormhole-mailbox-server)
      ("python-magic-wormhole-transit-relay"
       ,python-magic-wormhole-transit-relay)
      ("python-mock" ,python-mock)
      ("python-pyflakes" ,python-pyflakes)
      ("python-tox" ,python-tox)))
  (home-page
    "https://github.com/warner/magic-wormhole")
  (synopsis
    "Securely transfer data between computers")
  (description
    "Securely transfer data between computers")
  (license license:expat))
  




Forcibly Merged 24450 24557 33047 33569 34266. Request was from T460s laptop <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 30 Mar 2019 02:16:02 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Maxim Cournoyer <maxim.cournoyer <at> gmail.com> to control <at> debbugs.gnu.org. (Sun, 31 Mar 2019 14:42:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 30 Jul 2019 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 243 days ago.

Previous Next


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