PyPi Library Name Resolution Differes from Learn Bundler
FoamyGuy opened this issue · 0 comments
This was noted originally here: adafruit/Adafruit_CircuitPython_Requests#157
With the current logic inside of circup this pypi name "Adafruit-Circuitpython-ConnectionManager" gets converted to this import name "adafruit_connectionmanager" which is is missing an underscore between connection and manager which results in circup raising this error:
WARNING:
adafruit_connectionmanager is not a known CircuitPython library.
The learn system bundler does seem capable of handling the current naming. This is a project bundle link for a pyportal project: https://learn.adafruit.com/elements/3055357/download?type=zip and it does include adafruit_connection_manager.mpy in the downloaded zip.
It would be good if circup can have another step in it's logic to convert the names so that it can correctly find this library in the same way that the bundler has.