Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60319 - [python-ifaddr] Missing dependency
Attached to Project:
Community Packages
Opened by Sibren Vasse (SibrenVasse) - Friday, 05 October 2018, 16:43 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 30 November 2018, 17:41 GMT
Opened by Sibren Vasse (SibrenVasse) - Friday, 05 October 2018, 16:43 GMT
Last edited by Jelle van der Waa (jelly) - Friday, 30 November 2018, 17:41 GMT
|
DetailsDescription:
python-ifaddr requires ipaddress. https://github.com/pydron/ifaddr/blob/e6163693b6b6d85aad711c3a6849ce7e3bc80d01/ifaddr/_shared.py#L24 Additional info: * python-ifaddr 0.1.4-1 * Example traceback in attachment |
This task depends upon
Closed by Jelle van der Waa (jelly)
Friday, 30 November 2018, 17:41 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.1.5-1
Friday, 30 November 2018, 17:41 GMT
Reason for closing: Fixed
Additional comments about closing: Fixed in 0.1.5-1
log
The actual problem is that python-ifaddr explicitly depends on the former (third-party, separately installed) ipaddress module, which isn’t available as such with Python 3.3 and newer (as it’s already contained in the vanilla Python installation). Hence, the dependency checker will fail to find ipaddress even though it’s implicitly available.
I think that the right solution is to restrict the ipaddress install dependency of ifaddr to Python earlier than 3.3 in the project’s setup.py. I proposed a pull request in the upstream repository [2], so let’s see what the maintainers say.
[1] https://docs.python.org/3/library/ipaddress.html
[2] https://github.com/pydron/ifaddr/pull/12