Name: issues-2566
Owner: Pants Build
Description: This repo sketches out solutions to https://github.com/pantsbuild/pants/issues/2566
Created: 2015-11-15 20:36:25.0
Updated: 2015-11-15 20:36:44.0
Pushed: 2015-11-15 21:56:34.0
Homepage: null
Size: 0
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Pants python support has a floating dependency on pytest-timeout
in
its unit test runner. This causes an action-at-a-distance breakage for
users who run ./pants test
against python_tests
targets. More
details about the break can be found
here.
There are 3 workarounds.
pantsbuild.pants>=0.0.59
.python_tests
targets to
pytest-timeout<1
.The 3rd option is the focus of this example repo and it allows running
./pants clean-all test tests/
green. To use this solution in your
repo you need both the contents of the pants-plugins/
directory and
the pythonpath
and backend_plugins
entries from pants.ini
.