Skip to content

feat: support Python 3.15 - #9462

Open
botantony wants to merge 1 commit into
aws:developfrom
botantony:python-3.15-support
Open

botantony wants to merge 1 commit into
aws:developfrom
botantony:python-3.15-support

Conversation

@botantony

Copy link
Copy Markdown

cfn-lint supports Python 3.15 since 1.59:
aws-cloudformation/cfn-lint#4764

Made a few changes that remove fix deprecated syntax (such as return statement in finally block and replaced os.path.commonprefix with os.path.commonpath). make pr passed fine:

TOTAL
33547   1461   8860    830    94%
Required test coverage of 94% reached. Total coverage: 94.15%
============================================================= 10007
passed, 28 skipped, 8 warnings, 61 subtests passed in 45.40s
=============================================================

Which issue(s) does this change fix?

Why is this change necessary?

How does it address the issue?

What side effects does this change have?

Mandatory Checklist

PRs will only be reviewed after checklist is complete

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

`cfn-lint` supports Python 3.15 since 1.59:
aws-cloudformation/cfn-lint#4764

Made a few changes that remove fix deprecated syntax (such as `return`
statement in `finally` block and replaced `os.path.commonprefix` with
`os.path.commonpath`). `make pr` passed fine:

```
TOTAL
33547   1461   8860    830    94%
Required test coverage of 94% reached. Total coverage: 94.15%
============================================================= 10007
passed, 28 skipped, 8 warnings, 61 subtests passed in 45.40s
=============================================================
```

Signed-off-by: botantony <antonsm21@gmail.com>
@botantony
botantony requested a review from a team as a code owner November 21, 2026 19:58
@github-actions github-actions Bot added area/local/start-api sam local start-api command area/local/invoke sam local invoke command area/local/start-invoke pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. labels Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/local/invoke sam local invoke command area/local/start-api sam local start-api command area/local/start-invoke pr/external stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant