-
Notifications
You must be signed in to change notification settings - Fork 19
Add adafruit_esp32spi as dependency #75
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
Conversation
PortalBase is used in adafruit_magtag, adafruit_funhouse, etc. ESP32SPI is only a dependency for a submodule that is not used on these boards. Why is this failing all of a sudden, when it used not to ? |
Good question, both are using the same |
I think it was always needed for the docs (or to be mock imported), but it looks like previous CI runs were installing it in what looks like a dependency of a dependency. Specifically it looks like the AdafruitIO library which you recently patched (5.6.8 --> 5.6.9) was masking this as a missing dependency. So because it was being installed there, it was available here for use as well. Now that it's been patched, it's a missing dependency for this one. |
Yeah, this should be added. I'm not sure why/how it went under the radar this long. |
@makermelissa Should I merge this then? |
But adding ESP32SPI as a dependency will make it installed on every Magtag and FunHouse project using the project bundler or using circup. It should rather be a dependency in the portal libraries that actually require it, like PyPortal. I believe it didn't happen before, because the dependency in adafruit_io was spelled with underscores: adafruit_circuitpython_esp32spi, which the bundler apparently does not recognize. Also there is the case of having it in setup.py (so installed on PC) but not in requirements.txt (used for boards). |
Hmm, I didn't see this before merging. Those are some good points. Perhaps we should just have it in autodoc_mock_imports. I can either revert this or we can just do it all in a new PR. |
Looking at the CI of the failed builds and the previous one in main that succeeded, the underscores weren't a probably for pip installing from Unfortunately due to the way the CI handles installs (and the way |
Ok, want to submit another PR? |
Sure thing, I'll do that now. |
Updating https://github.com/adafruit/Adafruit_CircuitPython_PortalBase to 1.13.5 from 1.13.4: > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#74 from timwoj/main > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#76 from tekktrik/main > Merge pull request adafruit/Adafruit_CircuitPython_PortalBase#75 from tekktrik/fix/add-esp32spi-req
Adds the missing
adafruit_esp32spi
dependency, which is what is preventing #74 from passing CI as well.