adafruit / Adafruit_CircuitPython_Requests

Requests-like interface for web interfacing
MIT License
51 stars 36 forks source link

Now requires `adafruit_connection_manager`. #154

Closed bill88t closed 4 months ago

bill88t commented 4 months ago
>>> import adafruit_requests
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "adafruit_requests", line 1, in <module>
ImportError: no module named 'adafruit_connection_manager'

This breaks examples and existing code. This should either be added in the README or made optional by try-except'ing the import.

tannewt commented 4 months ago

Yup, this is known and documented with the 3.0.0 release: https://github.com/adafruit/Adafruit_CircuitPython_Requests/releases/tag/3.0.0

dhalbert commented 4 months ago

adafruit_connection_manager is used internally by adafruit_requests, so it does not change user code.

I checked a typical simple WiFi example on a Learn Guide, and adafruit_connection_manager is now included in the Project Bundle download.