Skip to content

Commit 2902771

Browse files
authored
[minor] Upgrade to Python 3.12 (#31)
1 parent 069b1b9 commit 2902771

6 files changed

Lines changed: 36 additions & 35 deletions

File tree

README.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@ This base container image allows us to build the CLI faster by separating the bu
33

44
Provides:
55

6-
| content | amd64 | s390x | arm64 | ppc64le |
7-
| --- | --- |------| ----|---------------------------------------------|
8-
| `python3` v3.9 | ✔️ | ✔️ | ✔️ | ✔️ |
9-
| `ibmcloud` v2.35.0 | ✔️ | ✔️ | ✔️ | |
10-
| `aws` | ✔️ | | ✔️ | |
11-
| `helm` v3 | ✔️ | ✔️ | ✔️ | ✔️ |
12-
| `mongosh` v2.3.3 | ✔️ | ✔️ | ✔️ | ✔️ |
13-
| `mongodump` v100.10.0 | ✔️ | ✔️ | ✔️ | ✔️ |
14-
| `oc` | ✔️ | ✔️ | ✔️ | ✔️ |
15-
| `oc mirror` | ✔️ | ✔️ | ✔️ | ✔️ |
16-
| `oc ibm-pak` v1.18.1 | ✔️ | ✔️ | ✔️ |✔️ |
17-
| `skopeo` | ✔️ | ✔️ | ✔️ | ✔️ |
18-
| `nano` | ✔️ | ✔️ | ✔️ | ✔️ |
19-
| `jq` | ✔️ | ✔️ | ✔️ | ✔️ |
20-
| `yq` v4.44.5 | ✔️ | ✔️ | ✔️ | ✔️ |
21-
| `tini` v0.19.0 | ✔️ | ✔️ | ✔️ | ✔️ |
22-
| `rclone` | ✔️ | ✔️ | ✔️ | ✔️ |
23-
| `rosa` | ✔️ | ❌ ️ | ✔️ | |
24-
| `boto3` | ✔️ | ✔️ | ✔️ | ✔️ |
25-
| `argocd` | ✔️ | ✔️ | ✔️ | ✔️ |
6+
| content | amd64 | s390x | arm64 |
7+
| --------------------- | ----- | ----- | ----- |
8+
| `python3 v3.14` | ✔️ | ✔️ | ✔️ |
9+
| `ibmcloud v2.38.1` | ✔️ | ✔️ | ✔️ |
10+
| `aws` | ✔️ | | ✔️ |
11+
| `helm v3` | ✔️ | ✔️ | ✔️ |
12+
| `mongosh v2.3.3` | ✔️ | ✔️ | ✔️ |
13+
| `mongodump v100.10.0` | ✔️ | ✔️ | ✔️ |
14+
| `oc` | ✔️ | ✔️ | ✔️ |
15+
| `oc mirror` | ✔️ | ✔️ | ✔️ |
16+
| `oc ibm-pak v1.20.0` | ✔️ | ✔️ | ✔️ |
17+
| `skopeo` | ✔️ | ✔️ | ✔️ |
18+
| `nano` | ✔️ | ✔️ | ✔️ |
19+
| `jq` | ✔️ | ✔️ | ✔️ |
20+
| `yq v4.49.1` | ✔️ | ✔️ | ✔️ |
21+
| `tini v0.19.0` | ✔️ | ✔️ | ✔️ |
22+
| `rclone` | ✔️ | ✔️ | ✔️ |
23+
| `rosa` | ✔️ | ❌ ️ | ✔️ |
24+
| `boto3` | ✔️ | ✔️ | ✔️ |
25+
| `argocd` | ✔️ | ✔️ | ✔️ |
2626

27-
Note: IBM Cloud Plugin Container-Registry is supported by ppc64le, however IBM Cloud Plugin Container-Service is not supported.
27+
Note: IBM Cloud `Container-Registry` plugin is supported on ppc64le, however the `Container-Service` plugin is not.

image/cli-base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM registry.access.redhat.com/ubi9/python-39
1+
FROM registry.access.redhat.com/ubi9/python-312
22
ARG VERSION_LABEL
33
ARG ARCHITECTURE
44
# ----- Start as "default" user ----------------------------------------------

image/cli-base/install/install-ibmcloud.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ if [[ "$TARGET_PLATFORM" == "" ]]
2323
then TARGET_PLATFORM=amd64
2424
fi
2525

26-
CLI_VERSION=2.35.0
26+
CLI_VERSION=2.38.1
2727
wget -q https://download.clis.cloud.ibm.com/ibm-cloud-cli/${CLI_VERSION}/IBM_Cloud_CLI_${CLI_VERSION}_${TARGET_PLATFORM}.tar.gz
2828

2929
tar -xzf IBM_Cloud_CLI_${CLI_VERSION}_${TARGET_PLATFORM}.tar.gz

image/cli-base/install/install-ibmpak.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ if [[ "$TARGET_PLATFORM" == "" ]]
2424
fi
2525

2626
if [[ "$TARGET_PLATFORM" != "arm64" ]]; then
27-
curl -L https://github.com/IBM/ibm-pak/releases/download/v1.18.1/oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz -o oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz
27+
curl -L https://github.com/IBM/ibm-pak-plugin/releases/download/v1.20.0/oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz -o oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz
2828
tar -xf oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz
2929
mv oc-ibm_pak-linux-$TARGET_PLATFORM /usr/local/bin/oc-ibm_pak
3030
rm oc-ibm_pak-linux-$TARGET_PLATFORM.tar.gz

image/cli-base/install/install-yq.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ do
1717
shift
1818
shift
1919
done
20-
#fallback to amd64 if architecture not defined
20+
21+
# Fallback to amd64 if architecture not defined
2122
if [[ "$TARGET_PLATFORM" == "" ]]
2223
then TARGET_PLATFORM=amd64
2324
fi
24-
curl -L "https://github.com/mikefarah/yq/releases/download/v4.44.5/yq_linux_${TARGET_PLATFORM}" > /usr/bin/yq
25+
curl -L "https://github.com/mikefarah/yq/releases/download/v4.49.1/yq_linux_${TARGET_PLATFORM}" > /usr/bin/yq
2526
chmod 755 /usr/bin/yq
2627

2728
echo "yq version:"
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
junit_xml==1.9
2-
pymongo==4.5.0
2+
pymongo==4.15.4
33
xmljson==0.2.1
4-
ansible==8.5.0
5-
kubernetes==28.1.0
4+
ansible==13.0.0
5+
kubernetes==34.1.0
66
openshift==0.13.2
77
jmespath==1.0.1
8-
click==8.1.7
9-
prettytable==3.9.0
8+
click==8.3.1
9+
prettytable==3.17.0
1010
jinja-cli==1.2.2
11-
jinjanator==25.1.0
12-
slackclient==1.3.2
13-
jira==3.5.2
14-
boto3==1.34.143
11+
jinjanator==25.3.0
12+
slack-sdk==3.39.0
13+
jira==3.10.5
14+
boto3==1.41.2

0 commit comments

Comments
 (0)