• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 4483 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: multiplatform_pex_with_uv
DEFAULT BRANCH: main
Ran 14 Apr 2015 03:05AM UTC
Files 319
Run time 17s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Apr 2015 02:55AM UTC coverage: 69.086% (+0.03%) from 69.059%
CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'"

push

travis-ci

dturner-tw
Classpath isolation: make ivy resolution locally accurate.

In the global compilation strategy, the 'compile_classpath' product
contains a list of artifacts for each target.  This list need not be
accurate per-target so long as the total set of artifacts required for
the build is included somewhere in the product.  In ivy resolution, a
target T might request library L, version 1.0.  If some other target U
in the build brings in L 2.0, Ivy might not resolve L 1.0's
dependencies.  So, prior to this patch, the compile_classpath for T
would show L, but not L's dependencies.

In the isolated compilation strategy, compile_classpath must be
accurate per-target, since targets will be built independently.  So
if T were missing L's dependencies, T might not be buildable.

This patch solves this problem by ignoring version numbers when
retrieving dependencies, so that the resolved version can replace
the requested version in all cases.

Note that ivy resolution is still not 100% isolated; if T is built in
the same compile as U, it will be built against L 2.0, while if it is
built alone, it will be built against L 1.0.

Testing Done:
CI green: https://travis-ci.org/pantsbuild/pants/builds/58371122

Reviewed at https://rbcommons.com/s/twitter/r/2064/

12897 of 18668 relevant lines covered (69.09%)

0.69 hits per line

Source Files on job 4483.3 (CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4483
  • Travis Job 4483.3
  • a1ce39bf on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4481.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Unit tests for pants and pants-plugins'" on master (#4496.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc