Skip to content

Commit c3f956e

Browse files
Merge pull request #589 from noharm-ai/claude/python-3.12-lambda-upgrade-1e26hz
Bump Python runtime to 3.12 for Lambda and CI
2 parents 8864875 + 6be5a7f commit c3f956e

9 files changed

Lines changed: 17 additions & 17 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2222
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2323
with:
24-
python-version: 3.11
24+
python-version: 3.12
2525
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
2626
with:
2727
mode: firewall-free
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
6767
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
6868
with:
69-
python-version: 3.11
69+
python-version: 3.12
7070
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
7171
with:
7272
mode: firewall-free

.github/workflows/deploy-dev-manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1616
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1717
with:
18-
python-version: 3.11
18+
python-version: 3.12
1919
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
2020
with:
2121
mode: firewall-free
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3131
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3232
with:
33-
python-version: 3.11
33+
python-version: 3.12
3434
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
3535
with:
3636
mode: firewall-free

.github/workflows/deploy-dev.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
1212
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1313
with:
14-
python-version: 3.11
14+
python-version: 3.12
1515
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
1616
with:
1717
mode: firewall-free
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2727
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2828
with:
29-
python-version: 3.11
29+
python-version: 3.12
3030
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
3131
with:
3232
mode: firewall-free

.github/workflows/deploy-prod.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2222
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2323
with:
24-
python-version: 3.11
24+
python-version: 3.12
2525
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
2626
with:
2727
mode: firewall-free
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5656
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5757
with:
58-
python-version: 3.11
58+
python-version: 3.12
5959
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
6060
with:
6161
mode: firewall-free

.github/workflows/deploy-test-manual.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2020
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2121
with:
22-
python-version: 3.11
22+
python-version: 3.12
2323
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
2424
with:
2525
mode: firewall-free
@@ -34,7 +34,7 @@ jobs:
3434
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
3535
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3636
with:
37-
python-version: 3.11
37+
python-version: 3.12
3838
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
3939
with:
4040
mode: firewall-free

.github/workflows/deploy-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
2222
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2323
with:
24-
python-version: 3.11
24+
python-version: 3.12
2525
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
2626
with:
2727
mode: firewall-free
@@ -55,7 +55,7 @@ jobs:
5555
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
5656
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
5757
with:
58-
python-version: 3.11
58+
python-version: 3.12
5959
- uses: SocketDev/action@ba6de6cc0565af1f42295590380973573297e31f # v1.3.2
6060
with:
6161
mode: firewall-free

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,5 +521,5 @@ pylint services/
521521
## Support & Resources
522522

523523
- **Repository:** https://github.com/noharm-ai/backend
524-
- **Python Version:** 3.11+
524+
- **Python Version:** 3.12+
525525
- **Documentation:** This file + code comments

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Key areas covered by the API:
4949

5050
### Prerequisites
5151

52-
- Python 3.11+
52+
- Python 3.12+
5353
- PostgreSQL (or Docker for test DB)
5454
- Redis
5555

zappa_settings.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"app_function": "mobile.app",
44
"aws_region": "sa-east-1",
55
"project_name": "noharm-mobile",
6-
"runtime": "python3.11",
6+
"runtime": "python3.12",
77
"s3_bucket": "noharm-api-mobile",
88
"keep_warm": true,
99
"keep_warm_expression": "rate(4 minutes)",
@@ -16,7 +16,7 @@
1616
"app_function": "mobile.app",
1717
"aws_region": "sa-east-1",
1818
"project_name": "noharm-mobile",
19-
"runtime": "python3.11",
19+
"runtime": "python3.12",
2020
"s3_bucket": "noharm-api-mobile",
2121
"keep_warm": true,
2222
"keep_warm_expression": "rate(2 minutes)",
@@ -29,7 +29,7 @@
2929
"app_function": "mobile.app",
3030
"aws_region": "sa-east-1",
3131
"project_name": "noharm-mobile",
32-
"runtime": "python3.11",
32+
"runtime": "python3.12",
3333
"s3_bucket": "noharm-api-mobile",
3434
"keep_warm": true,
3535
"keep_warm_expression": "rate(2 minutes)",

0 commit comments

Comments
 (0)