Description
Describe the problem
Arduino library authors may specify library dependencies in the depends
field of the library.properties
metadata file. When using Library Manager to install a library that specifies dependencies which are not already installed, the user is offered the installation of the dependencies.
🐛 This dialog is currently presented even when the dependencies are already installed.
To reproduce
- Use Library Manager to install the "ArduinoRS485" library.
- Use Library Manager to install the "ArduinoModbus" library.
(this library specifies a dependency on the "ArduinoRS485" library)
🐛 A dialog appears which erroneously claims:The library ArduinoModbus:1.0.6 needs another dependency currently not installed:
- ArduinoRS485
Would you like to install the missing dependency?
Expected behavior
Dependencies installation dialog only appears when dependencies are not already installed.
Arduino IDE version
Original report
2.0.0-rc3
Last verified with
Operating system
Windows
Operating system version
11
Additional context
The issue occurs even after a restart, so it is not specific to the dependency being installed in the same session as the dependent library, as was done in the demo for the sake of simplicity.
Additional reports
- Library Manager wants to install dependencies that are already installed #2317
- IDE wants to install already installed dependencies #2614
- Library update, a little imperfection #2655
Issue checklist
- I searched for previous reports in the issue tracker
- I verified the problem still occurs when using the latest nightly build
- My report contains all necessary details