You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scipy-stubs-feedstock on π rattler [$] via π
β― pixi run conda smithy lint
Traceback (most recent call last):
File "/Users/lucascolley/programming/feedstocks/.pixi/envs/default/bin/conda-smithy", line 10, in <module>
sys.exit(main())
^^^^^^
File "/Users/lucascolley/programming/feedstocks/.pixi/envs/default/lib/python3.12/site-packages/conda_smithy/cli.py", line 767, in main
args.subcommand_func(args)
File "/Users/lucascolley/programming/feedstocks/.pixi/envs/default/lib/python3.12/site-packages/conda_smithy/cli.py", line 645, in __call__
lints, hints = linter.main(
^^^^^^^^^^^^
File "/Users/lucascolley/programming/feedstocks/.pixi/envs/default/lib/python3.12/site-packages/conda_smithy/lint_recipe.py", line 734, in main
raise OSError(
OSError: Feedstock has no recipe/meta.yaml
Installed packages
scipy-stubs-feedstock on π rattler [$] via π
β― pixi ls | rg smithy
conda-smithy 3.45.3 unix_pyhd81877a_0 174.1 KiB conda conda-smithy
Environment info
n/a
The text was updated successfully, but these errors were encountered:
the error here is resolved by passing recipe_directory or running the command from the directory of the recipe.
So the correct fix here is to improve the error message - it can happen if there is no recipe/meta.yaml, but also if there is no recipe.yaml in the cwd when the command is run.
Solution to issue cannot be found in the documentation.
Issue
The linter passes in CI on conda-forge/scipy-stubs-feedstock#10, but locally I see
Installed packages
scipy-stubs-feedstock on π rattler [$] via π β― pixi ls | rg smithy conda-smithy 3.45.3 unix_pyhd81877a_0 174.1 KiB conda conda-smithy
Environment info
The text was updated successfully, but these errors were encountered: