Closed FoamyGuy closed 9 months ago
The absence of the mpy files seems to be due to a bug in the new action thing, where packages without the adafruit_ prefix are ignored. I'll open an issue for that.
_EDIT: maybe it's not a bug in the action, but a missing parameter in this repo's action. (see https://github.com/adafruit/Adafruit_CircuitPython_asyncio/pull/41 )_
However, I believe the fix here is simply to disable the workflow that creates those zips.
This library should not be used on devices, its absence MUST trigger the except
clause in libraries that try to import it.
In fact it can't be run in CP (because of requirements) or even compiled with mpy-cross:
❯ mpy-cross circuitpython_typing/io.py
Traceback (most recent call last):
File "circuitpython_typing/io.py", line 43
SyntaxError: invalid syntax
I can add a disabling input for the workflow, I agree that makes the most sense. It should only disable .mpy
zip(s), right?
Alright, ready to make a PR for this!
The assets on the release page that are supposed to contain mpy files for the library don't actually contain library files. Instead they contain only the examples:
This library is not typically used on devices so it's unlikely many people would be looking for it there, I guess that is why it has gone undiscovered.
I ran across a need to put it on a device to check something and noticed I'm unable to install it circup or grab the mpy files manually from the release assets.