Skip to content

Commit

Permalink
Upgrade Python virtualenvs to version 3.9.17
Browse files Browse the repository at this point in the history
Upgrade cookbook, cfn-boostrap and awsbatch virtualenvs to Python
3.9.17.

Signed-off-by: Enrico Usai <usai@amazon.com>
Signed-off-by: Jacopo De Amicis <jdamicis@amazon.it>
  • Loading branch information
jdeamicis committed Oct 17, 2023
1 parent a49b9dc commit 891b6e5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -47,4 +47,3 @@ suites:
stack_name: "mock"
node_type: HeadNode
ddb_table: <%= ENV['DDB_TABLE'] %>

Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit 891b6e5

Please sign in to comment.