New python requirement breaks west sdk after git pull + west update #85057
Labels
area: West
West utility
bug
The issue is a bug, or the PR is fixing a bug
priority: medium
Medium impact/importance bug
Stale
Describe the bug
Result of running
west sdk
after updating zephyr source code to commit b7d13ea (and possibly anything at or after b739fbd) is a stack trace caused by this exception:Target platform: N/A (bug triggers when attempting to run
west sdk
)Diagnosis & resolution: commit b739fbd introduces a dependency on the
tqdm
python package which causeswest sdk
to crash until you manually installtqdm
.To Reproduce
tqdm
package installed yet.cd zephyr
git pull
west update
west sdk
(Result is the exception shown in the console log below)
Expected behavior
The Keeping Zephyr Updated section of the "Beyond the Getting Started Guide" documentation page suggests the following commands to update the Zephyr project source code:
I expect
west sdk
should work normally after running the recommended update commands.Impact
west sdk
is unusable until I manually resolve the missing dependency by runningI realize that is not difficult to do. My concern is, in the general case, how do beginners know when they are supposed to install some new python package, and how do they find the right command to use? Maybe the update procedure could include
west packages pip --install
afterwest update
? It would be great ifwest update
could just handle it automatically.Logs and console output
Environment (please complete the following information):
west sdk
)Additional context
Before this happened, I was using the Minimal Zephyr SDK with the following toolchains installed:
The text was updated successfully, but these errors were encountered: