Skip to content

Commit

Permalink
[FIX] temporal-pyyaml-version
Browse files Browse the repository at this point in the history
This is a temporal fix implementation for PR:
odoo/odoo#32859
  • Loading branch information
Deiber Rincón committed Apr 22, 2019
1 parent f11b0fe commit a9b4c14
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/scripts/install_odoo.py
Expand Up @@ -42,6 +42,14 @@ def clone_odoo():


def install_odoo():
# Temporal fix pyyaml version
# Check details at PR: https://github.com/odoo/odoo/pull/32859
python_version = "{}.{}".format(sys.version_info[0], sys.version_info[2])
if python_version < "3.7":
subprocess.check_call(["pip", "install", "PyYAML==3.12"])
else:
subprocess.check_call(["pip", "install", "PyYAML==3.13"])

subprocess.check_call(["pip", "install", "-e", odoo_dir])


Expand Down

0 comments on commit a9b4c14

Please sign in to comment.