jolly-memory-78838
02/12/2019, 6:28 PMrm -rf .pants.d/
run a test goal with the error in pytest, update pants.ini to pin the old version. Then run pants test goal again with --cache-test-pytest-ignore
it throws the error.polite-vase-75369
02/15/2019, 3:01 PMsrc/scala/blah::
happy-kitchen-89482
02/15/2019, 3:55 PMdependencies=
of a target? No, you have to enumerate every dependency. src/scala/blah::
is just for specifying targets to act on in command-line invocations. I can see how being able to do this might be useful, but on the other hand it’s likely to cause unnecessarily coarse-grained declared dependencies, which is undesirable. In the long-term we (or at least I…) want to move away from manually-maintained BUILD files towards inferred dependencies (via static analysis, say). There are already various “buildgen” efforts in various stages of usability.happy-kitchen-89482
02/15/2019, 3:56 PMsrc/scala/blah::
in multiple places you can define a target src/scala/blah:all
that depends on all the other targets, so that you only need to enumerate them once:happy-kitchen-89482
02/15/2019, 3:57 PMtarget(name='all',
dependencies=[
':localtarget1',
':localtarget2',
...
]
polite-vase-75369
02/15/2019, 4:03 PMfresh-architect-74417
02/20/2019, 3:11 AMfresh-architect-74417
02/20/2019, 3:12 AMfancy-queen-20734
02/20/2019, 7:39 PM-q
has been passed? I mean, the command fails, but doesn’t have the error?fancy-queen-20734
02/20/2019, 11:50 PMpurple-microphone-26575
02/25/2019, 3:55 PMpurple-microphone-26575
02/25/2019, 4:26 PMhappy-kitchen-89482
02/25/2019, 7:12 PMhappy-kitchen-89482
02/25/2019, 7:12 PMhappy-kitchen-89482
02/25/2019, 7:13 PMfresh-architect-74417
02/25/2019, 9:43 PMgentle-wolf-58752
02/25/2019, 9:56 PMgentle-wolf-58752
02/25/2019, 9:57 PMgentle-wolf-58752
02/25/2019, 9:57 PMenough-analyst-54434
02/26/2019, 5:46 AMhundreds-father-404
02/26/2019, 7:03 AMlively-france-2777
02/26/2019, 2:03 PMmacosx_10_14_x86_64-cp-36-cp36m
.
Running on 1.13.0 I have these dependencies found but they’re reporting all kinds of different macosx levels: macosx_10_{6,7,9,11,12,13}
(noticeable absent is 10_14
)
I’m not entirely sure how I should resolve this, as previously all these dependencies were transparently compiled (and I’m guessing still are since I did a ./pants clean-all
before starting). Any suggestions for how to work with this?
I also tried running my tests under 1.14.0rc2 and it all works there so I’m going to take a wild stab in the dark and assume that it’s related to https://github.com/pantsbuild/pants/pull/7156fresh-architect-74417
02/26/2019, 7:54 PMfresh-architect-74417
02/26/2019, 7:56 PM./pants --python-repos-indexes=${PRIVATE_PYPI} test ${target} --no-test-pytest-fast \
--cache-test-pytest-read-from=/tmp/.cache \
--cache-test-pytest-write-to=/tmp/.cache
witty-crayon-22786
02/26/2019, 7:57 PMfresh-architect-74417
02/26/2019, 7:57 PMfresh-architect-74417
02/26/2019, 7:57 PMwitty-crayon-22786
02/26/2019, 7:57 PMwitty-crayon-22786
02/26/2019, 7:58 PM./pants options --cache-test-pytest-read-from=/tmp/.cache | grep 'cache.test.pytest.read'
to see the final valuefresh-architect-74417
02/26/2019, 7:59 PM