Skip to content

Commit e7a0888

Browse files
authored
Merge branch 'develop' into test_cups_wpa
2 parents 2aa37ca + 4574ee5 commit e7a0888

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cookbooks/aws-parallelcluster-awsbatch/test/controls/awsbatch_virtualenv_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
python_version = '3.12.8'
1312
base_dir = "/opt/parallelcluster"
1413
pyenv_dir = "#{base_dir}/pyenv"
1514

1615
control 'tag:install_awsbatch_virtualenv_created' do
16+
python_version = os_properties.alinux2? ? '3.9.20' : '3.12.8'
1717
title "awsbatch virtualenv should be created on #{python_version}"
1818
only_if { !os_properties.redhat? }
1919

cookbooks/aws-parallelcluster-environment/test/controls/cfn_bootstrap_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
# This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied.
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

12-
cfn_python_version = '3.12.8'
1312
base_dir = "/opt/parallelcluster"
1413
pyenv_dir = "#{base_dir}/pyenv"
1514

1615
control 'tag:install_cfnbootstrap_virtualenv_created' do
16+
cfn_python_version = os_properties.alinux2? ? '3.9.20' : '3.12.8'
1717
title "cfnbootstrap virtualenv should be created on #{cfn_python_version}"
1818
only_if { !os_properties.redhat_on_docker? }
1919

0 commit comments

Comments
 (0)