From 6ba200d98a172026728fb368850fcc035650796c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tja=C5=BE=20Vra=C4=8Dko?= Date: Wed, 6 Nov 2024 14:52:34 +0100 Subject: [PATCH] fix(toolchain): Fix toolchain manager not showing pre-prelease toolchains Co-authored-by: MarkoSagadin --- CHANGELOG.md | 5 +++++ src/east/east_context.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d49d86..bf45217 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) ## [Unreleased] +### Added + +- Support for installing non-release NCS versions of toolchain, such as `v2.7.0-rc1`. East will + now correctly install such versions of the toolchain, if found in the west manifest file. + ### Fixed - A bug in `east build` parsing introduced in v0.23.2. diff --git a/src/east/east_context.py b/src/east/east_context.py index ef41c6f..71393fb 100644 --- a/src/east/east_context.py +++ b/src/east/east_context.py @@ -437,7 +437,7 @@ def pre_workspace_command_check( return # Check if toolchain for detected ncs version is supported - result = self.run_manager("search", silent=True, return_output=True) + result = self.run_manager("search --show-all", silent=True, return_output=True) if self.detected_ncs_version in result["output"]: # Supported but not installed, should we exit program or silently pass?