Merge tag 'sparks-1.7' into develop

1.7
workaround the Python 2/3 syntax problems.
bump version in setup.py
Merge branch 'release/1.7.1'