Summary: | dev-python/python-dateutil - zoneinfo tarball not installed but needed by www-apps/nikola | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian Pipping <sping> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/getnikola/nikola/issues/3006 | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=652226 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Crash output |
No. If the public API in that file is broken when the tarball is not present, then sure, we need to fix it. However, in this case upstream is clearly using private internal APIs and that's just very stupid thing to do. |
Created attachment 526278 [details] Crash output The dateutil ebuilds contains these lines: python_prepare_all() { # don't install zoneinfo tarball sed -i '/package_data=/d' setup.py || die distutils-r1_python_prepare_all } That zoneinfo we drop is needed by www-apps/nikola. Without it, "nikola init" crashes on invalid timezone names (e.g. "Berlin" rather than "Europe/Berlin"). Use this command to see it crash, output log attached: python3 -m nikola init <<<$'somedir\n\n\n\n\n\n\n\nBerlin\n' Can we install that zoneinfo tarball please? Unconditionally or behind a use flag, as you like. Thanks!