Just update my system and python 3 was updated. This will break bottles if you are using it from the AUR.
Using terminal to start bottles results in the following error. I have filed a bug report with bottles, but I’m not hopeful as they want to focus on flatpak crap and the heck with anyone who uses native install. If anyone can help me fix this I would appreciate it, but I’m afraid i may be stuck waiting on the dev to respond.
Traceback (most recent call last):
File "/usr/bin/bottles", line 49, in <module>
from bottles.frontend import main
File "/usr/share/bottles/bottles/frontend/main.py", line 36, in <module>
from bottles.frontend.windows.main_window import MainWindow
File "/usr/share/bottles/bottles/frontend/windows/main_window.py", line 30, in <module>
from bottles.backend.managers.manager import Manager
File "/usr/share/bottles/bottles/backend/managers/manager.py", line 31, in <module>
import pathvalidate
ModuleNotFoundError: No module named 'pathvalidate'
Yesterdays python3 update to 3.13 broke the gramps package as well.
Downgrading the following packages to the previous version fixed it for me.
python (3.12.7-1 → 3.13.1-1)
python-gobject (3.50.0-1 → 3.50.0-2)
python-cairo (1.27.0-1 → 1.27.0-2)
gramps (2:5.2.3-1 → 2:5.2.3-2)
There is a discussion on the bottles page in the AUR: https://aur.archlinux.org/packages/bottles
Uninstall the previous bottles (and its dependencies) and build the package from the AUR manually. It will build against the latest python updated packages and should work. You may also need to rebuild these dependency packages as well: vkbasalt-cli, python-fvs, patool, icoextract, and python-pathvalidate. All this can be done by downloading each of the PKGBUILD files for the various packages and running makepkg -s -i on each PKGBUILD file, starting with the dependencies first.
Removing the dependencies may temporarily cause other programs not to function, but each of the dependencies have very few dependent packages other than bottles. You can remove the dependencies, then remove bottles. Once you rebuild all the packages and install them, all their functionality will be present again, so any breakage would only be temporary.
I removed with pacman -Rs but reinstalling got error with python-pathvalidate. Delete this folder in ~/.cache/yay/ and you’re good to go. Maintainer updated sha but didn’t bump pkgrel which interferes with the helper. https://aur.archlinux.org/packages/python-pathvalidate triggered LOL