mysterious-farmer-45668
07/24/2017, 9:54 PMhigh-advantage-47550
07/24/2017, 10:54 PMhigh-advantage-47550
07/24/2017, 10:54 PMmysterious-farmer-45668
07/24/2017, 10:59 PMenough-analyst-54434
07/24/2017, 11:01 PM./pants clean-all
used.mysterious-farmer-45668
07/24/2017, 11:02 PMenough-analyst-54434
07/24/2017, 11:02 PMenough-analyst-54434
07/24/2017, 11:03 PMenough-analyst-54434
07/24/2017, 11:06 PMenough-analyst-54434
07/24/2017, 11:09 PM$ ./pants options --scope=ivy --name=cache_dir
ivy.cache_dir = /home/jsirois/.ivy2/pants (from HARDCODED)
This assumes you use the option above to point pants to a workspace-local --ivy-cache-dir
to avoid concurrency issues.enough-analyst-54434
07/24/2017, 11:10 PMenough-analyst-54434
07/24/2017, 11:11 PM$HOME
on Travis is isolated, and its not without shenanigans on a jenkins slave, thus the need for a custom --ivy-cache-dir
in your case.mysterious-farmer-45668
07/24/2017, 11:13 PMenough-analyst-54434
07/24/2017, 11:14 PMmost-wire-83210
07/25/2017, 6:43 AMmost-wire-83210
07/25/2017, 6:44 AMmost-wire-83210
07/25/2017, 6:44 AMrough-minister-58256
07/25/2017, 7:38 AMrough-minister-58256
07/25/2017, 7:38 AMastonishing-jelly-60479
07/25/2017, 2:53 PMastonishing-jelly-60479
07/25/2017, 2:54 PM--python-setup-resolver-cache-dir
to a directory that is shared between the 8 CI worker processes running on each box and is not cleaned out between runs, but maybe that option changed?enough-analyst-54434
07/25/2017, 3:07 PM[cache]
in that output is the Pants artifact cache - lower level than the python resolver cache and used to generally cache artifacts from prior runs. You probably don't have caching turned on. Just a sec for pointers....enough-analyst-54434
07/25/2017, 3:15 PM[cache]
writes, it just uses local invalidation. @astonishing-jelly-60479 I think this is worth filing an issue. The crux looks like its here: https://github.com/jsirois/pants/blob/master/src/python/pants/backend/python/tasks2/resolve_requirements_task_base.py#L43-L50enough-analyst-54434
07/25/2017, 3:16 PM.pants.d/
. I think the solution is enabling [cache]
writes.enough-analyst-54434
07/25/2017, 3:17 PMenough-analyst-54434
07/25/2017, 3:18 PMfastbuild/bin/third_party/pex/_pex.runfiles/__main__/third_party/pex/pex/package.py", line 87, in satisfies
return requirement.specifier.contains(self.raw_version, prereleases=allow_prereleases)
AttributeError: Requirement instance has no attribute 'specifier'
enough-analyst-54434
07/25/2017, 3:23 PMRequirement.specifier
is a valid attribute, but clearly that's no happening somehow. @most-wire-83210 maybe thats enough detail to help you debug further.most-wire-83210
07/25/2017, 3:23 PM