[Stable Update] 2024-05-13 - Kernels, Plasma 6, Gnome 46, LxQT 2.0, Nvidia, Pacman

I’m a little bit confused about the multiple information concerning AUR and Python 3.12. The first post says in ‘Python 3.12 info’ you should

pacman -Qoq /usr/lib/python3.11/
pamac build $(pacman -Qoq /usr/lib/python3.11)
checkrebuild

In Post #2Python interpreter upgrade’ links to [HowTo] Python upgrade: reinstall AUR and pip packages where it says:

OLD='11'
pip freeze --user > OLD_PIP_pkgs.txt
pacman -Qmq $(pacman -Qoq /usr/lib/python3.${OLD}/site-packages) > OLD_AUR_pkgs.txt

pacman -Qoq /usr/lib/python3.11/ in Post #1 results in 210 files while pacman -Qmq $(pacman -Qoq /usr/lib/python3.${OLD}/site-packages) returns only on AUR package.

What’s the right thing to do?