bug#49168: ‘guix import pypi’ misses package dependencies

2022-03-08 Thread zimoun
Hi, On lun., 28 juin 2021 at 11:39, Ludovic Courtès wrote: > Maxim Cournoyer skribis: >> In the mean time, the statu quo seems the best option to me (manually >> specify the setuptools extensions as native-inputs for the python >> packages that need it). We should look forward adjusting our im

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-28 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > Hmm, sorry, I had lost track of what the original missing dependencies > were. In this case (setuptools-scm), it is special in that it extends > the setuptools build system; it must be loaded early by setuptools, so > perhaps that explains why the dependency

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-25 Thread Maxim Cournoyer
Hello, Ludovic Courtès writes: [...] >> Perhaps it'd be best to raise the issue to the package maintainers and >> have them specify their metadata correctly? > > Going back to the example at the beginning of this thread, what ‘guix > import pypi tablib’ produces is missing ‘python-setuptools-sc

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-25 Thread Leo Prikler
Am Freitag, den 25.06.2021, 16:51 +0200 schrieb Ludovic Courtès: > Hello, > > Maxim Cournoyer skribis: > > > Ludovic Courtès writes: > > [...] > > > > Why does the importer favor .whl in the first place? Is it > > > supposed to > > > be more accurate or more widespread or something? > > > >

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-25 Thread Ludovic Courtès
Hello, Maxim Cournoyer skribis: > Ludovic Courtès writes: [...] >> Why does the importer favor .whl in the first place? Is it supposed to >> be more accurate or more widespread or something? > > Yes, the METADATA file from the binary wheel is a better place to look > than the source egg-info

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-24 Thread Maxim Cournoyer
Hi, Ludovic Courtès writes: [...] > So I came up with the following patch, which adds a flag for optional > dependencies, based on ‘requires.txt’. > > Unfortunately, it has no effect for ‘guix import pypi tablib’ because we > only look at Wheel info in that case, as per: > > ;; First, try to

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-24 Thread Ludovic Courtès
Hi, Leo Prikler skribis: > Am Mittwoch, den 23.06.2021, 15:20 +0200 schrieb Ludovic Courtès: >> Hi, >> >> Leo Prikler skribis: >> >> > Am Dienstag, den 22.06.2021, 14:33 +0200 schrieb Ludovic Courtès: >> >> [...] >> >> > > Actually >> > > < >> > > https://files.pythonhosted.org/packages/fe/

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-23 Thread Leo Prikler
Am Mittwoch, den 23.06.2021, 15:20 +0200 schrieb Ludovic Courtès: > Hi, > > Leo Prikler skribis: > > > Am Dienstag, den 22.06.2021, 14:33 +0200 schrieb Ludovic Courtès: > > [...] > > > > Actually > > > < > > > https://files.pythonhosted.org/packages/fe/9d/4e15b2e74044ee051b6939c1b3ff716b0106e8

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-23 Thread Ludovic Courtès
Hi, Leo Prikler skribis: > Am Dienstag, den 22.06.2021, 14:33 +0200 schrieb Ludovic Courtès: [...] >> Actually >> < >> https://files.pythonhosted.org/packages/fe/9d/4e15b2e74044ee051b6939c1b3ff716b0106e8f72d78eab8e08212eab44c/tablib-3.0.0.tar.gz >> > >> does not have a ‘requirements.txt’ file,

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-22 Thread Maxim Cournoyer
Hello, Leo Prikler writes: > Am Dienstag, den 22.06.2021, 14:33 +0200 schrieb Ludovic Courtès: >> Hi, >> >> Leo Prikler skribis: >> >> > > Here, some of tablib’s dependencies are missing; the same problem >> > > seems >> > > to happen with python-django-import-export itself. >> > > >> > > Ar

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-22 Thread Leo Prikler
Am Dienstag, den 22.06.2021, 14:33 +0200 schrieb Ludovic Courtès: > Hi, > > Leo Prikler skribis: > > > > Here, some of tablib’s dependencies are missing; the same problem > > > seems > > > to happen with python-django-import-export itself. > > > > > > Are we failing to parse some of the PyPI me

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-22 Thread Ludovic Courtès
Hi, Leo Prikler skribis: >> Here, some of tablib’s dependencies are missing; the same problem >> seems >> to happen with python-django-import-export itself. >> >> Are we failing to parse some of the PyPI metadata? > I don't think so, rather it appears as though the requires.txt is > somehow mal

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-22 Thread Leo Prikler
Am Dienstag, den 22.06.2021, 09:20 +0200 schrieb Ludovic Courtès: > Hi! > > ‘guix import pypi -r django-import-export’ does not include all the > inputs: > > --8<---cut here---start->8--- > $ guix build -L /tmp/mods python-django-import-export > > [...] > > s

bug#49168: ‘guix import pypi’ misses package dependencies

2021-06-22 Thread Ludovic Courtès
Hi! ‘guix import pypi -r django-import-export’ does not include all the inputs: --8<---cut here---start->8--- $ guix build -L /tmp/mods python-django-import-export [...] starting phase `build' running "python setup.py" with command "build" and parameters () D