Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
### Problem #7257 resulted in `test_pytest_run.py::test_target_constraints_with_no_sources` failing because `ci.sh` now sets interpreter constraints for Py2 runs whereas it earlier did not set any. So, the test is pulling in the global interpreter constraints and [failing to find an acceptable interpreter](https://travis-ci.org/pantsbuild/pants/jobs/502998214#L1310). ### Solution Set the test to be hermetic, so that external dependencies aren't pulled in. ### Result `PY=python2.7 PANTS_PYTHON_SETUP_INTERPRETER_CONSTRAINTS="['CPython==2.7.15']" ./pants clean-all test tests/python/pants_test/backend/python/tasks:integration -- -k test_target_constraints_with_no_sources` now passes. Hence, the cron job should now be fixed.
- Loading branch information