You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I install pyroma==2.0, then prospector works fine.
But pyroma 2.1 was released ~a year ago, and it removed the attribute pyroma.ratings.PEP386Version, which prospector unconditionally references during startup (if pyroma is installed). If I have pyroma==2.1 or pyroma==2.2, then I get:
$ prospector --help
Traceback (most recent call last):
File "/home/njs/.user-python3.5-64bit/bin/prospector", line 7, in <module>
from prospector.run import main
File "/home/njs/.user-python3.5-64bit/local/lib/python3.5/site-packages/prospector/run.py", line 8, in <module>
from prospector import blender, postfilter, tools
File "/home/njs/.user-python3.5-64bit/local/lib/python3.5/site-packages/prospector/tools/__init__.py", line 48, in <module>
'pyroma': _optional_tool('pyroma'),
File "/home/njs/.user-python3.5-64bit/local/lib/python3.5/site-packages/prospector/tools/__init__.py", line 29, in _optional_tool
tool_package = __import__(package_name, fromlist=[tool_class_name])
File "/home/njs/.user-python3.5-64bit/local/lib/python3.5/site-packages/prospector/tools/pyroma/__init__.py", line 27, in <module>
ratings.PEP386Version: 'PYR04',
AttributeError: module 'pyroma.ratings' has no attribute 'PEP386Version'
Note that it doesn't matter whether prospector has pyroma enabled -- if you have pyroma and prospector in the same venv, then prospector doesn't work at all.
The text was updated successfully, but these errors were encountered:
If I install
pyroma==2.0
, then prospector works fine.But pyroma 2.1 was released ~a year ago, and it removed the attribute
pyroma.ratings.PEP386Version
, whichprospector
unconditionally references during startup (if pyroma is installed). If I havepyroma==2.1
orpyroma==2.2
, then I get:Note that it doesn't matter whether prospector has pyroma enabled -- if you have pyroma and prospector in the same venv, then prospector doesn't work at all.
The text was updated successfully, but these errors were encountered: