FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix deprecation messages for vendoring unused things by QuLogic · Pull Request #23711 · matplotlib/matplotlib · GitHub

Repository navigation

Fix deprecation messages for vendoring unused things - #23711

Merged
oscargus merged 1 commit into
matplotlib:mainfrom
QuLogic:fix-vendoring-deprecations
Aug 24, 2022
Merged

oscargus merged 1 commit into
matplotlib:mainfrom
QuLogic:fix-vendoring-deprecations

Conversation

QuLogic commented Aug 23, 2022

Copy link
Copy Markdown
Member

PR Summary

Formerly, the deprecation message would say "Use Vendor the code instead"; now they say "Use a vendored copy of the code instead", etc.

This weird grammar can cause some confusion, cf #23244

PR Checklist

Tests and Styling

  • [n/a] Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • [n/a] New features are documented, with examples if plot related.
  • [n/a] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs should build without error).

QuLogic added this to the v3.6.0 milestone Aug 23, 2022
Comment thread lib/matplotlib/__init__.py Outdated


@_api.deprecated("3.6", alternative="Vendor the code")
@_api.deprecated("3.6", alternative="a vendored copy this function")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
@_api.deprecated("3.6", alternative="a vendored copy this function")
@_api.deprecated("3.6", alternative="a vendored copy of this function")

Comment thread lib/matplotlib/testing/decorators.py Outdated

@_api.deprecated("3.6", alternative="Vendor the existing code "
@_api.deprecated("3.6", alternative="a vendored copy of the existing code "
"of _check_freetype_version.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
"of _check_freetype_version.")
"of _check_freetype_version")

Comment thread lib/matplotlib/testing/decorators.py Outdated

@_api.deprecated("3.6", alternative="Vendor the existing code, "
@_api.deprecated("3.6", alternative="a vendored copy of the existing code, "
"including the private function _cleanup_cm.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
"including the private function _cleanup_cm.")
"including the private function _cleanup_cm")

Comment thread lib/matplotlib/testing/decorators.py Outdated

@_api.deprecated("3.6", alternative="Vendor the existing code, "
@_api.deprecated("3.6", alternative="a vendored copy of the existing code, "
"including the private function _cleanup_cm.")

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
"including the private function _cleanup_cm.")
"including the private function _cleanup_cm")

Formerly, the deprecation message would say "Use Vendor the code
instead"; now they say "Use a vendored copy of the code instead", etc.
QuLogic force-pushed the fix-vendoring-deprecations branch from 624f588 to 65bbec0 Compare August 23, 2022 22:53
oscargus merged commit 1d5221b into matplotlib:main Aug 24, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Aug 24, 2022
oscargus added a commit that referenced this pull request Aug 24, 2022
…711-on-v3.6.x

Backport PR #23711 on branch v3.6.x (Fix deprecation messages for vendoring unused things)
QuLogic deleted the fix-vendoring-deprecations branch August 24, 2022 20:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL