Skip to content

Commit fcac36d

Browse files
whummerclaude
andcommitted
fix(wiremock): upgrade Lambda runtime to python3.12, drop urllib3<2 pin
python3.9 reached EOL in Oct 2025. urllib3 2.x (released Apr 2023) uses bytes|str union syntax requiring Python 3.10+, causing a SyntaxError on fresh CI installs that now resolve to urllib3 2.x by default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f338ab2 commit fcac36d

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

wiremock/sample-app-oss/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ resource "aws_lambda_function" "hr_info_lambda" {
7878
source_code_hash = data.archive_file.lambda_zip.output_base64sha256
7979

8080
handler = "handler.get_time_off"
81-
runtime = "python3.9"
81+
runtime = "python3.12"
8282

8383
# Add a timeout for the function
8484
timeout = 10
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
requests==2.31.0
2-
urllib3<2

0 commit comments

Comments
 (0)