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: I4a3045e15df909fb4760800ce1fb87e298dd1e67
This commit is contained in:
Phil Sphicas 2020-09-25 07:11:59 +00:00
parent a968918d84
commit ce5964a594
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -10,6 +10,7 @@ kubernetes>=11.0.0
Paste>=2.0.3
PasteDeploy>=1.5.2
protobuf>=3.4.0
pylibyaml~=0.1
pyyaml~=5.1
requests
retry