summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin David <valentin.david@codethink.co.uk>2018-11-27 11:26:21 +0100
committerValentin David <valentin.david@gmail.com>2018-11-28 09:11:21 +0000
commit499c70fd7828392e7dc8d0743af28bd5aa7aa9f4 (patch)
tree7a769b696249d4b568eecd5e8f1b09b7389652a0
parent2a8a3b19966a25eff30391e9f50dbe9610d20c33 (diff)
downloadbuildstream-valentindavid/ruamel_0_15_41.tar.gz
setup.py: require ruamel.yaml >= 0.15.41 < 0.15.52valentindavid/ruamel_0_15_41
-rwxr-xr-xsetup.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 76610f0ef..c51e6d5bf 100755
--- a/setup.py
+++ b/setup.py
@@ -337,7 +337,14 @@ setup(name='BuildStream',
install_requires=[
'setuptools',
'psutil',
- 'ruamel.yaml < 0.15.52',
+ # According to ruamel.yaml's PyPI page, we are suppose to use
+ # "<=0.15" in production until 0.15 becomes API stable.
+ # However we need ruamel.yaml 0.15.41 or greater for Python 3.7.
+ # We know that ruamel.yaml 0.15.52 breaks API in a way that
+ # is incompatible with BuildStream.
+ #
+ # See issues #571 and #790.
+ 'ruamel.yaml >= 0.15.41, < 0.15.52',
'pluginbase',
'Click',
'jinja2 >= 2.10',