py-requests: unable to import
uhd-devel destroot fails on buildbot worker:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.24) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_uhd/uhd-devel/work/destroot/opt/local/share/uhd/utils/uhd_images_downloader.py", line 21, in <module>
import requests
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/__init__.py", line 112, in <module>
from . import utils
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/utils.py", line 26, in <module>
from ._internal_utils import to_native_string
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/_internal_utils.py", line 11, in <module>
from .compat import is_py2, builtin_str, str
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/requests/compat.py", line 48, in <module>
from urllib3.packages.ordered_dict import OrderedDict
ImportError: No module named ordered_dict
Command failed: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_uhd/uhd-devel/work/destroot/opt/local/share/uhd/utils/uhd_images_downloader.py --verbose --install-location=/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_uhd/uhd-devel/work/destroot/opt/local/share/uhd/images
Exit code: 1
Error: Failed to destroot uhd-devel: command execution failed
This is not a UHD issue. This issue is with "py-requests". Changing it to be so ...