Skip to content

Switch PlatformIO deps from PIO Registry to tagged GitHub zips#10142

Merged
jp-bennett merged 1 commit into
meshtastic:masterfrom
vidplace7:deps-from-github
Apr 12, 2026
Merged

Switch PlatformIO deps from PIO Registry to tagged GitHub zips#10142
jp-bennett merged 1 commit into
meshtastic:masterfrom
vidplace7:deps-from-github

Conversation

@vidplace7

@vidplace7 vidplace7 commented Apr 12, 2026

Copy link
Copy Markdown
Member

Switch all dependencies defined in the base platformio.ini from PlatformIO Registry sources to GitHub tag sources.
This does not include any library upgrades. Simply a source change.

Should help further with PlatformIO Registry ratelimiting issues.

This should be backmerged to develop ASAFP after merge (the build containers are cache based on the state of master)

@vidplace7 vidplace7 added github_actions Pull requests that update GitHub Actions code bugfix Pull request that fixes bugs labels Apr 12, 2026
@vidplace7 vidplace7 force-pushed the deps-from-github branch 5 times, most recently from ac4a7ee to 63bedd2 Compare April 12, 2026 20:47
@vidplace7 vidplace7 marked this pull request as draft April 12, 2026 20:49
@vidplace7 vidplace7 force-pushed the deps-from-github branch 2 times, most recently from 2c65d75 to 1134075 Compare April 12, 2026 21:03
Comment thread platformio.ini
Comment on lines +138 to +143
# renovate: datasource=github-tags depName=Adafruit GFX packageName=adafruit/Adafruit-GFX-Library
https://github.com/adafruit/Adafruit-GFX-Library/archive/refs/tags/1.12.6.zip
# renovate: datasource=github-tags depName=NeoPixel packageName=adafruit/Adafruit_NeoPixel
https://github.com/adafruit/Adafruit_NeoPixel/archive/refs/tags/1.15.4.zip
# renovate: datasource=github-tags depName=Adafruit SSD1306 packageName=adafruit/Adafruit_SSD1306
https://github.com/adafruit/Adafruit_SSD1306/archive/refs/tags/2.5.16.zip

@vidplace7 vidplace7 Apr 12, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 3 "new" dependencies were being unconditionally added by other Adafruit libs.

  • Adafruit-GFX-Library
  • Adafruit_NeoPixel
  • Adafruit_SSD1306

Adding them here explicitly forces them to use github as the source, and makes our builds more reproducible.

Example:
https://github.com/adafruit/Adafruit_INA219/blob/2.1.0/library.properties#L10

Explicit dependencies on NeoPixel have been removed in other variants since they're redundant.

@vidplace7 vidplace7 marked this pull request as ready for review April 12, 2026 21:28
@jp-bennett jp-bennett merged commit 0f2d224 into meshtastic:master Apr 12, 2026
151 of 152 checks passed
NomDeTom pushed a commit to NomDeTom/MeshtasticFirmware that referenced this pull request Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix Pull request that fixes bugs github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants