GNU bug report logs -
#24557
python importer: extend requirements import
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 24557 in the body.
You can then email your comments to 24557 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#24557
; Package
guix
.
(Wed, 28 Sep 2016 16:37:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ng0 <ngillmann <at> runbox.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Wed, 28 Sep 2016 16:37:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
One example:
ng0 <at> shadowwalker ~$ guix import pypi hyperkitty
Starting download of /tmp/guix-file.yrqmcv
From https://pypi.python.org/packages/47/2d/cc2adf4bc0ed7bb4189b3146dde921c9a6ecc33f0f87c96c744d89bab154/HyperKitty-1.0.3.tar.gz...
…1.0.3.tar.gz 1.5MiB 1.1MiB/s 00:01 [####################] 100.0%
tar: HyperKitty-1.0.3/requirements.txt: Not found in archive
tar: Exiting with failure status due to previous errors
guix import: warning: 'tar xf' failed with exit code 512
(package
(name "python-hyperkitty")
(version "1.0.3")
When you look at the contained setup.py of hyperkitty, it has this
defined in setup.py.
# Requirements REQUIRES = [
etc etc
I've seen this in some variations.
The python importer should be extended to include these not very unusual
cases.
--
ng0
Information forwarded
to
bug-guix <at> gnu.org
:
bug#24557
; Package
guix
.
(Thu, 29 Sep 2016 11:26:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 24557 <at> debbugs.gnu.org (full text, mbox):
On Wed, 28 Sep 2016 16:35:26 +0000
ng0 <ngillmann <at> runbox.com> wrote:
> One example:
>
> ng0 <at> shadowwalker ~$ guix import pypi hyperkitty
>
> Starting download of /tmp/guix-file.yrqmcv
> >From https://pypi.python.org/packages/47/2d/cc2adf4bc0ed7bb4189b3146dde921c9a6ecc33f0f87c96c744d89bab154/HyperKitty-1.0.3.tar.gz...
> …1.0.3.tar.gz 1.5MiB 1.1MiB/s 00:01 [####################] 100.0%
> tar: HyperKitty-1.0.3/requirements.txt: Not found in archive
> tar: Exiting with failure status due to previous errors
> guix import: warning: 'tar xf' failed with exit code 512
> (package
> (name "python-hyperkitty")
> (version "1.0.3")
>
>
> When you look at the contained setup.py of hyperkitty, it has this
> defined in setup.py.
>
> # Requirements REQUIRES = [
> etc etc
>
> I've seen this in some variations.
>
> The python importer should be extended to include these not very unusual
> cases.
This could be done by making the Python importer do something like
hk/HyperKitty-1.0.3 $ python3 setup.py egg_info
hk/HyperKitty-1.0.3 $ cat HyperKitty.egg-info/requires.txt
if (!) the project uses setuptools.
(Unfortunately there seems to be no command line option to directly read the keyword argument "install_requires" by setup.py - although there are command line options for all the other keyword arguments - weird... That's why it's necessary to make it write them egg_info files)
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 6 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.