Fix py.test version selection
permission fix