Add workaround for pyyaml bug
@@ -28,7 +28,9 @@ whitelist_externals = mkdir
deps = git+git://github.com/cherrypy/cheroot.git@master#egg=cheroot
[testenv:pre-commit]
-deps = pre-commit
+deps =
+ git+https://github.com/yaml/pyyaml@master#egg=pyyaml;python_version=="3.7"
+ pre-commit
commands = pre-commit run --all-files {posargs}
[testenv:pre-commit-pep257]
