Use the python `six` library to realize the compatibility of `urlparse` in python2 and python3 See merge request !1138