From fe827e6b3f29275a71328a4756112a2ecee951e0 Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Thu, 2 May 2019 16:14:47 +0200 Subject: [PATCH] Pin PyYAML version because 5.x does not work with Odoo It would raise ConstructorError: could not determine a constructor for the tag '!record' --- .travis.yml | 1 - requirements.txt | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 7f1a418..511c77f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,6 @@ addons: - python-lxml # because pip installation is slow - python-simplejson - python-serial - - python-yaml env: matrix: diff --git a/requirements.txt b/requirements.txt index ec8459a..9d0c28d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,5 @@ statsd==3.2.1 python-swiftclient==3.7.0 python-keystoneclient==3.19.0 keystoneauth1==3.14.0 +# error with 5.x (ConstructorError: could not determine a constructor for the tag '!record') +PyYAML==4.2b4