might be related to <https://github.com/pantsbuild...
# general
w
might be related to https://github.com/pantsbuild/pants/pull/7522 Got the following:
Copy code
./pants test tests/python/pants_test/backend/project_info/tasks:: 
...
21:50:25 00:25     [pytest]
                   Invalidated 6 targets.
                   scrubbed PYTHONPATH=/Users/yic/workspace/pants/src/python: from py.test environment
21:50:25 00:25       [run]
                     Failed to find compatible interpreter for constraints: ['CPython==3.6.1']
                     
                   tests/python/pants_test/backend/project_info/tasks:dependencies                 .....   NOT RUN
a
that looks to me like it wasn't able to invoke pytest at all, since that PR only affects whether
clean-all
happens to be run before a
self.run_pants()
command. integration tests should be running in a new buildroot, so i would think this wouldn't happen -- if that was wrong, then the PR should be reverted. i've continued to have to hack my pexrc file to address this issue when running tests, although isort and pythonstyle now don't require screwing around with the pexrc file, which is great. i think the interpreter location code for PytestRun probably needs to be updated to use whatever code was able to fix isort and pythonstyle. if hacking your pexrc (i just comment mine out) allows the tests to run, that would imply there's a hopefully simple fix to pytest interpreter location
w
it happens locally. tested with and without the commit, both failed
a
ah ok
does commenting out your pexrc fix the issue?
w
good idea. let me try
that does the trick thanks!
a
ok, great! i think i know how to repro and working on fixing this. i thought the pex change which fixed lint and isort would fix this too