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

staged-recipes linux builds are failing #24113

Closed
isuruf opened this issue Oct 2, 2023 · 5 comments
Closed

staged-recipes linux builds are failing #24113

isuruf opened this issue Oct 2, 2023 · 5 comments
Labels

Comments

@isuruf
Copy link
Member

isuruf commented Oct 2, 2023

Bug:

Since the release of new conda version a couple of hours ago, linux builds are failing with

+ setup_conda_rc /home/conda/staged-recipes /home/conda/staged-recipes-copy/recipes /home/conda/staged-recipes-copy/.ci_support/linux64.yaml
Traceback (most recent call last):
  File "/opt/conda/bin/setup_conda_rc", line 7, in <module>
    from conda_forge_ci_setup.build_utils import setup_conda_rc
  File "/opt/conda/lib/python3.10/site-packages/conda_forge_ci_setup/build_utils.py", line 15, in <module>
    from conda_forge_ci_setup.upload_or_check_non_existence import retry_upload_or_check
  File "/opt/conda/lib/python3.10/site-packages/conda_forge_ci_setup/upload_or_check_non_existence.py", line 14, in <module>
    from conda_build.conda_interface import subdir as conda_subdir
  File "/opt/conda/lib/python3.10/site-packages/conda_build/conda_interface.py", line 84, in <module>
    from conda.base.context import (  # noqa: F401
ImportError: cannot import name 'get_prefix' from 'conda.base.context' (/opt/conda/lib/python3.10/site-packages/conda/base/context.py)

See for example https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=793801&view=logs&j=6f142865-96c3-535c-b7ea-873d86b887bd&t=22b0682d-ab9e-55d7-9c79-49f3c3ba4823

This is because the docker image has boa installed and boa requires an older conda-build and that version is incompatible with the newer conda.

@isuruf isuruf added the bug label Oct 2, 2023
@isuruf
Copy link
Member Author

isuruf commented Oct 2, 2023

cc @conda-forge/staged-recipes, @conda-forge/core

@jaimergp
Copy link
Member

jaimergp commented Oct 2, 2023

Will a repodata patch for conda-build suffice?

@isuruf
Copy link
Member Author

isuruf commented Oct 2, 2023

Don't think so. We need to either remove boa from docker images or have a new boa compatible with conda-build>=3.25 and mamba>=1.5.0

@isuruf
Copy link
Member Author

isuruf commented Oct 2, 2023

Nvm, yeah, adding a conda constraint on conda-build would fix it.

@h-vetinari
Copy link
Member

Xref conda-forge/conda-forge-repodata-patches-feedstock#563

@beckermr beckermr closed this as completed Oct 2, 2023
This was referenced Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

4 participants