Solution to issue cannot be found in the documentation.
[x] I checked the documentation.
Issue
When I use pixi for conda_install_tool in conda-forge.yaml, I encountered the following error at the inspect_artifacts command:
2024-11-24T16:51:47.3606890Z Adding in variants from internal_defaults
2024-11-24T16:51:47.3607700Z Adding in variants from argument_variants
2024-11-24T16:51:47.3627730Z Traceback (most recent call last):
2024-11-24T16:51:47.3628490Z File "/Users/runner/work/1/s/.pixi/envs/default/bin/validate_recipe_outputs", line 11, in <module>
2024-11-24T16:51:47.3629250Z sys.exit(main())
2024-11-24T16:51:47.3629690Z ^^^^^^
2024-11-24T16:51:47.3630690Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
2024-11-24T16:51:47.3632160Z return self.main(*args, **kwargs)
2024-11-24T16:51:47.3632940Z ^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3633910Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1078, in main
2024-11-24T16:51:47.3635500Z rv = self.invoke(ctx)
2024-11-24T16:51:47.3636030Z ^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3637200Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
2024-11-24T16:51:47.3639770Z return ctx.invoke(self.callback, **ctx.params)
2024-11-24T16:51:47.3640350Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3641480Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 783, in invoke
2024-11-24T16:51:47.3642690Z return __callback(*args, **kwargs)
2024-11-24T16:51:47.3643210Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3644150Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/conda_forge_ci_setup/feedstock_outputs.py", line 158, in main
2024-11-24T16:51:47.3654540Z distributions = built_distributions_from_recipe_variant(recipe_dir=recipe_dir, variant=variant)
2024-11-24T16:51:47.3655280Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3656470Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/conda_forge_ci_setup/utils.py", line 126, in built_distributions_from_recipe_variant
2024-11-24T16:51:47.3657290Z for dist in built_distributions(subdirs=allowed_subdirs)
2024-11-24T16:51:47.3657860Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3659000Z File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/conda_forge_ci_setup/utils.py", line 109, in built_distributions
2024-11-24T16:51:47.3660250Z for path in os.listdir(os.path.join(conda_build.config.croot, subdir)):
2024-11-24T16:51:47.3660760Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-24T16:51:47.3661640Z FileNotFoundError: [Errno 2] No such file or directory: '/Users/runner/work/1/s/.pixi/envs/default/conda-bld/osx-arm64'
I guess conda_forge_ci_setup specified the wrong path to the conda-bld directory.
Temporally, Setting CONDA_BLD_PATH env before the inspect_artifacts command avoids the above in this PR:https://github.com/conda-forge/raysect-feedstock/pull/4
Solution to issue cannot be found in the documentation.
Issue
When I use pixi for
conda_install_tool
inconda-forge.yaml
, I encountered the following error at theinspect_artifacts
command:I guess
conda_forge_ci_setup
specified the wrong path to theconda-bld
directory. Temporally, SettingCONDA_BLD_PATH
env before theinspect_artifacts
command avoids the above in this PR:https://github.com/conda-forge/raysect-feedstock/pull/4Installed packages
Environment info