automation-hat icon indicating copy to clipboard operation
automation-hat copied to clipboard

Bookworm/Pi5 Compatibility: Upgrade to latest boilerplate, port to gpiod

Open Gadgetoid opened this issue 1 year ago • 1 comments

Testing

If you're a Bookworm / Pi 5 user running into virtual environment issues, you can try this library like so:

git clone https://github.com/pimoroni/automation-hat -b repackage
cd automation-hat
./install.sh --unstable

The ./install.sh script will create a pimoroni virtual environment that's shared between our products. (or use your existing venv if you've already activated one.)

For the reasons behind these changes and other information, see:

  • https://github.com/pimoroni/boilerplate-python/pull/13
  • https://github.com/pimoroni/boilerplate-python/issues/16
  • https://pimoroni.github.io/venv-python/

Tested

  • [x] Lights
  • [x] Relays
  • [x] Outputs
  • [x] Inputs
  • [x] ADC - Measured against 3.3v and 5v on the board

Gadgetoid avatar Feb 15 '24 15:02 Gadgetoid

Pull Request Test Coverage Report for Build 8877213793

Details

  • 14 of 23 (60.87%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+4.8%) to 66.76%

Changes Missing Coverage Covered Lines Changed/Added Lines %
automationhat/init.py 14 23 60.87%
<!-- Total: 14 23
Files with Coverage Reduction New Missed Lines %
automationhat/init.py 1 65.45%
<!-- Total: 1
Totals Coverage Status
Change from base Build 1812685808: 4.8%
Covered Lines: 239
Relevant Lines: 358

💛 - Coveralls

coveralls avatar Feb 16 '24 00:02 coveralls