fix some SyntaxWarning
don't  install deps in test commands, use deps parameter; use download cache; build docs in a separate environment