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: Iad54bfd21083b24cad5429bd8ecf794a9ead513e
This commit is contained in:
Phil Sphicas 2020-09-24 04:24:51 +00:00
parent 14a95e65d1
commit b41c3151fb
4 changed files with 4 additions and 0 deletions

View File

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

View File

@ -11,6 +11,7 @@ kubernetes==3.0.0
oslo.context==2.21.0
oslo.policy==1.40.1
pastedeploy==1.5.2
pylibyaml~=0.1
pyyaml~=5.1
requests==2.22.0
uwsgi==2.0.19.1

View File

@ -77,6 +77,7 @@ pycodestyle==2.0.0
pycparser==2.20
pyflakes==1.2.3
pyinotify==0.9.6
pylibyaml==0.1.0
pyparsing==2.4.7
pyperclip==1.8.0
python-barbicanclient==4.7.0

View File

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