You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm mandating the spidev module on Linux only because linting the lib when developing requires that the development changes be installed (spidev can't be installed on Windows). Granted, I still have to ignore warnings about import spidev in my lib's examples, but that's what hardware testing is for.
Feel free to close this issue if there are no foreseen consequences with circuitpython.org.
The text was updated successfully, but these errors were encountered:
I have a CirPy lib that uses
spidev
on Linux (yields much better performance than pureio). I have listed spidev in the lib's requirements.txt like soThe
; sys_platform == 'linux'
is advice taken from pip's docs, but this makes the bundle's JSON external_dependencies look like so:I'm mandating the spidev module on Linux only because linting the lib when developing requires that the development changes be installed (spidev can't be installed on Windows). Granted, I still have to ignore warnings about
import spidev
in my lib's examples, but that's what hardware testing is for.Feel free to close this issue if there are no foreseen consequences with circuitpython.org.
The text was updated successfully, but these errors were encountered: