Closed noklam closed 1 year ago
I found this but discussion is outdated. https://github.com/pytest-dev/pluggy/issues/154
There's compatibility shim's and a few pain Points to resolve +downstream usages
So far nobody wanted to incurr that costs on downstreams
Closing as duplicate of #154
https://github.com/pytest-dev/pluggy/blob/136bbe8c98b66cbcefdc2438bf3c59705678249b/src/pluggy/_manager.py#L376-L402
From my understanding this works beyond
setuptools
. PyPa suggested that this works for other build tools. From the implementation I can also see that it's not using anything specific tosetuptools
, it is usingimportlib
.Would it make sense to change it to
load_entrypoints
? I am happy to submit a PR if this is desirable. However this will be a breaking change.