I see lots of threads with this sort of question.
Is there a good guide on how to migrate from venv to Docker or even a migration script? If so (and I think there is unanimous agreement that docker is a better option), then we should point people there, as it solves the problem for next year too. Maybe even in the release notes.
My first experience of this sort of thing in the past was more or less:
-
Python:
- Install the latest version!
- Yes, I can compile from source - let’s do this!
- Wow, this is slow on an RPi1. Now it’s not happy about something to do with bigint.
- Oh dear, now apt complains a lot when I do anything.
- Why have I still got python 2.7? Maybe uninstalling that will help.
- Now everything is completely broken. Wipe SD card and start again.
- Wish I’d spent the last 2h with my kids.
- Be more cautious next time and only install from source when I need to.
-
Docker!
- Sounds great! Whales are awesome!
- Download and install from docker.com! Oh no, there’s also docker-io and docker-ce? Did I pick the wrong one?
- Docker one-liners work great, but where are my files, what do I need to back up and how do I make it run automatically at startup?
- My USB devices and GPIO aren’t working any more.
- Help!
Hopefully someone can reassure me that this sort of thing doesn’t just happen to me!
Don’t get me wrong, I enjoy the journey. But there are a lot of hurdles that could be avoided.
So how do we make the experience friendly and awesome for the approx 13% of HA users who will face this Christmas present at the end of a tough year
?