Closed
Description
Describe the problem
After an Install All
, the PubSubClient
remains updateable in the IDE. The LibraryListResponse#installed_libraries
contains the PubSubClient
as an installed one.
gRPC:
[
"Adafruit AM2315",
"AsyncLiquidCrystal",
"107-Arduino-NMEA-Parser",
"ACAN2515",
"Arduino_BuiltIn",
"Firmata",
"Servo",
"AD9850SPI",
"Adafruit APDS9960 Library",
"Mouse",
"107-Arduino-Sensor",
"Adafruit AMG88xx Library",
"Adafruit Arcada GifDecoder",
"LiquidCrystal",
"AccelStepperWithDistances",
"Adafruit BMP085 Library",
"ACAN2515Tiny",
"AceCommon",
"BaudotCode",
"AceSorting",
"Keyboard",
"PubSubClient",
"AceRoutine",
"ArduinoLearningKitStarter",
"SD",
"ACAN_ESP32",
"AceUtils",
"Stepper",
"hd44780",
"AD57X4R",
"YouTubeLiveStreamArduino",
"ABB PowerOne Aurora inverter communication protocol",
"Arduino Cloud Provider Examples",
"WiFi101",
"Accessories",
"Adafruit CAP1188 Library",
"Adafruit BD3491FS",
"ACE128",
"Ethernet",
"AD7173",
"Accelerometer_H3LIS331DL",
"CheapLCD",
"NimBLE-Arduino",
"107-Arduino-BMP388",
"ACS712",
"AD524X",
"107-Arduino-MCP2515",
"Adafruit AS7341",
"Adafruit AHRS",
"Adafruit AM2320 sensor library",
"WiFi101OTA",
"Accessory Shield",
"107-Arduino-Debug",
"AD5254_asukiaaa",
"Adafruit ADXL345",
"XboxSeriesXControllerESP32_asukiaaa",
"ACAN2517",
"AD_Sensors",
"Adafruit 9DOF",
"XboxControllerNotificationParser",
"107-Arduino-Cyphal",
"Adafruit BMP085 Unified",
"107-Arduino-BoostUnits",
"ACAN2517FD",
"ACAN_T4",
"AD520X",
"Adafruit LiquidCrystal",
"Akafugu TWILiquidCrystal Library",
"AceSegment",
"Adafruit ADXL343",
"Adafruit BusIO",
"ACANFD_FeatherM4CAN",
"AceButton",
"ArduinoJson",
"BlockNot",
"TFT"
]
The CLI without the gRPC client see behaves correctly:
~/dev/git/arduino-ide/arduino-ide-extension/build/arduino-cli lib list --updatable --format json
[]
update_all_bug.mp4
To reproduce
Install PubSubClient@2.8.0
, and check for updates.
Expected behavior
PubSubClient@2.8.0
is not prompted as updateable.
Arduino IDE version
Operating system
macOS
Operating system version
12.5.1
Additional context
No response
Issue checklist
- I searched for previous reports in the issue trackerI verified the problem still occurs when using the latest nightly buildMy report contains all necessary details
Activity
kittaakos commentedon Sep 3, 2022
Caused by arduino/arduino-cli#1727
lib list
:lib search
:The IDE must deal with such versions gracefully.
Coerce a semver when calculating updatables.
Coerce a semver when calculating updatables.
Coerce a semver when calculating updatables.
Coerce a semver when calculating updatables.
[-]IDE2 incorrectly shows `PubSubClient@2.8.0` as updatable after an `Install All` automatic update[/-][+]IDE\ incorrectly shows `PubSubClient@2.8.0` as updatable after an `Install All` automatic update[/+][-]IDE\ incorrectly shows `PubSubClient@2.8.0` as updatable after an `Install All` automatic update[/-][+]IDE incorrectly shows `PubSubClient@2.8.0` as updatable after an `Install All` automatic update[/+]