[sphinx] Fix version import