Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pio lib update does not follow semver complaint version constraints. #1281

Closed
euphi opened this issue Jan 6, 2018 · 2 comments
Closed

pio lib update does not follow semver complaint version constraints. #1281

euphi opened this issue Jan 6, 2018 · 2 comments
Labels
bug ldf Library Dependency Finder
Milestone

Comments

@euphi
Copy link

euphi commented Jan 6, 2018

As written in homieiot/homie-esp8266#470, platformio lib update updates locally installed libs even if the latest version does not match the semver compliant version match string.

E.g. if there is a dependency to lib@^1.0.0 a lib from the 1.0.x branch is installed initially, but later is updated to 1.1.x, when pio lib update is performed.

--> pio lib update shall follow the semver dependencies when looking for new libs.

BTW: I thnik this should not apply for global update (pio lib -g update) because pio can't know all locally installed projects and a project can install a older revision of a dependency locally.

@ivankravets ivankravets added the bug label Jan 8, 2018
@ivankravets ivankravets modified the milestones: 3.5.1, 3.5.2 Jan 15, 2018
@ivankravets ivankravets modified the milestones: 3.5.2, 3.5.x Feb 8, 2018
@ivankravets ivankravets modified the milestones: 3.5.x, 3.6.0 Jun 2, 2018
@ivankravets ivankravets modified the milestones: 4.0, Backlog Jun 23, 2019
@ivankravets ivankravets added the ldf Library Dependency Finder label Sep 4, 2019
@ivankravets ivankravets modified the milestones: Backlog, 4.4.0 Jun 22, 2020
@ivankravets ivankravets modified the milestones: 5.0.0, 5.0.1 Sep 1, 2020
@ivankravets
Copy link
Member

Please re-test with pio upgrade --dev.

@euphi
Copy link
Author

euphi commented Nov 10, 2020

Thanks! Seems to run fine now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ldf Library Dependency Finder
Projects
None yet
Development

No branches or pull requests

2 participants