Skip to content

Use packaging library to avoid DeprecationWarning from distutils#435

Merged
sloria merged 3 commits intomarshmallow-code:devfrom
Tenzer:fix-distutils-deprecationwarning
Jul 18, 2022
Merged

Use packaging library to avoid DeprecationWarning from distutils#435
sloria merged 3 commits intomarshmallow-code:devfrom
Tenzer:fix-distutils-deprecationwarning

Conversation

@Tenzer
Copy link
Copy Markdown
Contributor

@Tenzer Tenzer commented Apr 12, 2022

distutils.version.LooseVersion has been deprecated since pypa/distutils#75.

This instead replaces that with packaging.version.Version from the packaging library.

Tenzer and others added 3 commits April 12, 2022 15:26
`distutils.version.LooseVersion` has been deprecated since
pypa/distutils#75.

This instead replaces that with `packaging.version.Version` from the packaging
library: https://packaging.pypa.io/en/latest/.
… changes

Click 8.1.0 was recently released which removed deprecated features. Black used
to depend on the deprecated features, but that was fixed in version 22.3.0 so
it again works with the latest version of Click.
Copy link
Copy Markdown
Member

@sloria sloria left a comment

Choose a reason for hiding this comment

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

Thanks! sorry for the delay in reviewing. i'll cut a release once this merges

@sloria sloria enabled auto-merge (squash) July 18, 2022 21:31
@sloria sloria merged commit 1826a47 into marshmallow-code:dev Jul 18, 2022
@Tenzer
Copy link
Copy Markdown
Contributor Author

Tenzer commented Jul 19, 2022

Thanks!

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.

2 participants