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
Not really a massive issue, but I'm not sure I can install RPi.GPIO on macOS, so I can't run the tests - might be possible to abstract that out so that I could work on the application code (like input error handling) without having to actually be on a RPi...
The text was updated successfully, but these errors were encountered:
Sorry I'm only just getting back to you on these issues, thanks for raising them 👍
Yeh, seems like RPI.GPIO only compiles on Linux systems. None of the GPIO functionality is used in the tests, so for example, things run fine for me on Ubuntu 20.04. I don't know of a good way to skip certain dependencies in requirements.txt depending on the environment. Maybe there is one though? A relatively simple solution would be to run the tests in a Docker container.
ah cool - as GPIO is not needed for the tests maybe the simplest way is a separate requirements-macos-test.txt file? seems like you could make it more sophisticated with conditional includes and/or abstracting out common requirements & then including them - but for these purposes I would probably just cut-and-paste...?
Not really a massive issue, but I'm not sure I can install
RPi.GPIO
on macOS, so I can't run the tests - might be possible to abstract that out so that I could work on the application code (like input error handling) without having to actually be on a RPi...The text was updated successfully, but these errors were encountered: