dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
686 stars 105 forks source link

Python update to 3.12 breaks waydroid python-gbinder #636

Closed dostoievsky closed 1 month ago

dostoievsky commented 1 month ago

Device info (please complete the following information)

Describe the bug Python has been updated to 3.12 and that breaks waydroid gbinder.

$ python --version
Python 3.12.3
]$ pacman -Ql python-gbinder
python-gbinder /usr/
python-gbinder /usr/lib/
python-gbinder /usr/lib/python3.11/
python-gbinder /usr/lib/python3.11/site-packages/
python-gbinder /usr/lib/python3.11/site-packages/gbinder.cpython-311-aarch64-linux-gnu.so
python-gbinder /usr/lib/python3.11/site-packages/gbinder_python-1.1.2-py3.11.egg-info/
python-gbinder /usr/lib/python3.11/site-packages/gbinder_python-1.1.2-py3.11.egg-info/PKG-INFO
python-gbinder /usr/lib/python3.11/site-packages/gbinder_python-1.1.2-py3.11.egg-info/SOURCES.txt
python-gbinder /usr/lib/python3.11/site-packages/gbinder_python-1.1.2-py3.11.egg-info/dependency_links.txt
python-gbinder /usr/lib/python3.11/site-packages/gbinder_python-1.1.2-py3.11.egg-info/top_level.txt

To Reproduce Update your system with pacman/yay -Syu, update python to 3.12 try to run any waydroid command.

Expected behavior Waydroid should run.

Before submitting a bug report, please be sure that you have done the following:

dostoievsky commented 1 month ago

I just cloned this repo, inited the submodules, and builded the package myself. This seemed to fixed the issue for me, as now the package are pointing out to being from py3.12:

$ pacman -Ql python-gbinder
python-gbinder /usr/
python-gbinder /usr/lib/
python-gbinder /usr/lib/python3.12/
python-gbinder /usr/lib/python3.12/site-packages/
python-gbinder /usr/lib/python3.12/site-packages/gbinder.cpython-312-aarch64-linux-gnu.so
python-gbinder /usr/lib/python3.12/site-packages/gbinder_python-1.1.2-py3.12.egg-info/
python-gbinder /usr/lib/python3.12/site-packages/gbinder_python-1.1.2-py3.12.egg-info/PKG-INFO
python-gbinder /usr/lib/python3.12/site-packages/gbinder_python-1.1.2-py3.12.egg-info/SOURCES.txt
python-gbinder /usr/lib/python3.12/site-packages/gbinder_python-1.1.2-py3.12.egg-info/dependency_links.txt
python-gbinder /usr/lib/python3.12/site-packages/gbinder_python-1.1.2-py3.12.egg-info/top_level.txt

And waydroid session start dosent complain about gbinder anymore. The UI is showing correctly!

dostoievsky commented 1 month ago

What would be necessary to update that over upstream? How could we help people at https://aur.archlinux.org/packages/python-gbinder ?

dostoievsky commented 1 month ago

I am closing this issue, as seens that is resolved by just rebuilding the package with the default python. I dont know why my yay failed to doing so, even with the rebuild flag, but this is not related with this group anyway.