Try to upgrade Home Assistant Core in Debian12, still 2024.3.3

I have a Home Assistant Core installed on a Debian 12 (inside a VM).
System is updated.
But Home Assistant upgrade don’t work, still 2024.3.3.
What i’m missing? Thx.

Below commands about “apt update”, python version etc.

root@memole-ha:~# cat /etc/issue
Debian GNU/Linux 12 \n \l
root@memole-ha:~# apt update
Hit:1 http://security.debian.org/debian-security bookworm-security InRelease
Hit:2 http://deb.debian.org/debian bookworm InRelease
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease
Hit:4 https://packages.sury.org/php bullseye InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'Debian bookworm' changed its 'non-free component' value from 'non-free' to 'non-free non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
root@memole-ha:~# sudo -u homeassistant -H -s
homeassistant@memole-ha:/root$ source /srv/homeassistant/bin/activate
(homeassistant) homeassistant@memole-ha:/root$ hass --version
2024.3.3
(homeassistant) homeassistant@memole-ha:/root$ pip index versions homeassistant
homeassistant (2024.3.3)
Available versions: 2024.3.3, 2024.3.2, 2024.3.1, [... omissis, a lots more]
  INSTALLED: 2024.3.3
  LATEST:    2024.3.3
(homeassistant) homeassistant@memole-ha:/root$ python3 --version
Python 3.11.2
(homeassistant) homeassistant@memole-ha:/root$ pip3 install --upgrade homeassistant
Requirement already satisfied: homeassistant in /srv/homeassistant/lib/python3.11/site-packages (2024.3.3)
(and a lots of other 'Requirement already satisfied')

This ^

For current HA, 3.13.2 is required.

3 Likes

As Francis said, you need Python 3.13.x to install latest version of Home Assistant.
Unfortunatley, Python 3.13 is not available via apt in Debian 12, you’ll need to compile it yourself.
I’ll advertise for my solution but feel free to do your own way, I’m not forcing you to use my link :smiley:

Of course, as this post is old, select Python 3.13.2 or higher

1 Like