update dependency to Python 3+.