Skip to content

[ci] conda-based CI jobs broken: "conda/activate.d/libarrow_activate.sh: line 25: CONDA_BUILD: unbound variable" #6799

@jameslamb

Description

@jameslamb

Description

CI jobs using conda are currently breaking like this:

/Users/runner/miniforge/envs/test-env/etc/conda/activate.d/libarrow_activate.sh: line 25: CONDA_BUILD: unbound variable

Reproducible example

Any Python-package CI jobs using conda in the last few hours. See, for example https://github.com/microsoft/LightGBM/actions/runs/12943275214/job/36157521507?pr=6668

Environment info

N/A

Additional Comments

It looks like this has happened to others in the past, guess we've just been lucky here:

It looks like this can happen when using bash with set -u and then calling source activate or similar.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions