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

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

Build:
Build:
LAST BUILD BRANCH: graph/entry-storage-indirection
DEFAULT BRANCH: main
Ran 06 Apr 2015 09:39PM UTC
Files 319
Run time 14s
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

06 Apr 2015 09:29PM UTC coverage: 69.678% (+0.09%) from 69.587%
CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'"

push

travis-ci

baroquebobcat
Include classifier in JarDependency equality / hashing

https://rbcommons.com/s/twitter/r/1905 made it so that calculate_classpath included classifiers in the keys of a dict it was using, but there are a number of places where `JarDependency`s are put in sets or are compared for equality and those didn't take classifer into account. This changes JarDependency's comparison ops to use classifier. It also moves validation of artifact / classifier into the `__init__` definition so that they happen during definition rather than deep in an ivy resolve.

Changing the operators was a little tricky because there's some pants ivy code that relies on `IvyModuleRef`s duck typing as `JarDependency`s. I'm not completely sure of the effect there because it's possible that the ModuleRefs have classifiers nested in the associated artifacts. If someone else has thoughts around that I'd appreciate some suggestions.

Testing Done:
ran ci.sh locally, travis baking off of a PR

Bugs closed: 1366

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

12965 of 18607 relevant lines covered (69.68%)

0.7 hits per line

Source Files on job 4357.3 (CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 9
  • Source Changed 4
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4357
  • Travis Job 4357.3
  • 63fc8ede on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'" on master (#4355.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'" on master (#4358.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