lib list
/core list
might list the library/platform versions in a non-semver compliant way
#1727
Labels
topic: code
Related to content of the project itself
type: imperfection
Perceived defect in any part of project
Milestone
Bug Report
Library authors can use a relaxed-semver. For example,
1.0
is OK. If such a library is installed,lib list
will return with the1.0
version, which is not a valid semver. Hence the library install will fail with this version.Current behavior
Steps to reproduce:
Expected behavior
In this particular case, the
lib list
should return with such a JSON:The
lib list
should result in a validsemver
version.Pipe-dream:
lib install
should handle relaxed-semvers gracefully, andlib install "ILI9341_t3"@1.0
should succeed.Environment
arduino-cli version
):arduino-cli Version: 0.22.0 Commit: 65f662a7 Date: 2022-05-06T11:09:35Z
macOS 12.3.1 (21E258)
Additional context
The text was updated successfully, but these errors were encountered: