Hundreds of "module not on sys.path" warnings

Bug #1422887 reported by Gabriel Hurley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bandit
Fix Released
Medium
Unassigned

Bug Description

I installed bandit in a virtualenv (so I can easily dev on bandit) and ran it against Horizon (in a separate virtualenv because I also dev on that). I was presented with hundreds of lines of:

WARNING Module (<insert file path here>) is not installed in python sys.path. Names defined in this module may not be fully qualified.

I'd love to be able to resolve this warning, but no information is presented to me to do so. I don't want Horizon installed globally, and installing bandit in my Horizon virtualenv dirties both of them for dev purposes.

Being able to pass in a path or to add specific modules to sys.path when running bandit would be great!

Changed in bandit:
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.