Fix pyyaml dependency conflicts (#28177)
For versions of aws-parallelcluster >= 2.9, the pyyaml dependency had to be >= 5.3.1 and == 5.1.2
at the same time making impossible to install ParallelCluster >= 2.9 from spack repository.
See issue: https://github.com/spack/spack/issues/28172
Fixed by limiting pyyaml 5.1.2 version to aws-parallelcluster < 2.8, according to this commit:
7255d314b7
Tested with a manual installation of aws-parallelcluster@2.11.4
This commit is contained in:
parent
c2e1a12cdf
commit
c06aaebefd
1 changed files with 5 additions and 5 deletions
|
@ -53,8 +53,11 @@ class AwsParallelcluster(PythonPackage):
|
|||
depends_on('py-tabulate@0.8.5', when='@2.9: ^python@3.0:3.4', type=('build', 'run'))
|
||||
depends_on('py-tabulate@0.8.2:0.8.7', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
|
||||
|
||||
depends_on('py-pyyaml@5.2', when='@2.6:2.8 ^python@3.0:3.4', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.3.1:', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.3.1:', when='@2.11:', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.3.1:', when='@2.9:2.10 ^python@:2,3.5:', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.2', when='@2.6:2.10 ^python@3.0:3.4', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.1.2:', when='@2.6:2.8 ^python@:2,3.5:', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.1.2:', when='@:2.5', type=('build', 'run'))
|
||||
|
||||
depends_on('py-jinja2@2.10.1', when='@2.9: ^python@3.0:3.4', type=('build', 'run'))
|
||||
depends_on('py-jinja2@2.11.0:', when='@2.9: ^python@:2,3.5:', type=('build', 'run'))
|
||||
|
@ -67,9 +70,6 @@ class AwsParallelcluster(PythonPackage):
|
|||
|
||||
depends_on('py-enum34@1.1.6:', when='^python@:3.3', type=('build', 'run'))
|
||||
|
||||
depends_on('py-pyyaml@5.1.2', when='@2.6: ^python@:2,3.5:', type=('build', 'run'))
|
||||
depends_on('py-pyyaml@5.1.2:', when='@:2.5', type=('build', 'run'))
|
||||
|
||||
# https://github.com/aws/aws-parallelcluster/pull/1633
|
||||
patch('enum34.patch', when='@:2.5.1')
|
||||
|
||||
|
|
Loading…
Reference in a new issue