We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Operating system: Windows 11
PlatformIO Version (platformio --version): PlatformIO Core, version 6.1.13
platformio --version
LDF that picks wrong library version when requirements are declared and multiple versions of the same library are installed.
Using ArduinoJson as an example dependency. This issue is not specific to ArduinoJson.
ArduinoJson
A
ArduinoJson @ ~6.16.1
library.json
B
ArduinoJson @ ~7.0.3
Library "A" depends on ArduinoJson @ ~6.16.1 but instead it gets compiled with ArduinoJson @ ~7.0.3, which is a dependency of "B".
Scanning dependencies... Dependency Graph |-- A |-- ArduinoJson @ 7.0.3
Scanning dependencies... Dependency Graph |-- A |-- ArduinoJson @ 6.16.1
Issue first mentioned in #4823
Example project found here #4823 (comment)
The text was updated successfully, but these errors were encountered:
e1ff9a4
Please re-test with pio upgrade --dev.
pio upgrade --dev
Sorry, something went wrong.
Works as intended, thank you.
ivankravets
No branches or pull requests
Configuration
Operating system:
Windows 11
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.1.13
Description of problem
LDF that picks wrong library version when requirements are declared and multiple versions of the same library are installed.
Steps to Reproduce
Using
ArduinoJson
as an example dependency. This issue is not specific toArduinoJson
.A
depends onArduinoJson @ ~6.16.1
, defined in itslibrary.json
file.B
depends onArduinoJson @ ~7.0.3
, defined in itslibrary.json
file.Actual Results
Library "A" depends on ArduinoJson @ ~6.16.1 but instead it gets compiled with ArduinoJson @ ~7.0.3, which is a dependency of "B".
Expected Results
Additional info
Issue first mentioned in #4823
Example project found here #4823 (comment)
The text was updated successfully, but these errors were encountered: