summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Bridon <bochecha@daitauha.fr>2018-08-14 23:29:38 +0200
committerMathieu Bridon <bochecha@daitauha.fr>2018-08-14 23:35:24 +0200
commit40963952247405166f52dbdaa20e2425a9737a2d (patch)
tree3fa3f0d16e097a8e78604fe306881ed3cab88696
parent970c6696f2eef0bde282f82eb95ae4708ccbf308 (diff)
downloadbuildstream-40963952247405166f52dbdaa20e2425a9737a2d.tar.gz
deps: Specify the minimum version required for 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 cda0ebbcb..89e3fed99 100755
--- a/setup.py
+++ b/setup.py
@@ -261,7 +261,7 @@ setup(name='BuildStream',
'ruamel.yaml < 0.15.52',
'pluginbase',
'Click',
- 'blessings',
+ 'blessings >= 1.6',
'jinja2 >= 2.10',
'protobuf >= 3.5',
'grpcio >= 1.10',