From ce5964a594e1169ff6329ea1ca1ebbad295ff05d Mon Sep 17 00:00:00 2001 From: Phil Sphicas Date: Fri, 25 Sep 2020 07:11:59 +0000 Subject: [PATCH] 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 --- armada/__init__.py | 1 + requirements.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/armada/__init__.py b/armada/__init__.py index e69de29b..7faf876b 100644 --- a/armada/__init__.py +++ b/armada/__init__.py @@ -0,0 +1 @@ +import pylibyaml # noqa: F401 # patch pyyaml to use libyaml bindings diff --git a/requirements.txt b/requirements.txt index 99cb6c28..0527ddf3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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