Clean old site-packages

I just noticed that after upgrading from python 3.8 to python 3.9 all the libraries in home assistant were duplicated:

user@pc:~$ du --max-depth=1 /home/homeassistant/.homeassistant/deps/lib/* -h
378M    /home/homeassistant/.homeassistant/deps/lib/python3.8/site-packages
378M    /home/homeassistant/.homeassistant/deps/lib/python3.8
339M    /home/homeassistant/.homeassistant/deps/lib/python3.9/site-packages
339M    /home/homeassistant/.homeassistant/deps/lib/python3.9

I have Home Assistant Core

How can I let HA clean the old site-packages? I’d prefer to avoid manually removing the old folder to avoid breaking something, unless it is safe to do so (e.g. HA will download again the missing packets, or for sure it is not using the files in the 3.8 folder)