Accelerate YAML operations with LibYAML

Patch PyYAML (via the pylibyaml library) to automatically enable the
LibYAML parser and emitter, which are faster than the Python versions.

https://pypi.org/project/pylibyaml/

Change-Id: Iebcc50b5db87518b3b7e0fac124c712afd06da2b
This commit is contained in:
Phil Sphicas 2020-09-24 05:17:35 +00:00
parent 9c8069d26a
commit 42fe1b85cb
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
import pylibyaml # noqa: F401 # patch pyyaml to use libyaml bindings

View File

@ -29,6 +29,7 @@ pbr==5.1.0
PasteDeploy==1.5.2
Paste==3.0.1
psycopg2-binary==2.8.4
pylibyaml~=0.1
pyyaml~=5.1
# TODO(alanmeadows)

View File

@ -17,3 +17,4 @@ pifpaf==2.1.2
oslotest==3.7.0
yq>=2.7.2
tox
pylibyaml~=0.1