grayskull icon indicating copy to clipboard operation
grayskull copied to clipboard

[BUG] Sometimes package names with hyphens use underscores for import

Open step21 opened this issue 5 years ago • 1 comments

Describe the bug In a name such as package-name, import will be often package_name and pypi url will be a mix of both.

To Reproduce Steps to reproduce the behavior: Use grayskull to make a recipe for eth-abi

Expected behavior A clear and concise description of what you expected to happen. Right module name is imported.

Environment:

  • grayskull --version = 0.7.3

Additional context Example url https://pypi.org/project/eth-abi/

step21 avatar Aug 27 '20 11:08 step21

Thanks again for reporting it!

Related to https://github.com/marcelotrevisani/grayskull/issues/150

marcelotrevisani avatar Aug 27 '20 11:08 marcelotrevisani

That was fixed a while ago but I forgot to close it, sorry.

marcelotrevisani avatar Aug 22 '22 13:08 marcelotrevisani