Skip to content

Drop usage of distutils - #355

Closed
sandrobonazzola wants to merge 1 commit into
psss:mainfrom
sandrobonazzola:distutil_removal
Closed

Drop usage of distutils#355
sandrobonazzola wants to merge 1 commit into
psss:mainfrom
sandrobonazzola:distutil_removal

Conversation

@sandrobonazzola

Copy link
Copy Markdown
Collaborator

Replace distutils.util.strtobool with a local copy of the function following the
Migration advice due to distutils module deprecation.

Comment thread did/utils.py
@lukaszachy lukaszachy added this to the 0.22 milestone Feb 9, 2024
Replace `distutils.util.strtobool` with a local copy
of the function following the
[Migration advice](https://peps.python.org/pep-0632/#migration-advice)
due to `distutils` module deprecation.

Signed-off-by: Sandro Bonazzola <sbonazzo@redhat.com>
psss added a commit that referenced this pull request May 17, 2025
Let's implement a simple `strtobool()` function in `did.utils`.
This replaces #355 as it does not make much sense to introduce
a new license just because of such a basic functionality.
@psss

psss commented May 17, 2025

Copy link
Copy Markdown
Owner

I don't think it's really worth it introducing an extra license just because of such a basic functionality. Let's do our custom simple implementation in #394.

@psss psss closed this May 17, 2025
@psss psss removed this from the 0.22 milestone May 17, 2025
psss added a commit that referenced this pull request May 17, 2025
Let's implement a simple `strtobool()` function in `did.utils`.
This replaces #355 as it does not make much sense to introduce
a new license just because of such a basic functionality.
@sandrobonazzola
sandrobonazzola deleted the distutil_removal branch May 19, 2025 06:09
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.

3 participants