version: 2
jobs:
  build:
    docker:
      - image: python:3.6
    steps:
      - checkout
      - run: pip install pytest==5.4.3
      - run: python3 setup.py sdist
      - run: pip3 install dist/webp-*.tar.gz
      - run: pytest tests/

version: 2
jobs:
  build:
    docker:
      - image: python:3.6
    steps:
      - checkout
      - run: python3 setup.py sdist
      - run: pip3 install dist/webp-*.tar.gz
      - run: pip install pytest==5.4.3
      - run: pytest tests/

Move pytest install later in CI steps
Move pytest install later in CI steps
