Skip to content

Commit 696a9e5

Browse files
author
Himani Anil Deshpande
committed
Revert "[Test] Fix Python version in kitchen tests related to AWS Batch and CFN Boostrap scripts. In particular, we expect all Oses to use Python 3.12.8, except for AL2 which uses 3.9.20."
This reverts commit 4574ee5.
1 parent 4574ee5 commit 696a9e5

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'
1213
base_dir = "/opt/parallelcluster"
1314
pyenv_dir = "#{base_dir}/pyenv"
1415

1516
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'
1213
base_dir = "/opt/parallelcluster"
1314
pyenv_dir = "#{base_dir}/pyenv"
1415

1516
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)