Skip to content

Remove distutils strtobool from CDK examples - #288

Open
Mirochill wants to merge 1 commit into
aws-ia:mainfrom
Mirochill:fix-170-remove-distutils-strtobool
Open

Remove distutils strtobool from CDK examples#288
Mirochill wants to merge 1 commit into
aws-ia:mainfrom
Mirochill:fix-170-remove-distutils-strtobool

Conversation

@Mirochill

Copy link
Copy Markdown

Description

  • Add a shared strtobool() helper for the CDK examples.
  • Replace the CDK examples' distutils.util.strtobool imports and calls with the shared helper.

Motivation and Context

Python 3.12 removed distutils, so the CDK examples should not depend on distutils.util.strtobool for boolean environment values.

Fixes #170

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects
  • I have executed pre-commit run -a on my pull request

Additional validation:

  • git diff --check HEAD~1..HEAD
  • Not run locally: examples validation, pre-commit run -a

@joozero
joozero marked this pull request as ready for review August 2, 2026 04:34
@joozero
joozero requested a review from a team as a code owner August 2, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE] distutils.util.strtobool needs replacement

1 participant