-
Notifications
You must be signed in to change notification settings - Fork 111
Closed
Description
After upgrading to version 1.0.1 from 0.0.56, my existing scripts utilizing the blackduck
module break with the following exception:
Traceback (most recent call last):
File "myScript.py", line 6, in <module>
from blackduck.HubRestApi import HubInstance
File "/opt/python-3.9.2/lib/python3.9/site-packages/blackduck/__init__.py", line 2, in <module>
from .HubRestApi import HubInstance
File "/opt/python-3.9.2/lib/python3.9/site-packages/blackduck/HubRestApi.py", line 55, in <module>
from .Utils import object_id
File "/opt/python-3.9.2/lib/python3.9/site-packages/blackduck/Utils.py", line 9, in <module>
import dateutil.parser
ModuleNotFoundError: No module named 'dateutil'
Looking through the code, I do see python-dateutils defined in the requirements.txt file, but it doesn't seem like the full set of required packages are defined in the setup.py file, so pip doesn't know to install it.
The obvious workaround is for me to pip install python-dateutils
manually when I need to use the blackduck module, but ideally running pip install blackduck
would automatically install everything it needs.
Metadata
Metadata
Assignees
Labels
No labels