Skip to content

Commit 5a397c1

Browse files
committed
Install python 3.9 for al2
1 parent cb70de3 commit 5a397c1

File tree

1 file changed

+3
-0
lines changed
  • cookbooks/aws-parallelcluster-shared/attributes

1 file changed

+3
-0
lines changed

cookbooks/aws-parallelcluster-shared/attributes/versions.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
default['cluster']['python-version'] = '3.9.20'
55
end
66
default['cluster']['python-major-minor-version'] = '3.12'
7+
if platform?('amazon') && node['platform_version'] == "2"
8+
default['cluster']['python-major-minor-version'] = '3.9'
9+
end
710

811
# ParallelCluster versions
912
default['cluster']['parallelcluster-version'] = '3.13.0'

0 commit comments

Comments
 (0)