Python 3.13 appears to break this. Error message:
Traceback (most recent call last):
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 407, in from_name
return next(iter(cls.discover(name=name)))
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/protonvpn-app", line 33, in <module>
sys.exit(load_entry_point('proton-vpn-gtk-app==4.8.1', 'console_scripts', 'protonvpn-app')())
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/protonvpn-app", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 960, in distribution
return Distribution.from_name(distribution_name)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/importlib/metadata/__init__.py", line 409, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for proton-vpn-gtk-app
Pinned Comments
ali.molaei commented on 2024-11-14 16:25 (UTC)
I've added
https://aur.archlinux.org/packages/python-proton-vpn-local-agent-bin
as optional dependency, I worked onhttps://aur.archlinux.org/packages/python-proton-vpn-local-agent
a bit to build it from source, but I have a weird issue with it so I'm not depending this package on that by default for now.For those who know a bit about rust packaging, the issue with building from source for me is: - If I copy the build
so
file usingcp
command it works fine - If I package it (usinginstall
in PKGBUILD) and put the file there by installing the package using pacman, It doesn't work! although the files have the same checksum.I have no idea why is that and am open to any help on https://aur.archlinux.org/packages/python-proton-vpn-local-agent package
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.