[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2021-03-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- versions: +Python 3.10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2021-03-07 Thread Jason R. Coombs
Change by Jason R. Coombs : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-31 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset dfdca85dfa64e72df385b3a486f85b773fc0f135 by Jason R. Coombs in branch 'master': bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` (#23758)

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-13 Thread Jason R. Coombs
Change by Jason R. Coombs : -- pull_requests: +22614 pull_request: https://github.com/python/cpython/pull/23758 ___ Python tracker ___

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-06 Thread Pedro Algarvio
Pedro Algarvio added the comment: Our software uses a plug-in based approach. Plugins are able to add/modify internal behavior, and, as part of bug submission process we have a CLI flag which provides information about the core app as well as any intervening plugins. This is where we need

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: In discussion, I realized that I don't yet understand what use-cases drive this demand? What code is it that requires resolving a distribution from an entry point? -- ___ Python tracker

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-06 Thread Jason R. Coombs
Jason R. Coombs added the comment: I've ported the initial patch over to the backport and am exploring options in https://github.com/python/importlib_metadata/pull/266. -- ___ Python tracker

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-12-06 Thread Jason R. Coombs
Change by Jason R. Coombs : -- assignee: -> jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Yes - I keep both in sync. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Pedro Algarvio
Pedro Algarvio added the comment: Guess I jumped too fast :) Will the changes in CPythom be included in `importlib_metadata`? -- ___ Python tracker ___

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-17 Thread Jason R. Coombs
Jason R. Coombs added the comment: Pedro - thanks for the detailed report. Pull requests against importlib_metadata are easier to accept because they can be tested more easily, released more rapidly, and there's a straightforward way to port them to CPython. Regardless, I see you've

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-16 Thread Pedro Algarvio
Change by Pedro Algarvio : -- keywords: +patch pull_requests: +2 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23334 ___ Python tracker ___

[issue42382] No easy way to get the distribution which provided a importlib.metadata.EntryPoint

2020-11-16 Thread Pedro Algarvio
New submission from Pedro Algarvio : With `pkg_resources` an `EntryPoint` has a dist attribute which allows you to get the distribution that provided that specific entry-point, however, with `importlib.metafata` and `importlib_metadata` that's not an east task. ```python