Skip to content

Remove distutils strtobool dependency#15

Draft
Mirochill wants to merge 1 commit into
sprockets:mainfrom
Mirochill:fix-14-remove-distutils-strtobool
Draft

Remove distutils strtobool dependency#15
Mirochill wants to merge 1 commit into
sprockets:mainfrom
Mirochill:fix-14-remove-distutils-strtobool

Conversation

@Mirochill
Copy link
Copy Markdown

Summary

  • Replace the distutils.util.strtobool import with a local boolean parser for the same environment string values.
  • Keep env-backed PostgreSQL feature flags returning 1 or 0 to preserve current behavior.
  • Add focused unit coverage for accepted and invalid boolean strings.

Fixes #14

Validation

  • git diff --check HEAD~1..HEAD
  • Not run locally: flake8, coverage run

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.

Remove dependency on distutils module.

1 participant