You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This MR builds on the attempt in !464 to update flake8 to rely on the new 'selectable' API for importlib metadata entry points. This change honors the request not to require bumping the requirement on importlib_metadata by building on the compatibility shim at backports.entry_points_selectable, building on lessons learned in python/importlib_metadata#298.
The compatibility shim promises to enable the preferred API even when the underlying importlib metadata API doesn't yet support it, allowing the use of importlib_metadata<3.6 and importlib.metadata on Python 3.8 and 3.9, but relying on the native APIs when available and avoiding the deprecations.
The text was updated successfully, but these errors were encountered:
Hey Anthony. I really thought you'd be quite happy with this change. It avoids requiring a newer backport but bridges the gap between an API that I'd like to deprecate (as convenient as it seems at the moment) and a more flexible API. I've taken your feedback to heart and worked quite hard over the past month to come up with what I believe to be a low impact approach to make the transition. I really don't want to see flake8 users in the lurch when the deprecation (currently suppressed for flake8) becomes a breaking change. I respect that breaking changes are especially concerning and that's why I've invested a great deal of time in refining the approach and rolling it out carefully. Would you be willing to have a conversation about it - to see if we can overcome our differences?
In GitLab by @jaraco on Mar 30, 2021, 14:24
Merges feature/backports-entrypoints-select -> master
This MR builds on the attempt in !464 to update flake8 to rely on the new 'selectable' API for importlib metadata entry points. This change honors the request not to require bumping the requirement on importlib_metadata by building on the compatibility shim at backports.entry_points_selectable, building on lessons learned in python/importlib_metadata#298.
The compatibility shim promises to enable the preferred API even when the underlying importlib metadata API doesn't yet support it, allowing the use of
importlib_metadata<3.6
andimportlib.metadata
on Python 3.8 and 3.9, but relying on the native APIs when available and avoiding the deprecations.The text was updated successfully, but these errors were encountered: