kvmd-armbian icon indicating copy to clipboard operation
kvmd-armbian copied to clipboard

Python 3.10

Open elmuz opened this issue 2 years ago • 4 comments

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).

elmuz avatar Oct 16 '22 21:10 elmuz

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

xe5700 avatar Oct 17 '22 07:10 xe5700

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

Is this an approach you like?

elmuz avatar Oct 17 '22 12:10 elmuz

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

xe5700 avatar Oct 18 '22 03:10 xe5700

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.

elmuz avatar Oct 18 '22 22:10 elmuz