Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Twitter common libraries for python and the JVM
Java Python Thrift JavaScript Shell GAP Other

Upgrade to pantsbuild.pants 0.0.32.

This release brings in fixes for the idea and eclipse goals which were
previously broken with missing template resources.

It pulls in a similar fix for python-eval which is now enabled for the
repo and included in CI.  This provides a limited form of compile-time
checking that python target basics are in order:
+ checks that transitive BUILD deps are sufficient
+ validates that all top-level symbols are valid including function,
  method and class declarations
+ and decorators run at their top level of performing function wrapping

These compile checks smoked out 3 targets with missing deps that are now
fixed.  It also identified 6 other special targets that do deliberate
dependency gymnastics of one form or another and these are excluded from
the "compile" as a result.

Finally a small config migration, simplification of the pants script and
killing of a few un-used build-support/python scripts round out the

Testing Done:
CI went green here:

Bugs closed: 367

Reviewed at
latest commit 0b53efc8e8
@jsirois jsirois authored


Twitter common libraries for python and the jvm

== Installation ==

Building requires:
+ jdk 1.6+
+ python 2.7+

The build tool is custom and hosted in the repository itself.

== Usage ==

To build all jvm code and run all tests:
$ ./pants test {src,tests}/java/com/twitter/common::
$ ./pants test {src,tests}/scala/com/twitter/common::

Likewise for python commons:
$ ./pants test tests/python/twitter/common/:all

To get help on pants:
$ ./pants help

Read more

Refer to pants documentation at

== Usage questions and feature discussions ==

Please check the archives for then fire
away if the question has not been addressed.

== Reporting bugs ==

Please use the github issue tracker for twitter commons at:

== Copyright and License ==

Copyright 2015 Twitter, Inc.

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this work except in compliance with the License.
   You may obtain a copy of the License in the LICENSE file, or at:

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   See the License for the specific language governing permissions and
   limitations under the License.

Something went wrong with that request. Please try again.