Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823224 - net-vpn/protonvpn-cli-2.2.11 missing dependency
Summary: net-vpn/protonvpn-cli-2.2.11 missing dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Amel Hodzic
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-11-12 06:44 UTC by gentoo
Modified: 2021-12-24 04:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2021-11-12 06:44:01 UTC
The update to protonvpn cli is missing depeendency dev-python/distro. Installing it solves the below error. Please correct the ebuild.


Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.9/protonvpn", line 33, in <module>
    sys.exit(load_entry_point('protonvpn-cli==2.2.11', 'console_scripts', 'protonvpn')())
  File "/usr/lib/python-exec/python3.9/protonvpn", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.9/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/lib/python3.9/site-packages/protonvpn_cli/cli.py", line 59, in <module>
    from . import connection
  File "/usr/lib/python3.9/site-packages/protonvpn_cli/connection.py", line 16, in <module>
    from .utils import (
  File "/usr/lib/python3.9/site-packages/protonvpn_cli/utils.py", line 22, in <module>
    import distro
ModuleNotFoundError: No module named 'distro'
Comment 1 Amel Hodzic 2021-12-23 22:08:42 UTC
Yikes! Sorry about that.  Thanks for catching it.  I will push a revbump.
Comment 2 Amel Hodzic 2021-12-23 22:29:12 UTC
Actually, I only made the change to the list of RDEPS in the ebuild, as I'm not sure that a revbump is proper here (based on my understanding of https://devmanual.gentoo.org/general-concepts/ebuild-revisions/index.html ).

Thanks again.
Comment 3 Amel Hodzic 2021-12-23 22:31:36 UTC
Might need a revbump after all.  Awaiting PR review; sorry for the spam here.
Comment 4 Larry the Git Cow gentoo-dev 2021-12-24 04:38:06 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d3011325a6b4974ede57c5a5f48cc6f2a25ec49

commit 6d3011325a6b4974ede57c5a5f48cc6f2a25ec49
Author:     Amel Hodzic <ilmostro7@gmail.com>
AuthorDate: 2021-12-23 22:19:50 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-24 04:37:52 +0000

    net-vpn/protonvpn-cli: missing dep on dev-python/distro
    
    Closes: https://bugs.gentoo.org/823224
    Signed-off-by: Amel Hodzic <ilmostro7@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{protonvpn-cli-2.2.11.ebuild => protonvpn-cli-2.2.11-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)