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

Remove unavailable items from depends field of library.properties #9

Merged
merged 1 commit into from
Aug 10, 2022
Merged

Remove unavailable items from depends field of library.properties #9

merged 1 commit into from
Aug 10, 2022

Conversation

per1234
Copy link
Contributor

@per1234 per1234 commented Aug 10, 2022

The depends field of the library.properties metadata file specifies the dependencies that should be installed along with
the library by the Arduino Library Manager.

This field must contain only the names of libraries that are available for installation via Library Manager.

The presence of any items which are not in Library Manager causes installation of the library to fail:

The removed dependencies are "platform bundled libraries", which are included with the installation of each Arduino boards platform, and thus are managed by Arduino Boards Manager, not Library Manager. For this reason, there is no reason for these items to be listed in the depends field.


Originally reported at arduino/arduino-lint#336

The depends field of the library.properties metadata file specifies the dependencies that should be installed along with
the library by the Arduino Library Manager.

This field must contain only the names of libraries that are available for installation via Library Manager.

The presence of any items which are not in Library Manager causes installation of the library to fail:

- Arduino IDE 1.x: "no protocol:" error
- Arduino IDE 2.x: fails silently
- Arduino CLI: "No valid dependencies solution found" error

The removed dependencies are "platform bundled libraries", which are included with the installation of each Arduino boards platform, and thus are managed by Arduino Boards Manager, not Library Manager. For this reason, there is no reason for these items to be listed in the depends field.
@iabdalkader iabdalkader requested a review from kwagyeman August 10, 2022 05:38
@kwagyeman kwagyeman merged commit 8eb60b7 into openmv:master Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants