-
Notifications
You must be signed in to change notification settings - Fork 0
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
Failure in CI - CalledProcessError for command 'which brew' #1
Comments
Some dependencies changed between the successful and failing builds, but nothing seems particularly relevant. Plus, why can't I replicate the issue on Ubuntu docker images? |
I did observe that xonsh has a pytest plugin, and part of this plugin triggers xonsh setup, and that function does appear to set the environment to raise on error. Looking at my local test runs and the ones that passed earlier, I note that the But wait, the import of that module is happening during collection of |
Pinning to |
I am able to replicate the failure locally using act to replicate the GHA environment:
|
Digging into the failure, I can see that at bottom of the stack, in importlib.util, the context is:
At the point where that's called,
|
Disabling the xonsh plugin ( |
Sometime in the past 5 days, the tests have started failing during collection with:
However, running the tests locally pass just fine (on macOS and Linux). I don't get it. Why is a CalledProcessError being raised when the code is clearly checking the returncode.
The text was updated successfully, but these errors were encountered: