Skip to content

Change requirements to pypi format, remove ESP32SPI requirement #93

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

Merged
merged 2 commits into from
Jul 13, 2022

Conversation

Neradoc
Copy link
Contributor

@Neradoc Neradoc commented Jul 13, 2022

The library does not need ESP32SPI, it works on native wifi too.
The format used for the minimqtt requirement makes it listed in "external_dependencies" instead of "dependencies" in the bundle's json file. It might be what is tripping the project bundler for the learn guides using adafruit_io, or indirectly via portalbase. At least that's my assumption.

adafruit_minimqtt is missing from the Project Bundle there for example:

Copy link
Member

@tekktrik tekktrik left a comment

Choose a reason for hiding this comment

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

One of the things that will happen for the move to pyproect.toml is that optional dependencies used in optional functionalities and examples will get moved to a new optional_requirements.txt so that they can be pip installed using:

pip install libname[optional]

Since the ESP32SPI library gets used in examples, can you add it to a new file named optional_requirements.txt in preparation for that? Should be harmless in the meantime. But removing it from the other two files is great!

Other than that, I'm not sure either if this will fix the issue you mentioned, but fixing the names to be closer to the PyPI name is a good thing regardless!

@Neradoc Neradoc requested a review from tekktrik July 13, 2022 16:47
@tekktrik
Copy link
Member

Thanks!

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

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

Thanks for catching this!

@tekktrik tekktrik merged commit 500f76f into adafruit:main Jul 13, 2022
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Jul 14, 2022
Updating https://github.com/adafruit/Adafruit_CircuitPython_SHT31D to 2.3.14 from 2.3.13:
  > Merge pull request adafruit/Adafruit_CircuitPython_SHT31D#29 from luizvital/main

Updating https://github.com/adafruit/Adafruit_CircuitPython_AdafruitIO to 5.6.9 from 5.6.8:
  > Merge pull request adafruit/Adafruit_CircuitPython_AdafruitIO#93 from Neradoc/change-requirements

Updating https://github.com/adafruit/Adafruit_CircuitPython_Bundle/circuitpython_library_list.md to NA from NA:
  > Added the following libraries: Adafruit_CircuitPython_MMC56x3, Adafruit_CircuitPython_PCF8574
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.

3 participants