GNU bug report logs - #34266
pypi importer cannot handle [ and ] correctly

Previous Next

Package: guix;

Reported by: swedebugia <swedebugia <at> riseup.net>

Date: Thu, 31 Jan 2019 18:26:02 UTC

Severity: normal

Tags: patch

Merged with 24450, 24557, 33047, 33569

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 34266 in the body.
You can then email your comments to 34266 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#34266; Package guix. (Thu, 31 Jan 2019 18:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to swedebugia <swedebugia <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 31 Jan 2019 18:26:03 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Report new Guix bug <bug-guix <at> gnu.org>
Subject: pypi importer cannot handle [ and ] correctly
Date: Thu, 31 Jan 2019 19:25:12 +0100
$ ./pre-inst-env guix import pypi beaker

following redirection to `https://pypi.org/pypi/Beaker/json'...

Starting download of /tmp/guix-file.p15GJZ
From 
https://files.pythonhosted.org/packages/c2/21/b052b2fbfee3def06670923d5d34b0d353d4c278013e4a714c3fb663f150/Beaker-1.10.0.tar.gz...
 ...0.0.tar.gz  40KiB                 521KiB/s 00:00 
[##################] 100.0%
(package
  (name "python-beaker")
  (version "1.10.0")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "beaker" version))
      (sha256
        (base32
          "0l047yl3n9b3w7ba0wrqdb5fpww5y8pjy20kah2mlpr230lqjwk0"))))
  (build-system python-build-system)
  (propagated-inputs
    `(("python-[crypto]" ,#{python-\x5b;crypto\x5d;}#)
      ("python-[cryptography]"
       ,#{python-\x5b;cryptography\x5d;}#)
      ("python-[pycrypto]"
       ,#{python-\x5b;pycrypto\x5d;}#)
      ("python-[pycryptodome]"
       ,#{python-\x5b;pycryptodome\x5d;}#)
      ("python-[testsuite]"
       ,#{python-\x5b;testsuite\x5d;}#)
      ("python-coverage" ,python-coverage)
      ("python-cryptography" ,python-cryptography)
      ("python-cryptography" ,python-cryptography)
      ("python-funcsigs" ,python-funcsigs)
      ("python-memcached" ,python-memcached)
      ("python-mock" ,python-mock)
      ("python-nose" ,python-nose)
      ("python-pycrypto" ,python-pycrypto)
      ("python-pycryptodome" ,python-pycryptodome)
      ("python-pycryptodome" ,python-pycryptodome)
      ("python-pycryptopp" ,python-pycryptopp)
      ("python-pylibmc" ,python-pylibmc)
      ("python-pymongo" ,python-pymongo)
      ("python-redis" ,python-redis)
      ("python-sqlalchemy" ,python-sqlalchemy)
      ("python-webtest" ,python-webtest)))
  (home-page "https://beaker.readthedocs.io/")
  (synopsis
    "A Session and Caching library with WSGI Middleware")
  (description
    "A Session and Caching library with WSGI Middleware")
  (license license:bsd-3))




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

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#34266; Package guix. (Fri, 29 Mar 2019 04:20:02 GMT) Full text and rfc822 format available.

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

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: swedebugia <swedebugia <at> riseup.net>
Cc: 34266 <at> debbugs.gnu.org, 24450 <at> debbugs.gnu.org
Subject: Re: bug#34266: pypi importer cannot handle [ and ] correctly
Date: Fri, 29 Mar 2019 00:19:12 -0400
swedebugia <swedebugia <at> riseup.net> writes:

> $ ./pre-inst-env guix import pypi beaker
>
> following redirection to `https://pypi.org/pypi/Beaker/json'...
>
> Starting download of /tmp/guix-file.p15GJZ
> From
> https://files.pythonhosted.org/packages/c2/21/b052b2fbfee3def06670923d5d34b0d353d4c278013e4a714c3fb663f150/Beaker-1.10.0.tar.gz...
>  ...0.0.tar.gz  40KiB                 521KiB/s 00:00
> [##################] 100.0%
> (package
>   (name "python-beaker")
>   (version "1.10.0")
>   (source
>     (origin
>       (method url-fetch)
>       (uri (pypi-uri "beaker" version))
>       (sha256
>         (base32
>           "0l047yl3n9b3w7ba0wrqdb5fpww5y8pjy20kah2mlpr230lqjwk0"))))
>   (build-system python-build-system)
>   (propagated-inputs
>     `(("python-[crypto]" ,#{python-\x5b;crypto\x5d;}#)
>       ("python-[cryptography]"
>        ,#{python-\x5b;cryptography\x5d;}#)
>       ("python-[pycrypto]"
>        ,#{python-\x5b;pycrypto\x5d;}#)
>       ("python-[pycryptodome]"
>        ,#{python-\x5b;pycryptodome\x5d;}#)
>       ("python-[testsuite]"
>        ,#{python-\x5b;testsuite\x5d;}#)
>       ("python-coverage" ,python-coverage)
>       ("python-cryptography" ,python-cryptography)
>       ("python-cryptography" ,python-cryptography)
>       ("python-funcsigs" ,python-funcsigs)
>       ("python-memcached" ,python-memcached)
>       ("python-mock" ,python-mock)
>       ("python-nose" ,python-nose)
>       ("python-pycrypto" ,python-pycrypto)
>       ("python-pycryptodome" ,python-pycryptodome)
>       ("python-pycryptodome" ,python-pycryptodome)
>       ("python-pycryptopp" ,python-pycryptopp)
>       ("python-pylibmc" ,python-pylibmc)
>       ("python-pymongo" ,python-pymongo)
>       ("python-redis" ,python-redis)
>       ("python-sqlalchemy" ,python-sqlalchemy)
>       ("python-webtest" ,python-webtest)))
>   (home-page "https://beaker.readthedocs.io/")
>   (synopsis
>     "A Session and Caching library with WSGI Middleware")
>   (description
>     "A Session and Caching library with WSGI Middleware")
>   (license license:bsd-3))

Testing with my soon-to-be sent for review changes:

--8<---------------cut here---------------start------------->8---
./pre-inst-env guix import pypi beaker
following redirection to `https://pypi.org/pypi/Beaker/json'...

Starting download of /tmp/guix-file.0MWu4B
From https://files.pythonhosted.org/packages/76/87/ecc1a222f0caaa7ba7b8928737e89b2e91b8c22450c12b8a51ee625a4d87/Beaker-1.10.1.tar.gz...
 …0.1.tar.gz  40KiB                   487KiB/s 00:00 [##################] 100.0%
(package
  (name "python-beaker")
  (version "1.10.1")
  (source
    (origin
      (method url-fetch)
      (uri (pypi-uri "beaker" version))
      (sha256
        (base32
          "16zdjfl8v73yl1capph0n371vd26c7zpzb48n505ip32ffgmvc4f"))))
  (build-system python-build-system)
  (native-inputs
    `(("python-coverage" ,python-coverage)
      ("python-cryptography" ,python-cryptography)
      ("python-memcached" ,python-memcached)
      ("python-mock" ,python-mock)
      ("python-nose" ,python-nose)
      ("python-pycryptodome" ,python-pycryptodome)
      ("python-pylibmc" ,python-pylibmc)
      ("python-pymongo" ,python-pymongo)
      ("python-redis" ,python-redis)
      ("python-sqlalchemy" ,python-sqlalchemy)
      ("python-webtest" ,python-webtest)))
  (home-page "https://beaker.readthedocs.io/")
  (synopsis
    "A Session and Caching library with WSGI Middleware")
  (description
    "A Session and Caching library with WSGI Middleware")
  (license license:bsd-3))
--8<---------------cut here---------------end--------------->8---

Looking better?

Maxim




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.

Information forwarded to bug-guix <at> gnu.org:
bug#34266; Package guix. (Sat, 30 Mar 2019 07:58:02 GMT) Full text and rfc822 format available.

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

From: swedebugia <swedebugia <at> riseup.net>
To: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: 34266 <at> debbugs.gnu.org, 24450 <at> debbugs.gnu.org
Subject: Re: bug#34266: pypi importer cannot handle [ and ] correctly
Date: Sat, 30 Mar 2019 08:59:12 +0100
[Message part 1 (text/plain, inline)]
On 2019-03-29 05:19, Maxim Cournoyer wrote:
> swedebugia <swedebugia <at> riseup.net> writes:
> 
>> $ ./pre-inst-env guix import pypi beaker
>>
>> following redirection to `https://pypi.org/pypi/Beaker/json'...
>>
>> Starting download of /tmp/guix-file.p15GJZ
>> From
>> https://files.pythonhosted.org/packages/c2/21/b052b2fbfee3def06670923d5d34b0d353d4c278013e4a714c3fb663f150/Beaker-1.10.0.tar.gz...
>>  ...0.0.tar.gz  40KiB                 521KiB/s 00:00
>> [##################] 100.0%
>> (package
>>   (name "python-beaker")
>>   (version "1.10.0")
>>   (source
>>     (origin
>>       (method url-fetch)
>>       (uri (pypi-uri "beaker" version))
>>       (sha256
>>         (base32
>>           "0l047yl3n9b3w7ba0wrqdb5fpww5y8pjy20kah2mlpr230lqjwk0"))))
>>   (build-system python-build-system)
>>   (propagated-inputs
>>     `(("python-[crypto]" ,#{python-\x5b;crypto\x5d;}#)
>>       ("python-[cryptography]"
>>        ,#{python-\x5b;cryptography\x5d;}#)
>>       ("python-[pycrypto]"
>>        ,#{python-\x5b;pycrypto\x5d;}#)
>>       ("python-[pycryptodome]"
>>        ,#{python-\x5b;pycryptodome\x5d;}#)
>>       ("python-[testsuite]"
>>        ,#{python-\x5b;testsuite\x5d;}#)
>>       ("python-coverage" ,python-coverage)
>>       ("python-cryptography" ,python-cryptography)
>>       ("python-cryptography" ,python-cryptography)
>>       ("python-funcsigs" ,python-funcsigs)
>>       ("python-memcached" ,python-memcached)
>>       ("python-mock" ,python-mock)
>>       ("python-nose" ,python-nose)
>>       ("python-pycrypto" ,python-pycrypto)
>>       ("python-pycryptodome" ,python-pycryptodome)
>>       ("python-pycryptodome" ,python-pycryptodome)
>>       ("python-pycryptopp" ,python-pycryptopp)
>>       ("python-pylibmc" ,python-pylibmc)
>>       ("python-pymongo" ,python-pymongo)
>>       ("python-redis" ,python-redis)
>>       ("python-sqlalchemy" ,python-sqlalchemy)
>>       ("python-webtest" ,python-webtest)))
>>   (home-page "https://beaker.readthedocs.io/")
>>   (synopsis
>>     "A Session and Caching library with WSGI Middleware")
>>   (description
>>     "A Session and Caching library with WSGI Middleware")
>>   (license license:bsd-3))
> 
> Testing with my soon-to-be sent for review changes:
> 
> --8<---------------cut here---------------start------------->8---
> ./pre-inst-env guix import pypi beaker
> following redirection to `https://pypi.org/pypi/Beaker/json'...
> 
> Starting download of /tmp/guix-file.0MWu4B
> From https://files.pythonhosted.org/packages/76/87/ecc1a222f0caaa7ba7b8928737e89b2e91b8c22450c12b8a51ee625a4d87/Beaker-1.10.1.tar.gz...
>  …0.1.tar.gz  40KiB                   487KiB/s 00:00 [##################] 100.0%
> (package
>   (name "python-beaker")
>   (version "1.10.1")
>   (source
>     (origin
>       (method url-fetch)
>       (uri (pypi-uri "beaker" version))
>       (sha256
>         (base32
>           "16zdjfl8v73yl1capph0n371vd26c7zpzb48n505ip32ffgmvc4f"))))
>   (build-system python-build-system)
>   (native-inputs
>     `(("python-coverage" ,python-coverage)
>       ("python-cryptography" ,python-cryptography)
>       ("python-memcached" ,python-memcached)
>       ("python-mock" ,python-mock)
>       ("python-nose" ,python-nose)
>       ("python-pycryptodome" ,python-pycryptodome)
>       ("python-pylibmc" ,python-pylibmc)
>       ("python-pymongo" ,python-pymongo)
>       ("python-redis" ,python-redis)
>       ("python-sqlalchemy" ,python-sqlalchemy)
>       ("python-webtest" ,python-webtest)))
>   (home-page "https://beaker.readthedocs.io/")
>   (synopsis
>     "A Session and Caching library with WSGI Middleware")
>   (description
>     "A Session and Caching library with WSGI Middleware")
>   (license license:bsd-3))
> --8<---------------cut here---------------end--------------->8---
> 
> Looking better?

Perfect!

-- 
Cheers Swedebugia

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

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 269 days ago.

Previous Next


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