xe5700 / kvmd-armbian

KVMD For Armbian Install Script
GNU General Public License v2.0
176 stars 46 forks source link

Python 3.10 #6

Open elmuz opened 1 year ago

elmuz commented 1 year ago

Not sure if anyone already mentioned this, but today's python scripts require Python 3.10 (there's some specific syntax in the typing hints). Debian Bullseye has Python 3.9 in APT repositories. That's in fact the version pulled from the install.sh script (same story for all the python packages pulled from APT).

xe5700 commented 1 year ago

I will add a option to choose kvmd version. New version of kvmd required python3.10.

elmuz commented 1 year ago

What about building Python from sources? Then pip-installing all the requirements.

Is this an approach you like?

xe5700 commented 1 year ago

Build python from sources needs build many dependenties for python, it will cost lots of time to build for arm board.

elmuz commented 1 year ago

I usually build it from sources it in my containers. I can give you a snippet if you want. But I agree about required time. Maybe another solution can be looking for a PPA which serves python-3.10. But at least other deps should be pip-installed so that they are 3.10-compatible.