[BUG] Grayskull allows recipes with _ when name should have -
See original GitHub issueDescribe the bug
Underscores vs. dashes:
Running
grayskull pypi slack_sdk
generates a recipe named slack_sdk
, even though the PyPi package name is slack-sdk
.
Expected behavior
An error message that the name slack_sdk
doesn’t correspond to a PyPi package.
Outputs
{% set name = "slack_sdk" %}
{% set version = "3.6.0" %}
...
Environment:
- grayskull --version
0.8.5
Additional context
I suspect that grayskull
is following the PyPi redirect to remove underscores.
This issue led to unintentionally create a duplicate feedstock:
https://github.com/conda-forge/slack-sdk-feedstock/issues/10#issuecomment-860884130
Issue Analytics
- State:
- Created 2 years ago
- Comments:15 (9 by maintainers)
Top Results From Across the Web
Issues · conda-incubator/grayskull - GitHub
Contribute to conda-incubator/grayskull development by creating an account on GitHub. ... [BUG] Grayskull allows recipes with _ when name should have - bug...
Read more >Conda and Grayskull, the Masters of Software Packaging
Grayskull is an automatic conda recipe generator, with a focus on conda-forge. It generates concise and accurate recipes very quickly, provided ...
Read more >Grayskull - The Community-Developed conda Recipe Generator
Grayskull is an automatic conda recipe generator that generates concise conda recipes for Python packages available on PyPI and GitHub. It ...
Read more >By the power of Grayskull… I have the Conda recipe!
Currently, Grayskull (version 0.2.1 ) is able to generate recipes just looking for packages on PyPI, and it is available on PyPI and...
Read more >"[lib] requires [dep], which is not installed" when running PR ...
So, in the Conda recipe one indicates the Conda package name ( pytables ), but pip check will verify that this actually makes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, we already have one: https://gitter.im/conda_grayskull/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
Yes, please! 😃