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

Grayskull bot does not pull recipe correctly when source is Github #3169

Open
thewchan opened this issue Nov 19, 2024 · 0 comments
Open

Grayskull bot does not pull recipe correctly when source is Github #3169

thewchan opened this issue Nov 19, 2024 · 0 comments

Comments

@thewchan
Copy link

When using bot:inspection:hint-all to generated dependency updates in feedstocks, the grayskull bot seems to always pull from PyPI even when the recipe uses a Github source because the sdist is not available on PyPI, causing the dependency hints to fail to generate with this message:

2024-11-18T22:11:21.0016455Z   File "/opt/conda/envs/cf-scripts/lib/python3.11/site-packages/grayskull/strategy/pypi.py", line 280, in get_pypi_metadata
2024-11-18T22:11:21.0017667Z     raise AttributeError(f"There is no sdist package on pypi for {config.name}.")
2024-11-18T22:11:21.0018283Z AttributeError: There is no sdist package on pypi for creosote.

As an example:
conda-forge/creosote-feedstock#6
https://github.com/regro/cf-scripts/actions/runs/11901774030/job/33165408730

The bot should recognize that the source is located in GH and run grayskull pypi gh_url instead

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

1 participant