Pants Build System
Switch branches/tags
v1.1.0rc9 v1.1.0rc8 v1.1.0-rc0 v1.1.0-pre3 v1.1.0-pre1 v1.1.0-pre0 v1.0.0 v1.0.0-rc3 v1.0.0-rc1 twitter/q3-pants-release twitter-pants-release-twitter-pants-release-1.4.0tw16.1 twitter-pants-release-pants/1.4.0tw16-pantsd3 twitter-pants-release-1.5.0.dev3-2885fea3 twitter-pants-release-1.4.0tw17.0.5 twitter-pants-release-1.4.0tw17.0.5-with-scope-change-1 twitter-pants-release-1.4.0tw17.0.5-log-hotfix-2 twitter-pants-release-1.4.0tw17.0.4 twitter-pants-release-1.4.0tw17.0.3 twitter-pants-release-1.4.0tw17.0.2 twitter-pants-release-1.4.0tw16.2.1 twitter-pants-release-1.4.0tw16.2 twitter-pants-release-1.4.0tw16.1 twitter-pants-release-1.4.0tw16 twitter-pants-release-1.4.0tw16rc4 twitter-pants-release-1.4.0tw16rc3-linux twitter-pants-release-1.4.0tw16rc2-linux twitter-pants-release-1.4.0tw16rc1-linux twitter-pants-release-1.4.0tw16-pantsd6 twitter-pants-release-1.4.0tw16-pantsd5 twitter-pants-release-1.4.0tw16-pantsd4 twitter-pants-release-1.4.0tw16-pantsd3 twitter-pants-release-1.4.0tw16-pantsd2 twitter-pants-release-1.4.0tw16-pantsd1 twitter-pants-release-1.4.0tw16-d5-strict-scopes twitter-pants-release-1.4.0rc1-e771aeb1 twitter-pants-release-1.4.0rc1-a37ef1ec twitter-pants-release-1.4.0rc0-afe3edda twitter-pants-release-1.4.0rc0-50bf568a twitter-pants-release-1.4.0rc0-8dd62552 twitter-pants-release-1.4.0rc0-0a727fa9 twitter-pants-release-1.4.0.dev27tw4 twitter-pants-release-1.4.0.dev27tw3 twitter-pants-release-1.4.0dev21-tw-alpha-coursier-68996bb78 twitter-pants-release-1.4.0-tw16rc1 twitter-pants-release-1.4.0-tw16rc0 twitter-pants-release-1.4.0-tw15-stuhood-repackage-1 twitter-pants-release-1.4.0-tw15-stuhood-packaging-1 twitter-pants-release-1.4.0-tw15-strictdepsfix stuhood/twitter-pants-2.0.0-rc4 stuhood/fancy-cycle-detection release_1.9.0rc1 release_1.3.0.dev18 release_1.3.0.dev17 release_1.3.0.dev16 release_1.3.0.dev15 release_1.3.0.dev14 release_1.3.0.dev13 release_1.3.0.dev12 release_1.3.0.dev11 release_1.3.0.dev10 release_1.3.0.dev9 release_1.3.0.dev8 release_1.3.0.dev6 release_1.3.0.dev5 release_1.3.0.dev4 release_1.3.0.dev3 release_1.3.0dev2 release_1.3.0dev1 release_1.3.0dev0 release_1.2.1 release_1.2.1rc0 release_1.2.0 release_1.2.0rc4 release_1.2.0rc3 release_1.2.0rc2 release_1.2.0rc1 release_1.2.0rc0 release_1.2.0dev11 release_1.2.0dev10 release_1.2.0dev8 release_1.2.0-dev6 release_1.2.0-dev5 release_1.2.0-dev4 release_1.2.0-dev3 release_1.2.0-dev2 release_1.2.0-dev1 release_1.2.0-dev0 release_1.1.0 release_1.1.0-rc9 release_1.1.0-rc8 release_1.1.0-rc7 release_1.1.0-rc0 release_1.1.0-pre5 release_1.1.0-pre4 release_1.1.0-pre3 release_1.1.0-pre2 release_1.1.0-pre1 release_1.1.0-pre0 release_1.0.1 release_1.0.1-rc0
Nothing to show
Clone or download
Pull request Compare This branch is 84 commits behind pantsbuild:master.
cosmicexplorer Deprecate --quiet recursive option (#6156)
### Problem

Fixes #6142.

### Solution

- Add `flag_matchers` memoized property on `Options` to wrap predicates on CLI options which may raise a deprecation warning.
- Convert deprecated scope checking to use `flag_matchers` in the `_check_deprecated_scope(self)` method in `options.py`.
- Make `tests/python/pants_test/option:integration` include all `*_integration.py` (it wasn't running `test_quiet_option_integration.py` before -- it looks like that test still passes now, however).
- Add `_match_recursive_quiet_flag(self)` and add to `flag_matchers`.

### Result

- `-q` or `--quiet` continues to silence output when used as a global option, but a deprecation warning is printed to stderr if it is used recursively.
Latest commit ad22237 Aug 23, 2018
Permalink
Failed to load latest commit information.
.cargo [engine] Move to new-style CFFI callbacks. (#4324) Mar 13, 2017
3rdparty Upgrade to pex 1.4.5. (#6267) Jul 30, 2018
build-support Pin interpreter <3.7 in ci. (#6364) Aug 21, 2018
contrib Decode python_eval template resource as utf-8. (#6379) Aug 22, 2018
examples Python 3 fixes - add open backport to contrib (#6295) Aug 7, 2018
migrations/options/src/python Python 3 fixes - add open backport to contrib (#6295) Aug 7, 2018
pants-plugins Python 3 - fixes to get green contrib (#6340) Aug 16, 2018
src Deprecate --quiet recursive option (#6156) Aug 23, 2018
testprojects Pin interpreter <3.7 in ci. (#6364) Aug 21, 2018
tests Deprecate --quiet recursive option (#6156) Aug 23, 2018
zinc Zinc 1.0.0-X20 upgrade: JVM portion (#4728) Jul 18, 2017
.gitattributes Radical makeover of docsite. Apr 29, 2016
.gitignore Upgrade to v2 of bazel protobuf (#6027) Jul 10, 2018
.isort.cfg Get rid of the "Skipped X files" messages from isort output. Oct 13, 2016
.mailmap Prepare the 1.10.0.dev3 release. (#6369) Aug 20, 2018
.travis.yml Python 3 - fixes to get green contrib (#6340) Aug 16, 2018
BUILD Remove docgen from list of default packages, don't deprecate the --de… Jun 10, 2016
BUILD.tools Qualify kythe target names with 'java-'. (#5459) Feb 13, 2018
CODE_OF_CONDUCT.md Adding a Code of Conduct Nov 15, 2016
COMMITTERS.md Add Daniel McClanahan & Dorothy Ordogh to committers (#5909) Jun 5, 2018
CONTRIBUTING.md inserted a www. into some pantsbuild links to un-break them (#4388) Mar 27, 2017
CONTRIBUTORS.md Prepare the 1.10.0.dev3 release. (#6369) Aug 20, 2018
LICENSE Add a LICENSE file, as promised by every file header. Apr 3, 2014
PULL_REQUEST_TEMPLATE.md Propose a github review workflow Nov 19, 2016
README.md Port go to py3 (#6139) Jul 17, 2018
pants Fix local execution of hermetic integration tests (#6101) Jul 15, 2018
pants.cache.ini Add native support for incremental caching, and use it in jvm_compile Oct 22, 2015
pants.daemon.ini Deprecate the v1 engine option. (#5338) Jan 18, 2018
pants.ini Exclude faulthandler and futures if Python 3 (#6244) Jul 28, 2018
pants.travis-ci.ini Add libc search noop option (#6122) Jul 15, 2018
rust-toolchain Bump rust to 1.28 (#6306) Aug 6, 2018

README.md

Pants Build System

Pants is a build system for software projects in a variety of languages. It works particularly well for a source code repository that contains many distinct projects.

Friendly documentation: http://www.pantsbuild.org/

We release to PyPI version license

We use Travis CI to verify the build Build Status.

We use Coveralls to monitor test coverage Coverage Status.

Requirements

At a minimum, pants requires the following to run properly:

  • Linux or Mac OS X
  • Python 2.7.x (the latest stable version of 2.7 is recommended)
  • A C compiler, system headers, Python headers (to compile native Python modules) and the libffi library and headers (to compile and link modules that use CFFI to access native code).
  • Internet access (so that pants can fully bootstrap itself)

Additionally, if you use the jvm backend to work with java or scala code (installed by default):

  • OpenJDK or Oracle JDK version 7 or greater