Target a specific version:

```
.build-artefacts/python-venv/bin/pip install "PyYAML==3.10"
```

But I would not install PyYAML just for this small config file. I'd either use JSON or set the config vars in the script directly.