Closed esunar closed 1 year ago
(by jfguedez) Confirmed with the current snap. The python package works properly, so the issue seems to be only the snap packaging.
$ snap list juju-lint Name Version Rev Tracking Publisher Notes juju-lint 1.0.2.dev23+ge8b686b 30 latest/stable stub classic
$ juju-lint --help
Traceback (most recent call last):
File "/home/jguedez/.pyenv/versions/3.7.6/bin/juju-lint", line 33, in
$ snap list juju-lint Name Version Rev Tracking Publisher Notes juju-lint 1.1.dev13+gb8b40d1 20 latest/stable stub classic
$ juju-lint --help Traceback (most recent call last): File "/snap/juju-lint/20/bin/juju-lint", line 33, in
sys.exit(load_entry_point('jujulint==1.1.dev13+gb8b40d1', 'console_scripts', 'juju-lint')())
File "/snap/juju-lint/20/bin/juju-lint", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/usr/lib/python3.8/importlib/metadata.py", line 504, in distribution
return Distribution.from_name(distribution_name)
File "/usr/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: jujulint
Imported from Launchpad using lp2gh.
date created: 2020-09-01T00:46:20Z
owner: nobuto
assignee: None
the launchpad url