Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use packaging library to avoid DeprecationWarning from distutils #435

Merged
merged 3 commits into from
Jul 18, 2022
Merged

Use packaging library to avoid DeprecationWarning from distutils #435

merged 3 commits into from
Jul 18, 2022

Conversation

Tenzer
Copy link
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
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
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