[Bug 5425] New: run-tests PYTHONPATH mangling breaks pyflakes
bugzilla at mercurial-scm.org
bugzilla at mercurial-scm.org
Thu Nov 10 15:20:03 UTC 2016
https://bz.mercurial-scm.org/show_bug.cgi?id=5425
Bug ID: 5425
Summary: run-tests PYTHONPATH mangling breaks pyflakes
Product: Mercurial
Version: default branch
Hardware: PC
OS: Mac OS
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at selenic.com
Reporter: durin42 at gmail.com
CC: mercurial-devel at selenic.com
indygreg and I both have pyflakes installed via `pip install --user`. run-tests
sets up PYTHONPATH in the environment, which then causes our pyflakes to fail
thus:
Traceback (most recent call last):
File "/Users/augie/Library/Python/2.7/bin/pyflakes", line 7, in <module>
from pyflakes.api import main
ImportError: No module named pyflakes.api
I can reproduce this on both OS X and Linux. I think we should change the
contract for run-tests somehow so we can avoid changing PYTHONPATH. I'm open to
suggestions.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list