Skip to content

0.17 requires Python 3.10, but docs state it is a minimum requirement #1026

@dkouba-atym

Description

@dkouba-atym

I have been having some intermittent issues with my compile process hanging. I believe this to be a combination of a couple things:

  1. The 0.17 SDK is hard-linked against Python 3.10, but I did not have 3.10 installed.
  2. During compile, a call to /Users/dankouba/zephyr-sdk-0.17.4/arm-zephyr-eabi/bin/arm-zephyr-eabi-gdb-py --configuration is issued. Without Python 3.10 installed, this call issues an error. When run inside of VSCode, this call never aborts and hangs indefinitely. Outside of VSCode, it aborts as one would expect.

The VSCode issue is something I need to investigate separately, however:

  • The documentation specifies Python 3.10 is a minimum version, not a required version, and the required version is not included with the SDK and thus relies on the host's installed version. The failure is silent, and it took quite a bit of digging to uncover this. At minimum the docs should be updated to specify a minimum version and it should be enforced at install and/or runtime.
  • I don't understand why there is a call to arm-zephyr-eabi-gdb-py during compilation. What is the purpose of this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions