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

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

Open
joshdunnlime opened this issue Apr 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@joshdunnlime
Copy link

joshdunnlime commented Apr 22, 2024

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 joshdunnlime added the bug Something isn't working label Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant