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

Plugin missing from plugin list #530

Closed
DanLipsitt opened this issue Jul 8, 2021 · 2 comments
Closed

Plugin missing from plugin list #530

DanLipsitt opened this issue Jul 8, 2021 · 2 comments

Comments

@DanLipsitt
Copy link

I'm trying to use pdm-freeze but it doesn't show up in pdm plugin list. I ran it under a debugger and found that pdm is looking for dist.entry_points[i].group == 'pdm' while the plugin for some reason has dist.entry_points[=].group == 'pdm.plugin'. Perhaps this is due to a change in importlib?

if any(ep.group == "pdm" for ep in dist.entry_points):

I made a new pdm project from the source distribution for the plugin and got the same result, so it's not a problem with the wheel.

@frostming
Copy link
Collaborator

Yes, the entry point changed, might need to add it back for compatibility, thanks for letting me know the plugin.

@DanLipsitt
Copy link
Author

Thanks!

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

No branches or pull requests

2 participants