Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.10 #6

Open
elmuz opened this issue Oct 16, 2022 · 4 comments
Open

Python 3.10 #6

elmuz opened this issue Oct 16, 2022 · 4 comments

Comments

@elmuz
Copy link

elmuz commented Oct 16, 2022

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
Copy link
Owner

xe5700 commented Oct 17, 2022

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

@elmuz
Copy link
Author

elmuz commented Oct 17, 2022

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

Is this an approach you like?

@xe5700
Copy link
Owner

xe5700 commented Oct 18, 2022

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

@elmuz
Copy link
Author

elmuz commented Oct 18, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants