grayskull icon indicating copy to clipboard operation
grayskull copied to clipboard

[BUG] Grayskull incorrectly replaces dot "." with hyphen "-" in Conda package names

Open joshdunnlime opened this issue 1 year ago • 0 comments

Describe the bug

Grayskull seems to incorrectly replace "." character with "-" in conda package names when run.

To Reproduce Steps to reproduce the behavior:

grayskull pypi conda-pip-minimal

conda-pip-minimal/meta.yaml

requirements: host: - ... run: - python >=3.8 - ... - ruamel**_**yaml >=0.17.21,<0.18.dev0

Expected behavior A clear and concise description of what you expected to happen.

conda-pip-minimal/meta.yaml

requirements: host: - ... run: - python >=3.8 - ... - ruamel**.**yaml >=0.17.21,<0.18.dev0

Outputs If applicable, add the output to help explain your problem.

Environment:

  • conda list
  • pip list
  • grayskull --version 2.5.3

Additional context Admittedly, this is not a great name for a package as it goes against many conventions, but it seems to allowed as a conda package name and also a pypi name: https://anaconda.org/conda-forge/ruamel.yaml

joshdunnlime avatar Apr 22 '24 09:04 joshdunnlime