summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2018-08-14 23:29:38 +0200
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2018-08-23 18:11:47 +0900
commitf1e3f10ffe2aeb7627009644c9cb93505686fddc (patch)
tree30b3952d3503c232543c04c390772080f68f7b78
parent176aa09fba06d478c6d138400e855e85e6526a19 (diff)
downloadbuildstream-tristan/blessings.tar.gz
deps: Specify the minimum version required for blessingstristan/blessings
Buildstream uses the Terminal.does_styling attribute, which was only added in blessings 1.6. Blessings helpfully returns an empty string when calling an nonexistent attribute on the Terminal object, instead of failing. Because Fedora has blessings 1.5, Buildstream thought that my terminal couldn't handle styling, and just didn't print the status bar, silently. Specifying the minimum version avoids this silent failure.
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index f64186f13..e388abebe 100755
--- a/setup.py
+++ b/setup.py
@@ -273,7 +273,7 @@ setup(name='BuildStream',
'ruamel.yaml < 0.15.52',
'pluginbase',
'Click',
- 'blessings',
+ 'blessings >= 1.6',
'jinja2 >= 2.10',
'protobuf >= 3.5',
'grpcio >= 1.10',