Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

remove distutils in order to support python 3.12#2439

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
vebjorre wants to merge4 commits intosodadata:main
base:main
Choose a base branch
Loading
fromvebjorre:drop-distutils-dep

Conversation

@vebjorre
Copy link

@vebjorrevebjorre commentedOct 15, 2025
edited
Loading

Finishing the work of@akx in#2144, removing any use of distutils in order to support python>=3.12.

Fixes#2091

Swastik-SQED reacted with thumbs up emoji
@sonarqubecloud
Copy link

@vebjorrevebjorre changed the titledon't use distutils in env_helper.pyremove distutils in order to support python 3.12Oct 15, 2025
defstrtobool(val:str)->bool:
returnval.lower()in ("yes","y","true","t","1")


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Hello@vebjorre , thanks very much for this contribution! We'd like to request two small edits after which we'd be happy to merge and release this.

  1. It looks like"on" should be in the tuple
  2. The originalstrtobool implementation throws a ValueError if you pass in an invalid value, we'd like to keep that behavior

If you could make those edits then we'll move this forward, thanks again!

vebjorre reacted with thumbs up emoji

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Thank you, that's perfect!

I'm seeing a failure in our CI, I think it's probably spurious but I'll have to investigate that before we can merge. I'll investigate next week and update you.

@sonarqubecloud
Copy link

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@paulteehanpaulteehanAwaiting requested review from paulteehan

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

distutils is deprecated. distutils.util.strtobool needs replacement.

3 participants

@vebjorre@paulteehan@akx

[8]ページ先頭

©2009-2025 Movatter.jp