Skip to content

IDE wants to install already installed dependencies #2614

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

Closed
3 tasks done
ropg opened this issue Jan 8, 2025 · 2 comments
Closed
3 tasks done

IDE wants to install already installed dependencies #2614

ropg opened this issue Jan 8, 2025 · 2 comments
Assignees
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project

Comments

@ropg
Copy link

ropg commented Jan 8, 2025

Describe the problem

I wrote a library called LVGL_CYD, it is in the index. It has in its library.properties a depends line that reads

depends=lvgl,TFT_eSPI,spi_lcd_read

The first two being what you think they are, the last one another small library I wrote, also in the index. When I have the dependencies already installed, the IDE nonetheless prompts:

Image

When I hit "Install All", the output is:

Image

To reproduce

  • Install LVGL_CYD and dependencies
  • Uninstall LVGL_CYD
  • Install LVGL_CYD

Expected behavior

When dependencies already installed, just install the library and not prompt to install the dependencies.

Arduino IDE version

2.3.4

Operating system

macOS

Operating system version

MacOS Sequoia 15.2 (but also occurs on Windows say library users)

Additional context

I might well be doing something subtly wrong in that library, but I don't see it and cannot explain this behavior by the IDE.

Same problem on 2.3.5-nightly-20241212, which I found here. Is that the official download link for nightly builds for Apple silicon?

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
@ropg ropg added the type: imperfection Perceived defect in any part of project label Jan 8, 2025
@ropg ropg changed the title IDE Wants to install already installed dependencies IDE wants to install already installed dependencies Jan 8, 2025
@per1234 per1234 self-assigned this Jan 8, 2025
@per1234 per1234 added the topic: code Related to content of the project itself label Jan 8, 2025
@per1234
Copy link
Contributor

per1234 commented Jan 8, 2025

Hi @ropg. Thanks for taking the time to submit an issue.

I see we have another report about this at #721.

It is best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.

@per1234 per1234 closed this as completed Jan 8, 2025
@ropg
Copy link
Author

ropg commented Jan 8, 2025

Understood. Hope it gets fixed at some point, given that it's been around for a while. For now I'll just tell my users to expect it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants