[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#43346] Poezio (Revised Patches)
From: |
Raghav Gururajan |
Subject: |
[bug#43346] Poezio (Revised Patches) |
Date: |
Sat, 12 Sep 2020 10:22:00 -0400 |
Hi Danny!
>
> ... why?
>
> I've checked the source code of poezio and it does not use aiodns, aiohttp.
>
> In order to find that out:
>
> $ guix build python-aiodns
>
> Check resulting directory to find
> /gnu/store/8bzk4dwhhbblz8gky9hzdnzjlsi1nk7v-python-aiodns-1.1.1/lib/python3.8/site-packages/aiodns/__init__.py
>
> That means a user of the library would have to do
>
> from aiodns import *
>
> or
>
> import aiodns
> .
>
> So I grepped the whole source code of poezio, and it doesn't do that. Hence
> it is not a direct input.
>
> It is a propagated-input in a dependency, which indeed does do the import.
>
> You can't really trust what upstream says here. Almost no package manager
> has non-propagated inputs, so of course they wouldn't be saying "the input
> such and such is propagated, and the input such and such is not propagated".
>
> Thus you have to check it yourself.
>
> Could you do so with the other dependencies before adding them?
Hmm. When I grep the source, they were mentioned in requirements.txt and
requirements-plugins.txt. Also, the setup.py has install_requires and
plugins_require sections, which are similar to required section in .pc
files right?
Regards,
RG.
signature.asc
Description: OpenPGP digital signature