openaps / oref0

oref0: The open reference implementation of the OpenAPS reference design.
http://www.OpenAPS.org
MIT License
430 stars 396 forks source link

Add support for Bullseye (address Python3 default/no python2 pip) #1427

Closed dcacklam closed 2 years ago

dcacklam commented 2 years ago

This is being proposed for merge to master because 'master' is where new-installs (even of dev branch) start.

The changes are as follows: 1) Wait to install pip until in 'openaps-packages.sh' 2) When in openaps-packages.sh, check for 'bullseye' OS version, and if found do the following: change the default python to python2, then manually install pip & use it to install all subsequent python packages (a/o APT which will be installing py3 versions of them).

A similar, parallels pull will be proposed to address the same issues in DEV, plus to enable aarch64 based GO in the event that someone is running raspbian-bullseye64.

dcacklam commented 2 years ago

Errors included. Will resubmit