brief-engineer-67497
11/02/2018, 11:22 AM./pants publish pants-plugins/scala/play-gen-tools --no-publish-jar-dryrun --no-publish-jar-commit --no-publish-jar-prompt -ldebug --publish-jar-override=com.foo.pants#play-gen-tools=0.0.113
And I change the overrided version for each testbrief-engineer-67497
11/02/2018, 11:22 AMalert-addition-34873
11/02/2018, 1:21 PMbrief-engineer-67497
11/02/2018, 1:25 PMbrief-engineer-67497
11/02/2018, 1:26 PMenough-analyst-54434
11/02/2018, 3:42 PMalert-addition-34873
11/02/2018, 4:54 PMalert-addition-34873
11/02/2018, 4:55 PMenough-analyst-54434
11/02/2018, 4:56 PMenough-analyst-54434
11/02/2018, 4:59 PMtest
, that implies test tasks for a whole bunch of languages Pants supports (try ./pants --explain tests
). So, for example, test.pytest and test.junit. The former tests python code, the latter jvm code using the junit runner. Options are scoped to goal, task. So --test-pytest means this is an option bound for the pytest
task in the test
goal. The rest, junit-xml-dir - is the actual option name.enough-analyst-54434
11/02/2018, 5:00 PM./pants test.junit --help
and ./pants test.pytest --help
give scoped help for example.enough-analyst-54434
11/02/2018, 5:03 PM./pants test.pytest --no-timeouts --junit-xml-dir=./bob [targets]
.enough-analyst-54434
11/02/2018, 5:03 PMalert-addition-34873
11/02/2018, 5:15 PMwitty-crayon-22786
11/02/2018, 6:19 PMTask/Goal
docstring in ./pants help $goal
? filter
in particular would be useful: https://github.com/pantsbuild/pants/blob/master/src/python/pants/backend/graph_info/tasks/filter.py#L19-L29happy-kitchen-89482
11/02/2018, 6:27 PMhappy-kitchen-89482
11/02/2018, 6:28 PMwitty-crayon-22786
11/02/2018, 7:11 PMaloof-angle-91616
11/03/2018, 4:56 AMaloof-angle-91616
11/03/2018, 4:56 AMImportError: No module named pants_test.pants_run_integration_test
for a test which depends on a pants_requirement()
in a BUILD file -- this is the file failing: https://github.com/cosmicexplorer/lex-query/blob/master/pants-plugins/upstreamable/tests/test_perl6_run_integration.py. looking in tests/python/pants_test/BUILD
i see namespace_packages=['pants_test'],
for the pantsbuild.pants.testinfra
requirement (and i am adding 'pantsbuild.pants.testinfra==%(pants_version)s',
to pants.ini) -- i have tried various permutations of module import paths but while my python plugin source is working great i can't figure out this import issue. this is on 1.11.0rc1
.aloof-angle-91616
11/03/2018, 8:25 AMpants_requirement()
-- it covers plugins with the plugins
entry in pants.ini, but not mere python subpackages such as e.g. pantsbuild.pants.testinfra
. i ended up making a context-aware object factory to cover pulling in 'pantsbuild.pants.testinfra=={}'.format(pants_version())
into a single python_requirement_library()
along with pants because that seemed convenient for memysterious-farmer-45668
11/05/2018, 6:46 PMmysterious-farmer-45668
11/05/2018, 6:46 PMFile "/opt/app-root/src/.cache/pants/setup/bootstrap-Linux-x86_64/1.11.0rc1/lib/python2.7/site-packages/pants/reporting/html_reporter.py", line 320, in handle_output
f.write(self._htmlify_text(s))
Exception message: 'ascii' codec can't encode character u'\u2713' in position 144: ordinal not in range(128)
mysterious-farmer-45668
11/05/2018, 6:46 PMmysterious-farmer-45668
11/05/2018, 6:48 PMmysterious-farmer-45668
11/05/2018, 6:49 PMmysterious-farmer-45668
11/05/2018, 6:49 PMmysterious-farmer-45668
11/05/2018, 6:49 PMnode_test
but the actual exception arises from reportmysterious-farmer-45668
11/05/2018, 6:51 PM\u2713
seems to be a check markwitty-crayon-22786
11/05/2018, 7:05 PM