summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-06-06 14:50:07 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-06-06 16:17:02 -0400
commit236297973fad26dc512df0978b8f46995eea476c (patch)
tree4ee87670e2083ec657f13c0dc4d34e6364a9defb /doc/source
parentf641e9aeaaede3a29a07e6382afce5622d207ea2 (diff)
downloadstevedore-236297973fad26dc512df0978b8f46995eea476c.tar.gz
fix tox python3 overrides
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Decode subprocess output so it has the right type under python 3. Change-Id: Id2df5439fa6e788199bec4ac7c98c56347053621 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 1074cd5..915e879 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -74,7 +74,7 @@ copyright = u'2016, DreamHost'
#
# The short X.Y version.
version = subprocess.Popen(['sh', '-c', 'cd ../..; python setup.py --version'],
- stdout=subprocess.PIPE).stdout.read()
+ stdout=subprocess.PIPE).stdout.read().decode('utf-8')
version = version.strip()
# The full version, including alpha/beta/rc tags.
release = version