Python 3.10 is now in [core]
.
You may need to rebuild any Python packages you've installed from the AUR. To get a list of them, you can run:
pacman -Qoq /usr/lib/python3.9
And to rebuild them all at once with an AUR helper such as yay, you can do:
yay -S $(pacman -Qoq /usr/lib/python3.9) --answerclean All
But if any of the packages don't work with Python 3.10 yet, this might fail halfway through and you'll have to do rebuild the remaining ones one or a few at a time.
An alternative to this oneliner could be
for pkg in $(pacman -Qoq /usr/lib/python3.9); do yay -S $pkg --answerclean All; done
In which case yay
will rebuild one package after the next from the list you got from quering pacman
.
For paru
users you can pretty much do the same using...
pacman -Qoq /usr/lib/python3.9 | pacman -Qmq - | paru -S --rebuild -
Source:
- This post on reddit > PSA: Python 3.10 is in [core]. Rebuild your AUR packages.