diff --git a/CHANGELOG.md b/CHANGELOG.md index 642e2798d..09ae35b6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ This file is used to list changes made in each version of the AWS ParallelCluste **CHANGES** - Upgrade `aws-cfn-bootstrap` to version 2.0-28. +- Upgrade Python to 3.9.17. **BUG FIXES** - Fix inconsistent scaling configuration after cluster update rollback when modifying the list of instance types declared in the Compute Resources. diff --git a/cookbooks/aws-parallelcluster-awsbatch/test/controls/awsbatch_virtualenv_spec.rb b/cookbooks/aws-parallelcluster-awsbatch/test/controls/awsbatch_virtualenv_spec.rb index 0b5d5f70d..015d8340a 100644 --- a/cookbooks/aws-parallelcluster-awsbatch/test/controls/awsbatch_virtualenv_spec.rb +++ b/cookbooks/aws-parallelcluster-awsbatch/test/controls/awsbatch_virtualenv_spec.rb @@ -9,7 +9,7 @@ # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. # See the License for the specific language governing permissions and limitations under the License. -python_version = '3.9.16' +python_version = '3.9.17' base_dir = "/opt/parallelcluster" pyenv_dir = "#{base_dir}/pyenv" diff --git a/cookbooks/aws-parallelcluster-computefleet/kitchen.computefleet-config.yml b/cookbooks/aws-parallelcluster-computefleet/kitchen.computefleet-config.yml index 50a6531dd..a7047704f 100644 --- a/cookbooks/aws-parallelcluster-computefleet/kitchen.computefleet-config.yml +++ b/cookbooks/aws-parallelcluster-computefleet/kitchen.computefleet-config.yml @@ -31,7 +31,7 @@ suites: attributes: cluster: custom_node_package: https://github.com/aws/aws-parallelcluster-node/archive/develop.tar.gz - python-version: 3.9.16 + python-version: 3.9.17 node_virtualenv_path: /opt/parallelcluster/pyenv/versions/node_virtualenv - name: fleet_status run_list: @@ -47,4 +47,3 @@ suites: stack_name: "mock" node_type: HeadNode ddb_table: <%= ENV['DDB_TABLE'] %> - diff --git a/cookbooks/aws-parallelcluster-environment/recipes/install/cfn_bootstrap.rb b/cookbooks/aws-parallelcluster-environment/recipes/install/cfn_bootstrap.rb index 52ae2c415..eef455ffb 100644 --- a/cookbooks/aws-parallelcluster-environment/recipes/install/cfn_bootstrap.rb +++ b/cookbooks/aws-parallelcluster-environment/recipes/install/cfn_bootstrap.rb @@ -15,7 +15,7 @@ virtualenv_name = 'cfn_bootstrap_virtualenv' pyenv_root = node['cluster']['system_pyenv_root'] # FIXME: Python Version cfn_bootstrap_virtualenv due to a bug with cfn-hup -python_version = '3.7.16' +python_version = '3.9.17' virtualenv_path = "#{pyenv_root}/versions/#{python_version}/envs/#{virtualenv_name}" node.default['cluster']['cfn_bootstrap_virtualenv_path'] = virtualenv_path diff --git a/cookbooks/aws-parallelcluster-environment/spec/unit/recipes/cfn_bootstrap_spec.rb b/cookbooks/aws-parallelcluster-environment/spec/unit/recipes/cfn_bootstrap_spec.rb index 6814559ce..68e43b6ae 100644 --- a/cookbooks/aws-parallelcluster-environment/spec/unit/recipes/cfn_bootstrap_spec.rb +++ b/cookbooks/aws-parallelcluster-environment/spec/unit/recipes/cfn_bootstrap_spec.rb @@ -5,7 +5,7 @@ context "on #{platform}#{version}" do cached(:cfnbootstrap_version) { '2.0-28' } cached(:cfnbootstrap_package) { "aws-cfn-bootstrap-py3-#{cfnbootstrap_version}.tar.gz" } - cached(:python_version) { '3.7.16' } + cached(:python_version) { '3.9.17' } cached(:system_pyenv_root) { 'system_pyenv_root' } cached(:virtualenv_path) { "system_pyenv_root/versions/#{python_version}/envs/cfn_bootstrap_virtualenv" } diff --git a/cookbooks/aws-parallelcluster-environment/test/controls/cfn_bootstrap_spec.rb b/cookbooks/aws-parallelcluster-environment/test/controls/cfn_bootstrap_spec.rb index 2c807cc02..d48629c3d 100644 --- a/cookbooks/aws-parallelcluster-environment/test/controls/cfn_bootstrap_spec.rb +++ b/cookbooks/aws-parallelcluster-environment/test/controls/cfn_bootstrap_spec.rb @@ -9,7 +9,7 @@ # This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, express or implied. # See the License for the specific language governing permissions and limitations under the License. -cfn_python_version = '3.7.16' +cfn_python_version = '3.9.17' base_dir = "/opt/parallelcluster" pyenv_dir = "#{base_dir}/pyenv" diff --git a/cookbooks/aws-parallelcluster-shared/attributes/versions.rb b/cookbooks/aws-parallelcluster-shared/attributes/versions.rb index e1b343b45..7d5da9904 100644 --- a/cookbooks/aws-parallelcluster-shared/attributes/versions.rb +++ b/cookbooks/aws-parallelcluster-shared/attributes/versions.rb @@ -1,5 +1,5 @@ # Python Version -default['cluster']['python-version'] = '3.9.16' +default['cluster']['python-version'] = '3.9.17' # ParallelCluster versions default['cluster']['parallelcluster-version'] = '3.8.0'