Skip to content

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

2 participants