I built this last night and again this morning after protonag republished the tag for 4.1.0. The python app won't run because there's an import problem:
File "/usr/lib/python3.11/site-packages/proton/__init__.py", line 1, in <module>
from .api import Session # noqa
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/proton/api.py", line 29, in <module>
from .metadata import MetadataBackend
File "/usr/lib/python3.11/site-packages/proton/metadata/__init__.py", line 1, in <module>
from . import textfile_metadata # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/proton/metadata/textfile_metadata.py", line 6, in <module>
from ._base import MetadataBackend
File "/usr/lib/python3.11/site-packages/proton/metadata/_base.py", line 2, in <module>
from ..utils import SubclassesMixin
ImportError: cannot import name 'SubclassesMixin' from 'proton.utils' (/usr/lib/python3.11/site-packages/proton/utils/__init__.py)
I haven't figured it out yet.
Pinned Comments
stickyhands commented on 2024-02-09 23:53 (UTC) (edited on 2024-02-09 23:53 (UTC) by stickyhands)
@shoryuken thank you, that worked!
@ali.molaei I'm not sure of technicalities of dependencies, but if you cannot force
network-manager-applet
as a dependency I think you should at least pin some comment explaining that getting it might fix issues. As it stands I accidentally found the solution at other package page https://aur.archlinux.org/packages/protonvpn-cli#comment-951908, and only since it's the newest one.