Community Packages

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!
Tasklist

FS#63437 - [python-arrow] Missing required runtime dependency

Attached to Project: Community Packages
Opened by Omar Pakker (Omar007) - Monday, 12 August 2019, 00:13 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 12 August 2019, 08:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
python-arrow is missing python-dateutil as runtime dependency.
The dependency is currently only in the makedepends array but arrow can't be used without python-dateutil being installed.

Additional info:
* package version(s): 0.14.4-1
* config and/or log files etc:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3.7/site-packages/arrow/__init__.py", line 3, in <module>
from .api import get, now, utcnow
File "/usr/lib/python3.7/site-packages/arrow/api.py", line 10, in <module>
from arrow.factory import ArrowFactory
File "/usr/lib/python3.7/site-packages/arrow/factory.py", line 16, in <module>
from dateutil import tz as dateutil_tz
ModuleNotFoundError: No module named 'dateutil'

Steps to reproduce:
$ python
>>> import arrow
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Monday, 12 August 2019, 08:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  0.14.5-1
Comment by Omar Pakker (Omar007) - Monday, 12 August 2019, 00:25 GMT
0.14.3-1 is also affected. Looking at the commit logs this seems to be the first version and it happened at the same time with the removal of the python2 part of the PKGBUILD about 2 weeks ago.
https://git.archlinux.org/svntogit/community.git/commit/?h=packages/python-arrow&id=d8ff5e51ee1a8ae1200a246242d6e80f82d989b1
Comment by Eli Schwartz (eschwartz) - Monday, 12 August 2019, 01:43 GMT
If it wasn't missing a dependency on python-dateutil it would still be missing a dependency on python itself! The package currently has no dependencies!

Loading...