Skip to content

Update test to honor new behavior in importlib_metadata 8.7#4962

Merged
jaraco merged 1 commit into
mainfrom
bugfix/4961-validated-eps
Apr 27, 2025
Merged

Update test to honor new behavior in importlib_metadata 8.7#4962
jaraco merged 1 commit into
mainfrom
bugfix/4961-validated-eps

Conversation

@jaraco

@jaraco jaraco commented Apr 27, 2025

Copy link
Copy Markdown
Member

Fixes #4961

Summary of changes

Closes

Pull Request Checklist

@jaraco

jaraco commented Apr 27, 2025

Copy link
Copy Markdown
Member Author

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
@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