summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorQuellynSnead <quellyn@lanl.gov>2020-09-28 18:30:18 -0600
committerGitHub <noreply@github.com>2020-09-28 19:30:18 -0500
commit977117b502589886fb5833340ab6cf1c15b3b26e (patch)
tree282fb0e7cd318a475a2d0c034ec7564bae72b1fa /var
parent60644f889ed4a8a3d465d7fd4a8eb681d3b68c7c (diff)
downloadspack-977117b502589886fb5833340ab6cf1c15b3b26e.tar.gz
spack-977117b502589886fb5833340ab6cf1c15b3b26e.tar.bz2
spack-977117b502589886fb5833340ab6cf1c15b3b26e.tar.xz
spack-977117b502589886fb5833340ab6cf1c15b3b26e.zip
Paraview 5.6.2's version of VTK (8.2.0) is incompatible with Python 3.8 (#18881)
* Paraview 5.6.2's version of VTK (8.2.0) is incompatible with Python 3.8. (see https://gitlab.kitware.com/vtk/vtk/-/issues/17670) * Trailing whitespace
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/paraview/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/paraview/package.py b/var/spack/repos/builtin/packages/paraview/package.py
index 98447c3c2d..2a64676b0a 100644
--- a/var/spack/repos/builtin/packages/paraview/package.py
+++ b/var/spack/repos/builtin/packages/paraview/package.py
@@ -75,6 +75,11 @@ class Paraview(CMakePackage, CudaPackage):
depends_on('python@2.7:2.8', when='+python', type=('build', 'run'))
depends_on('python@3:', when='+python3', type=('build', 'run'))
+ # VTK < 8.2.1 can't handle Python 3.8
+ # This affects Paraview 5.6.2 (VTK 8.2.0)
+ # https://gitlab.kitware.com/vtk/vtk/-/issues/17670
+ depends_on('python@3:3.7', when='@5.6.2 +python3', type=('build', 'run'))
+
depends_on('py-numpy@:1.15.4', when='+python', type=('build', 'run'))
depends_on('py-numpy', when='+python3', type=('build', 'run'))
depends_on('py-mpi4py', when='+python+mpi', type=('build', 'run'))