Skip to content

Commit 36f5ce5

Browse files
chore(deps): update dependency python to 3.13 (#648)
* chore(deps): update dependency python to 3.13 * chore: update all references to Python 3.13 * fix: trigger full CI run if workflow file has changed --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Pat Heard <patrick.heard@cds-snc.ca>
1 parent 5333b01 commit 36f5ce5

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,13 @@ jobs:
3232
filters: |
3333
module:
3434
- '${{ matrix.module }}/**'
35+
- '.github/workflows/ci.yml'
3536
3637
- name: Setup Python
3738
if: steps.changes.outputs.module == 'true'
3839
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
3940
with:
40-
python-version: "3.11"
41+
python-version: "3.13"
4142

4243
- name: Python tests
4344
if: steps.changes.outputs.module == 'true'

notify_slack/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ resource "aws_lambda_function" "notify_slack" {
2222

2323
filename = data.archive_file.notify_slack.output_path
2424
handler = "notify_slack.lambda_handler"
25-
runtime = "python3.11"
25+
runtime = "python3.13"
2626
timeout = 30
2727
memory_size = 128
2828

schedule_shutdown/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ No modules.
5252
| <a name="input_billing_tag_value"></a> [billing\_tag\_value](#input\_billing\_tag\_value) | (Required) The value of the billing tag | `string` | n/a | yes |
5353
| <a name="input_cloudwatch_alarm_arns"></a> [cloudwatch\_alarm\_arns](#input\_cloudwatch\_alarm\_arns) | (Optional) CloudWatch alarm ARNs to enable/disable. | `list(string)` | `[]` | no |
5454
| <a name="input_ecs_service_arns"></a> [ecs\_service\_arns](#input\_ecs\_service\_arns) | (Optional) ECS service ARNs to scale up/down. | `list(string)` | `[]` | no |
55-
| <a name="input_lambda_runtime"></a> [lambda\_runtime](#input\_lambda\_runtime) | (Optional, defaults to 3.11) The Python runtime to use for the lambda function. | `string` | `"python3.11"` | no |
55+
| <a name="input_lambda_runtime"></a> [lambda\_runtime](#input\_lambda\_runtime) | (Optional, defaults to 3.13) The Python runtime to use for the lambda function. | `string` | `"python3.13"` | no |
5656
| <a name="input_rds_cluster_arns"></a> [rds\_cluster\_arns](#input\_rds\_cluster\_arns) | (Optional) RDS cluster ARNs to shutdown and startup. | `list(string)` | `[]` | no |
5757
| <a name="input_route53_healthcheck_arns"></a> [route53\_healthcheck\_arns](#input\_route53\_healthcheck\_arns) | (Optional) Route53 healthcheck ARNs to enable/disable. | `list(string)` | `[]` | no |
5858
| <a name="input_schedule_shutdown"></a> [schedule\_shutdown](#input\_schedule\_shutdown) | (Optional, every day at 10pm UTC) The schedule expression for when resources should be stopped. | `string` | `"cron(0 22 * * ? *)"` | no |

schedule_shutdown/input.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ variable "ecs_service_arns" {
2222
}
2323

2424
variable "lambda_runtime" {
25-
description = "(Optional, defaults to 3.11) The Python runtime to use for the lambda function."
25+
description = "(Optional, defaults to 3.13) The Python runtime to use for the lambda function."
2626
type = string
27-
default = "python3.11"
27+
default = "python3.13"
2828
}
2929

3030
variable "rds_cluster_arns" {

schedule_shutdown/tests/integration.main.tftest.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ run "module_defaults" {
66
command = apply
77

88
assert {
9-
condition = aws_lambda_function.schedule.runtime == "python3.11"
9+
condition = aws_lambda_function.schedule.runtime == "python3.13"
1010
error_message = "Lambda runtime does not match expected value"
1111
}
1212

waf_ip_blocklist/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ resource "aws_lambda_function" "ipv4_blocklist" {
3535

3636
filename = data.archive_file.ipv4_blocklist.output_path
3737
handler = "blocklist.handler"
38-
runtime = "python3.11"
38+
runtime = "python3.13"
3939
timeout = 300
4040
memory_size = 1024
4141

0 commit comments

Comments
 (0)