Skip to content

Conversation

@ferdnyc
Copy link

@ferdnyc ferdnyc commented Feb 17, 2024

distutils has been removed as of Python 3.12.

The replacement for distutils.version.LooseVersion, packaging.version.LegacyVersion, was similarly dropped from packaging as of version 22.

The only uses of LooseVersion() 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

distutils has been removed as of Python 3.12.

The replacement for distutils.version.LooseVersion,
packaging.version.LegacyVersion, was similarly dropped from
packaging as of version 22.

The only uses of LooseVersion() 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.
@CharString
Copy link

Looks good, this closes #407

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.

Missing dependency on distutils

3 participants