Skip to content

Update test to honor new behavior in importlib_metadata 8.7 #4962

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

Merged
merged 1 commit into from
Apr 27, 2025

Conversation

jaraco
Copy link
Member

@jaraco jaraco commented Apr 27, 2025

Fixes #4961

Summary of changes

Closes

Pull Request Checklist

@jaraco
Copy link
Member Author

jaraco commented Apr 27, 2025

I started looking into specifically trapping the error and replacing it with an OptionError, but ultimately I decided that would add too much complication, and the whole point of validating the error in importlib metadata is so that other libraries don't have to do so, so I've instead marked the validation routine as deprecated in favor of eventual retirement when importlib_metadata 8.7 or later (and its stdlib equivalent) are available.

@jaraco jaraco merged commit 2c874e7 into main Apr 27, 2025
33 of 38 checks passed
@jaraco jaraco deleted the bugfix/4961-validated-eps branch April 27, 2025 16:59
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.

TestInvalidEntryPoint failing following release of importlib_metadata 8.7
1 participant