Skip to content
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

add metadata package to resolve distribution information #6

Merged
merged 1 commit into from
Jul 28, 2023

Conversation

thrau
Copy link
Member

@thrau thrau commented Jul 28, 2023

This PR adds support for fetching importlib.metadata.Distribution objects from a PluginSpec. This allows you to resolve the python package distribution metadata for a particular plugin, i.e., the pypi package the plugin came from.

We need this for localstack extensions to resolve the distribution name from an extension name.

@thrau thrau merged commit 4e93357 into main Jul 28, 2023
1 check passed
@thrau thrau deleted the distribution-information branch July 28, 2023 17:23
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.

1 participant