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

validate_recipe_outputs fails with pixi #2145

Open
1 task done
hadim opened this issue Nov 19, 2024 · 0 comments · May be fixed by #2148
Open
1 task done

validate_recipe_outputs fails with pixi #2145

hadim opened this issue Nov 19, 2024 · 0 comments · May be fixed by #2148
Labels

Comments

@hadim
Copy link
Member

hadim commented Nov 19, 2024

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

validate_recipe_outputs is looking for the built packages into a pixi env directory instead of conda-bld. It only happens on osx and not linux:

Adding in variants from internal_defaults
Adding in variants from argument_variants
Traceback (most recent call last):
  File "/Users/runner/work/1/s/.pixi/envs/default/bin/validate_recipe_outputs", line 11, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/runner/work/1/s/.pixi/envs/default/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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
    distributions = built_distributions_from_recipe_variant(recipe_dir=recipe_dir, variant=variant)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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
    for dist in built_distributions(subdirs=allowed_subdirs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  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
    for path in os.listdir(os.path.join(conda_build.config.croot, subdir)):
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/Users/runner/work/1/s/.pixi/envs/default/conda-bld/noarch'

Full logs at https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1085116&view=logs&j=c8b8640e-759f-5af3-65b5-809c078c71b1&t=afb740aa-a99a-548c-edee-7cc314e30345

Installed packages

See logs

Environment info

See logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant