Closed jkrech closed 6 months ago
Looks like a duplicate of: https://github.com/Open-CMSIS-Pack/cpackget/issues/282
Two problems have identified and fixed:
"_"
as unlimited upper range, e.g. "1.2.3:_"
utils.SemverCompareRange()
is updated to support it. pack.resolveVersionModifier()
: swapped version and range arguments to call utils.SemverCompareRange()
corrected
Describe the bug When installing the pack version
NXP::EVK-MIMXRT1064_BSP@14.0.0
using this command:the expectation is that due to these
<requirements>
that if no pack version of
NXP::MIMXRT1064_DFP >= 14.0.0
is already installed, the latest version listed in the .Web/index.pidx gets downloaded and installed. (similarly for "ARM::CMSIS >= 5.6.0")Note: cpackget version 2.0.1 correctly installs NXP::MIMXRT1064_DFP@18.0.0 being the latest public version in my
./Web/index.pidx
.To Reproduce Steps to reproduce the behavior:
cpackget add NXP::EVK-MIMXRT1064_BSP@14.0.0 -v
Expected behavior The expectation is that NXP::MIMXRT1064_DFP@18.0.0 gets successfully installed.
Environment (please complete the following information):