From 60cf2fe5d230141729a810a7348cfef5d2db093f Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 5 Oct 2021 22:21:25 -0700 Subject: [PATCH] Correct library dependency name in metadata The `depends` field of the library.properties metadata file can be used to provide a list of library dependencies that should be installed in addition during a Library Manager installation. The library names must match exactly to the `name` value in the dependency's library.properties metadata file, which is the unique identifier used by Library Manager. The name of the "Adafruit SleepyDog Library" is just like that, but an incorrect name "Adafruit_SleepyDog" was used instead. This resulted in the following: - Classic Arduino IDE: the incorrect name was ignored and the dependency not installed - Arduino IDE 2.x: installation of the ArduinoIoTCloud library fails silently - Arduino CLI: installation of the ArduinoIoTCloud library fails with "Error installing ArduinoIoTCloud: No valid dependencies solution found: dependency 'Adafruit_SleepyDog' is not available" --- library.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 16eee5476..164440fb0 100644 --- a/library.properties +++ b/library.properties @@ -8,4 +8,4 @@ category=Communication url=https://github.com/arduino-libraries/ArduinoIoTCloud architectures=mbed,samd,esp8266,mbed_nano,mbed_portenta includes=ArduinoIoTCloud.h -depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit_SleepyDog +depends=Arduino_ConnectionHandler,Arduino_DebugUtils,ArduinoMqttClient,ArduinoECCX08,RTCZero,Adafruit SleepyDog Library