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

Remove SelectableGroups deprecation exception for flake8. #319

Merged
merged 5 commits into from Jun 3, 2021

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented May 27, 2021

In #298 released with 3.6, this package introduced the EntryPoints objects with a SelectableGroups shim for compatibility with older usages. During the review, asottile, the maintainer of flake8 informed me that flake8 has a slow release cadence and that it would be disruptive to suddenly expose a DeprecationWarning in flake8, especially since some users of flake8 will have -Werror enabled.

In merge request 464 and merge request 472, I made attempts to update flake8 to transition to the new interface. Since both attempts were dismissed rapidly and without guidance on how to proceed and without response to my plea for conversation, I see no option but to press forward with the deprecation.

@asottile Is there anything you'd like to do before the deprecation is introduced for flake8 as it has for other projects?

@jaraco jaraco merged commit 1cabd5f into main Jun 3, 2021
@jaraco jaraco deleted the feature/uniform branch June 3, 2021 23:01
tsibley added a commit to nextstrain/cli that referenced this pull request Aug 13, 2021
…rtlib_metadata

The warning was turned into an error by our pytest config, and thus
resulted in test failures.

importlib_metadata used to specially suppress this deprecation warning
for flake8, but that special-casing was removed in June without any
update to flake8's to avoid the warning.  See

    python/importlib_metadata#319

and the flake8 PRs it links to for more background.
tsibley added a commit to nextstrain/cli that referenced this pull request Aug 13, 2021
…rtlib_metadata

The warning was turned into an error by our pytest config, and thus
resulted in test failures.

importlib_metadata used to specially suppress this deprecation warning
for flake8, but that special-casing was removed in June without any
update to flake8's to avoid the warning.  See

    python/importlib_metadata#319

and the flake8 PRs it links to for more background.
jaraco referenced this pull request in PyCQA/flake8 Nov 28, 2021
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.

None yet

1 participant