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
This commit is contained in:
QuellynSnead 2020-09-28 18:30:18 -06:00 committed by GitHub
parent 60644f889e
commit 977117b502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'))