wide-energy-11069
04/15/2019, 4:50 AM./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
aloof-angle-91616
04/15/2019, 4:55 AMclean-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 locationwide-energy-11069
04/15/2019, 5:05 AMaloof-angle-91616
04/15/2019, 5:13 AMwide-energy-11069
04/15/2019, 5:13 AMaloof-angle-91616
04/15/2019, 5:18 AM