Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Allow duplicate (name, value) entry points for backends #28388

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

Conversation

ianthomas23
Copy link
Member

PR summary

Fixes #28367.

This allows duplicate (name, value) entry points for self-registering backends such as matplotlib-inline. This should not occur but sometimes a single entry_points.txt file can appear as two identical entry points and hence before this fix a RuntimeError was raised. With this fix the duplicated entry points are tolerated.

PR checklist

@tacaswell tacaswell added this to the v3.9.1 milestone Jun 13, 2024
@tacaswell
Copy link
Member

https://xkcd.com/1172/

@QuLogic QuLogic merged commit b19794e into matplotlib:main Jun 13, 2024
40 of 41 checks passed
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jun 13, 2024
@ianthomas23 ianthomas23 deleted the 28367_allow_identical_name_value_entry_points branch June 14, 2024 09:00
QuLogic added a commit that referenced this pull request Jun 14, 2024
…388-on-v3.9.x

Backport PR #28388 on branch v3.9.x (Allow duplicate (name, value) entry points for backends)
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.

[Bug]: Backend entry points can be erroneously duplicated
3 participants