python: Update version logic in setup.py
Merge branch '4.3'