summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/graphviz/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/graphviz/package.py b/var/spack/repos/builtin/packages/graphviz/package.py
index 7274f79ad1..70d1985384 100644
--- a/var/spack/repos/builtin/packages/graphviz/package.py
+++ b/var/spack/repos/builtin/packages/graphviz/package.py
@@ -116,6 +116,8 @@ class Graphviz(AutotoolsPackage):
depends_on('sed', type='build')
depends_on('libtool', type='build')
depends_on('pkgconfig', type='build')
+ # to process f-strings used in gen_version.py
+ depends_on('python@3.6:', when='@2.47:', type='build')
conflicts('~doc',
when='@:2.45',