allow any Python 3.7 patch version for vtk@8 (#22912)

This commit is contained in:
Bryan Herman 2021-04-16 18:44:50 -04:00 committed by GitHub
parent 4919eac5d1
commit fbecd6d876
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ class Vtk(CMakePackage):
# We need vtk at least 8.0.1 for python@3, # We need vtk at least 8.0.1 for python@3,
# and at least 9.0 for python@3.8 # and at least 9.0 for python@3.8
depends_on('python@2.7:2.9', when='@:8.0 +python', type=('build', 'run')) depends_on('python@2.7:2.9', when='@:8.0 +python', type=('build', 'run'))
depends_on('python@2.7:3.7.10', when='@8.0.1:8.9 +python', depends_on('python@2.7:3.7.99', when='@8.0.1:8.9 +python',
type=('build', 'run')) type=('build', 'run'))
depends_on('python@2.7:', when='@9.0: +python', type=('build', 'run')) depends_on('python@2.7:', when='@9.0: +python', type=('build', 'run'))