Skip to content

[csolution] Incompatible major versions in .csloution and .clayer do not cause failure #2405

@MiloradCvjetkovic

Description

@MiloradCvjetkovic

Bug description
When a required pack version is specified in the .csolution.yml file with a higher major version then in some of the clayer.yml files, the csolution accepts pack with version as specified in the .csolution.yml file but it does not complain or fail due to incompatible version being required by the .clayer.yml file.

To Reproduce
Specify different major versions for a pack requirement in .csolution.yml and .clayer.yml files.

Expected behavior
csolution should report incompatible version required by .csolution.yml and .clayer.yml and fail.

Environment

  • Arm CMSIS Solution v1.66.0
  • OS: Win11

Metadata

Metadata

Labels

bugSomething isn't working

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions