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: Ic3f7ba1ce6c4db1a4bc18fe1aef8e0675f7cd69e
This commit is contained in:
Phil Sphicas 2020-09-24 05:09:46 +00:00
parent 6b5f9c4db4
commit 4e7ff997a6
6 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,7 @@ oslo.config==6.4.0
oslo.policy==1.38.1
PasteDeploy==1.5.2
psycopg2-binary==2.8.4
pylibyaml~=0.1
python-dateutil==2.7.3
python-memcached==1.59
requests==2.20.0

View File

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

View File

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

View File

@ -20,4 +20,5 @@ click-default-group==1.2
keystoneauth1==3.11.1
requests==2.20.0
PTable==0.9.2
pylibyaml==0.1.0
pyyaml==5.1

View File

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

View File

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