[Python-apps-team] Bug#919793: prospector won't run at all
VA
bugs at indigo.re
Sat Mar 16 16:16:03 GMT 2019
found 919793 0.12.7-2.1
thanks
prospector is still completely unusable in latest package, but with
different errors.
Without pyroma installed:
Traceback (most recent call last):
File "/usr/bin/prospector", line 11, in <module>
load_entry_point('prospector==0.12.7', 'console_scripts',
'console_script')()
File "/usr/share/prospector/prospector/run.py", line 165, in main
prospector.execute()
File "/usr/share/prospector/prospector/run.py", line 53, in execute
for tool in self.config.get_tools(found_files):
File "/usr/share/prospector/prospector/config/__init__.py", line 45,
in get_tools
config_result = tool.configure(self, found_files)
File "/usr/share/prospector/prospector/tools/pylint/__init__.py",
line 172, in configure
linter.reset_options()
File "/usr/share/prospector/prospector/tools/pylint/linter.py", line
30, in reset_options
OptionsManagerMixIn.__init__(self, usage=PyLinter.__doc__, quiet=True)
TypeError: __init__() got an unexpected keyword argument 'quiet'
And with pyroma installed:
Traceback (most recent call last):
File "/usr/bin/prospector", line 11, in <module>
load_entry_point('prospector==0.12.7', 'console_scripts',
'console_script')()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
489, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2793, in load_entry_point
return ep.load()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2411, in load
return self.resolve()
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line
2417, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/share/prospector/prospector/run.py", line 8, in <module>
from prospector import blender, postfilter, tools
File "/usr/share/prospector/prospector/tools/__init__.py", line 48,
in <module>
'pyroma': _optional_tool('pyroma'),
File "/usr/share/prospector/prospector/tools/__init__.py", line 29,
in _optional_tool
tool_package = __import__(package_name, fromlist=[tool_class_name])
File "/usr/share/prospector/prospector/tools/pyroma/__init__.py",
line 27, in <module>
ratings.PEP386Version: 'PYR04',
AttributeError: module 'pyroma.ratings' has no attribute 'PEP386Version'
More information about the Python-apps-team
mailing list