Skip to content

Commit 7a8f395

Browse files
Upgraded to python version 3.13
Upgraded to python version 3.13
2 parents 637db36 + 4f456fe commit 7a8f395

7 files changed

+25
-15
lines changed

.github/workflows/healthcheck-app-existingVpc-Ubuntu-Thurs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: MATLAB Web App Server Reference Architecture AWS existing VPC Ubuntu us-east-1 region Health Check Test
44

55
on:
6+
workflow_dispatch:
67
schedule:
78
- cron: '0 15 * * 4'
89
jobs:
@@ -11,10 +12,10 @@ jobs:
1112

1213
steps:
1314
- uses: actions/checkout@v3
14-
- name: Set up Python 3.8
15+
- name: Set up Python 3.13
1516
uses: actions/setup-python@v4
1617
with:
17-
python-version: 3.8
18+
python-version: '3.13'
1819
- name: Install dependencies
1920
run: |
2021
python -m pip install --upgrade pip

.github/workflows/healthcheck-app-existingVpc-Win-Tue.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: MATLAB Web App Server Reference Architecture AWS existing VPC Windows eu-west-1 region Health Check Test
44

55
on:
6+
workflow_dispatch:
67
schedule:
78
- cron: '0 15 * * 2'
89
jobs:
@@ -11,10 +12,10 @@ jobs:
1112

1213
steps:
1314
- uses: actions/checkout@v3
14-
- name: Set up Python 3.8
15+
- name: Set up Python 3.13
1516
uses: actions/setup-python@v4
1617
with:
17-
python-version: 3.8
18+
python-version: '3.13'
1819
- name: Install dependencies
1920
run: |
2021
python -m pip install --upgrade pip

.github/workflows/healthcheck-app-newVpc-Ubuntu-Mon.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
name: MATLAB Web App Server Reference Architecture AWS new VPC Ubuntu us-east-1 region Health Check Test
55

66
on:
7+
workflow_dispatch:
78
push:
89
schedule:
910
- cron: '0 15 * * 1'
@@ -13,10 +14,10 @@ jobs:
1314

1415
steps:
1516
- uses: actions/checkout@v3
16-
- name: Set up Python 3.8
17+
- name: Set up Python 3.13
1718
uses: actions/setup-python@v4
1819
with:
19-
python-version: 3.8
20+
python-version: '3.13'
2021
- name: Install dependencies
2122
run: |
2223
python -m pip install --upgrade pip

.github/workflows/healthcheck-app-newVpc-Win-Wed.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
name: MATLAB Web App Server Reference Architecture AWS new VPC Windows ap-northeast region Health Check Test
44

55
on:
6+
workflow_dispatch:
67
schedule:
78
- cron: '0 15 * * 3'
89
jobs:
@@ -11,10 +12,10 @@ jobs:
1112

1213
steps:
1314
- uses: actions/checkout@v3
14-
- name: Set up Python 3.8
15+
- name: Set up Python 3.13
1516
uses: actions/setup-python@v4
1617
with:
17-
python-version: 3.8
18+
python-version: '3.13'
1819
- name: Install dependencies
1920
run: |
2021
python -m pip install --upgrade pip

healthcheck/requirements.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
boto3==1.14.62
2-
botocore==1.17.62
3-
requests==2.24.0
4-
confuse==1.3.0
5-
polling
1+
boto3==1.39.0
2+
botocore==1.39.0
3+
requests==2.32.4
4+
confuse==2.0.1
5+
polling==0.3.2

healthcheck/test_mwasrefarch_healthcheck_newvpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def main(keypairname, password, ipAddress, location_arg, platform_arg):
2424
res = requests.get(f"https://github.com/mathworks-ref-arch/{ref_arch_name}/blob/master/releases/")
2525

2626
# Deploy a stack for the latest two releases
27-
latest_releases = [re.findall("releases/(R\d{4}[ab]\\b)", res.text)[-1], re.findall("releases/(R\d{4}[ab]\\b)", res.text)[-2]]
27+
latest_releases = [
28+
re.findall(r"releases/(R\d{4}[ab]\b)", res.text)[-1],
29+
re.findall(r"releases/(R\d{4}[ab]\b)", res.text)[-2]
30+
]
2831
number_of_releases = 1
2932
for i in range(number_of_releases):
3033
matlab_release = latest_releases[i]

healthcheck/test_webappserver_refarch_existingvpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,10 @@ def main(keypairname, password, ipAddress, location_arg, platform_arg):
4343
res = requests.get(f"https://github.com/mathworks-ref-arch/{ref_arch_name}/blob/master/releases/")
4444

4545
# Deploy a stack for the latest two releases
46-
latest_releases = [re.findall("releases/(R\d{4}[ab]\\b)", res.text)[-1], re.findall("releases/(R\d{4}[ab]\\b)", res.text)[-2]]
46+
latest_releases = [
47+
re.findall(r"releases/(R\d{4}[ab]\b)", res.text)[-1],
48+
re.findall(r"releases/(R\d{4}[ab]\b)", res.text)[-2]
49+
]
4750
number_of_releases = 1
4851
for i in range(number_of_releases):
4952
matlab_release = latest_releases[i]

0 commit comments

Comments
 (0)