Pants v2: The ergonomic build system

Welcome to the Pants v2 documentation hub!

Pants v2 is a fast, scalable, user-friendly build system for growing codebases. It's currently focused on Python, with support for other languages coming soon.

Here you'll find guides to help you get started with Pants v2, comprehensive documentation on how to configure, run and customize Pants v2, and information on how to get help from the Pants community.

Get Started

Some highlights:

  • Replaces the globs() syntax in the sources field in BUILD files with a simpler list of file names and globs. See https://groups.google.com/forum/#!topic/pants-devel/3nmdSeyvwU0.
  • Adds support for using file arguments.
  • Adds Bandit security linter for Python.
  • Configures Python 3.6+ as the default Python version.
  • Adds ./pants test --debug to run tests interactively.

See here for a detailed change log.

Updated 10 months ago


1.25.x


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.