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 dependency on distutils.version#398

Open
ferdnyc wants to merge 1 commit intopythonprofilers:masterfrom
ferdnyc:patch-1
Open

Remove dependency on distutils.version#398
ferdnyc wants to merge 1 commit intopythonprofilers:masterfrom
ferdnyc:patch-1

Conversation

@ferdnyc
Copy link

@ferdnycferdnyc commentedFeb 17, 2024
edited
Loading

distutils has been removed as of Python 3.12.

The replacement fordistutils.version.LooseVersion,packaging.version.LegacyVersion, was similarly dropped frompackaging as of version 22.

The only uses ofLooseVersion() checks were to provide compatibility with IPython 0.10 - 0.12. Those versions didn't even support Python 3. Dropping compatibility with ancient IPython is the simplest fix.

Fixes#407

CharString reacted with thumbs up emoji
distutils has been removed as of Python 3.12.The replacement for distutils.version.LooseVersion,packaging.version.LegacyVersion, was similarly dropped frompackaging as of version 22.The only uses of LooseVersion() checks were to provide compatibilitywith IPython 0.10 - 0.12. Those versions didn't even support Python 3.Dropping compatibility with ancient IPython is the simplest fix.
@CharString
Copy link

Looks good, this closes#407

ferdnyc and grzanka reacted with thumbs up emoji

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Missing dependency on distutils

2 participants

@ferdnyc@CharString

[8]ページ先頭

©2009-2026 Movatter.jp