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

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

Closed
Tracked by #6796
jameslamb opened this issue Jan 25, 2025 · 3 comments

Comments

@jameslamb
Copy link
Collaborator

jameslamb commented Jan 25, 2025

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.

@jameslamb
Copy link
Collaborator Author

Ah, think I found the root cause: conda-forge/arrow-cpp-feedstock#1694

@jameslamb
Copy link
Collaborator Author

I put up a proposed fix in conda-forge/arrow-cpp-feedstock#1696 ... let's see if that's accepted before adding workarounds like #6800

@jameslamb
Copy link
Collaborator Author

Seeing CI starting to pass across the project, so I do think that upstream fix resolved this!

Closing this and #6800

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

Successfully merging a pull request may close this issue.

1 participant