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

pantsbuild / pants / 7537
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: lockfiles
DEFAULT BRANCH: main
Ran 22 Oct 2015 04:24AM UTC
Jobs 8
Files 0
Run time –
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

pending completion
7537

push

travis-ci

jsirois
Restore Sources custom types per extension.

This was removed to support the multiprocess engine which relies on
pickling.  The dynamic class objects generated by `Sources.of` were not
pickle compatible.  Restore `Sources.of` memoized Sources subtypes
per-extension by implementing `__reduce__` and exposing the `Sources`
subtypes at the module level.

Testing Done:
REPL testing to both check quickly pickle/unpicle now worked and type
identity was maintained.  This was backed up by the engine test which
pickles and unpickles `Sources` as part of running the multiprocess
engine.

Also re-rendered the simple codegen plan, make more sense now that the
Sources product type carries the extension - see attached and compare
to the image in https://rbcommons.com/s/twitter/r/3010/:
```
$ ./pants run src/python/pants/engine/exp/examples:viz -- \
  tests/python/pants_test/engine/exp/examples/scheduler_inputs \
  compile src/java/codegen/simple
```

CI went green here:
  https://travis-ci.org/pantsbuild/pants/builds/86753888

Bugs closed: 2423

Reviewed at https://rbcommons.com/s/twitter/r/3011/
Jobs
ID Job ID Ran Files Coverage
1 7537.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 22 Oct 2015 04:24AM UTC 0
Travis Job 7537.1
4 7537.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 22 Oct 2015 04:36AM UTC 0
Travis Job 7537.4
5 7537.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 22 Oct 2015 04:26AM UTC 0
Travis Job 7537.5
6 7537.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 22 Oct 2015 04:32AM UTC 0
Travis Job 7537.6
7 7537.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 22 Oct 2015 04:33AM UTC 0
Travis Job 7537.7
8 7537.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 22 Oct 2015 04:35AM UTC 0
Travis Job 7537.8
9 7537.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 22 Oct 2015 04:35AM UTC 0
Travis Job 7537.9
10 7537.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 22 Oct 2015 04:39AM UTC 0
Travis Job 7537.10
Source Files on build 7537
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7537
  • 64d64840 on github
  • Prev Build on master (#7536)
  • Next Build on master (#7540)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc