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

Deprecate version classes #75

Merged
merged 2 commits into from
Dec 12, 2021
Merged

Deprecate version classes #75

merged 2 commits into from
Dec 12, 2021

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Dec 12, 2021

  • Mark Version classes as deprecated.
  • Suppress deprecation warnings in distutils test suite.

@jaraco jaraco merged commit 92082ee into main Dec 12, 2021
@jaraco jaraco deleted the debt/deprecate-version branch December 12, 2021 16:32
sloria added a commit to marshmallow-code/marshmallow-sqlalchemy that referenced this pull request Jul 18, 2022
* Use packaging library to avoid DeprecationWarning from distutils

`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/.

* Bump Black version to include fix for new Click release with breaking 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.

* Update AUTHORS and CHANGELOG

Co-authored-by: Steven Loria <[email protected]>
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.

1 participant