Skip to main content

Automatic manipulation of BUILD dependencies based on source analysis.

Project description

Pants is an Apache2 licensed build tool written in Python.

The latest documentation can be found here.

1.2.x Stable Releases

This document describes releases leading up to the 1.2.x stable series.

1.2.1 (01/20/2017)

Promotion of the 1.2.1rc0 release to a stable release, with no changes.

1.2.1rc0 (12/19/2016)

The first release candidate for stable 1.2.1: includes a backlog of recent fixes, particularly for initialization issues with Task results_dirs. Additionally, includes native support for running Scalatest tests via JUnit using Pants’ junit_tests target type.

Bugfixes

  • Ensure that invalid vts have results_dir cleaned before passing to ta… (#4139) PR #4139

  • Surface –dereference-symlinks flag to task caching level RB #4338

  • Correction on [resolve.node] RB #4364

  • Remove safe_mkdir on results_dir in [resolve.node] RB #4362

New Features

1.2.0 (10/31/2016)

The stable 1.2.0 release! This is equivalent to the 1.2.0rc4 release from Friday.

The releases on this page encompass the complete list of changes since the previous stable release (1.1.0).

Thanks to the contributors!

1.2.0rc4 (10/27/2016)

The fifth release candidate for stable 1.2.0, which includes a fix for the fmt.isort task and an important correctness fix for golang remote rev pinning. This release candidate likely be elevated to the final 1.2.0 release tomorrow, barring any unexpected turbulence.

Bugfixes

  • Change default ./pants fmt.isort <empty> behavior to no-op; Add sources check for isort. RB #4327

  • Bugfix: when synthesizing remote libraries in Go, pin them to the same rev as adjacent libs. RB #4325

1.2.0rc3 (10/20/2016)

The fourth release candidate for stable 1.2.0, which limits the default targets affected by scalafmt and includes Benjy’s lovely “default source globs” patch.

Bugfixes

  • Fix erroneous deprecated scope warnings. RB #4323

New Features

  • Allow targets to have sensible defaults for sources=. RB #4300

Refactoring, Improvements, and Tooling

  • Add a target-types option to scalafmt to avoid formatting all targets RB #4328

1.2.0rc2 (10/18/2016)

The third, and perhaps final, release candidate for stable 1.2.0.

Notably: this release candidate restores JDK7 compatibility for junit tests.

API Changes

  • Update junit runner to 1.0.15 to get java 7 compatibility RB #4324

  • Back down the minimum required java version for running Pants tools to java 7 RB #4314

Bugfixes

  • Fix exclude_target_regexp breakage in test-changed and –files option breakage in changed with diffspec RB #4321

  • Prevent cleanup error at end of pants test with –test-junit-html-report option, update safe_rmtree to be symlink aware RB #4319

  • fix –changed-files option RB #4309

New Features

  • Adding scalafmt formatting to fmt goal and enable by default RB #4312

Refactoring, Improvements, and Tooling

  • migrate changed integration tests to isolated temp git repos and add an environment variable to override buildroot RB #4295

1.2.0rc1 (10/13/2016)

Second release candidate for stable 1.2.0.

API Changes

  • Add subsystem_utils to test_infra RB #4303

Bugfixes

  • Switch default deference back to True for tarball artifact RB #4304

  • Filter inactive goals from Goal.all. RB #4298

  • JUnit runner fix for len(args) > max_args in argfile.safe_args RB #4294

Refactoring, Improvements, and Tooling

1.2.0rc0 (10/07/2016)

First release candidate for stable 1.2.0.

New Features

  • Make the name= target keyword optional in BUILD files. RB #4275

  • Add Scalafmt Support to Pants RB #4216

Refactoring, Improvements, and Tooling

  • Add libffi to pants pre-reqs, qualify JDK req. RB #4285

  • Update the setup.py description. RB #4283

  • Refactor Intermediate Target Generation Logic RB #4277

  • Clean up after failed artifact extractions RB #4255

  • Publish the CPP plugin RB #4282

  • Change –no-dryrun to the new flag in docs RB #4280

  • Add –no-transitive flag to findbugs so you can run findbugs only for the targets specified on the command line RB #4276

New Engine Work

  • [engine] Rule Graph construction perf improvements RB #4281

  • [engine] Introduce static analysis model and replace validator with it RB #4251

1.2.0dev12 (9/30/2016)

Regularly scheduled unstable release, highlighted by engine work and OSX 10.12 support. Thanks to the contributors!

Bugfixes

  • Remove deprecated from_target usage in examples. RB #4262

Refactoring, Improvements, and Tooling

  • show deprecation warning for options given in env and config RB #4272

  • Update binary_util OS map for OSX Sierra. RB #4266

  • Make LegacyAddressMapper v2 engine backed RB #4239

  • Upgrade to junit-runner 1.0.14. RB #4264

  • Fix handling of method specs. RB #4258

  • Factor workunit failure into final exit code. RB #4244

New Engine Work

  • [engine] Iterative improvements for`changed` and friends. RB #4269

  • [engine] Allow injecting of intrinsic providers to ease testing RB #4263

  • [engine] When requesting select nodes or regular nodes, return state values rather than requiring a separate call RB #4261

  • [engine] Introduce TypeConstraint#satisfied_by_type RB #4260

1.2.0dev11 (9/23/2016)

Regularly scheduled unstable release.

Heads up!: this release contains a change to an important default value for those who use pants to build scala codebases. The default --scala-platform-version has changed from 2.10 to 2.11. If you do not set this value in your pants.ini (highly recommended!) this may result in a surprise scala upgrade for you.

Thanks to the contributors!

API Changes

  • Bump default scala platform version to 2.11 RB #4256

Bugfixes

  • Clean up analysis.tmp usage between pants and zinc wrapper (Part 1) Issue #3667 RB #4245

  • Clean up analysis.tmp usage between pants and zinc wrapper (Part 2) RB #4246

Refactoring, Improvements, and Tooling

New Engine Work

  • [engine] Move subselectors to selector properties RB #4235

  • [engine] Daemon cacheable changed. RB #4207

1.2.0dev10 (9/20/2016)

Regularly scheduled unstable release. Thanks to the contributors! Version bump, previous release only did a partial upload.

Bugfixes

  • Correct Pants’s incorrect guesses for go source roots. RB #4247

  • Fix ng-killall by swallowing psutil exceptions in filter RB #4237

  • Fix for idea-plugin goal that generates too long project filename RB #4231

  • wrapped globs excludes - include incorrect arg in error message RB #4232

Refactoring, Improvements, and Tooling

  • Inject an automatic dep on junit for all junit_tests targets. RB #4228

  • Simplify failed test reporting. RB #4240

  • Fixup the simple plugin setup docs. RB #4241

  • Add description to type constraints RB #4233

  • Differentiate between source root categories. RB #4230

  • Restore ChangedTargetGoalsIntegrationTest. RB #4227

  • Deprecate the subsystem_instance utility function. RB #4220

New Features

  • Add a timeout to scalajs tests RB #4229

  • Disallow absolute file paths in specs in BUILD files RB #4221

New Engine Work

  • [engine] Convert all isinstance product checks to using Exactly type constraints RB #4236

  • [engine] Check that types passed to TypeConstraint inits are in fact types RB #4209

1.2.0dev9 (9/12/2016)

Regularly scheduled unstable release. Thanks to the contributors! Version bump, previous release only did a partial upload.

Bugfixes

  • Re-enable test_junit_tests_using_cucumber. RB #4212

  • Reset subsystem state for integration tests. RB #4219

  • Remove spurious pants.pex file that somehow ended up in the repo. RB #4214 RB #4218

  • Fix a non-determinism I added in the ANTLR support RB #4187

Refactoring, Improvements, and Tooling

  • Edit Greeting{,Test}.java to get a known edit sha for tests. RB #4217

  • Refactor memoization of the global distribution locator. RB #4214

  • Clean up junit xml report file location logic. RB #4211

  • Upgrade default go to 1.7.1. RB #4210

  • Make util.objects.datatype classes not iterable RB #4163

1.2.0dev8 (09/02/2016)

Regularly scheduled unstable release. Thanks to the contributors! Version bump, previous release only did a partial upload.

1.2.0dev7 (09/02/2016)

Regularly scheduled unstable release. Thanks to the contributors!

Bugfixes

  • [jvm-compile][bug] Fixes other target’s class dir ending up on classpath RB #4198

  • Fixed bugs in Go thrift generation with services RB #4177

New Engine Work

  • [engine] Add Runnable State RB #4158

  • [engine] Don’t filter directories in watchman subscription RB #4095

Refactoring, Improvements, and Tooling

  • Eliminate all direct use of pytest. RB #4201

  • Update pants versioning to use python’s packaging.version RB #4200

  • [jvm-compile][test] Add test explicitly checking classpath for z.jars RB #4199

  • Plumb fetch timeout through BinaryUtil. RB #4196

  • Upgrade default go to 1.7. RB #4195

  • Fixup PythonTarget resource_targets docs. RB #4148

  • Customize tarfile module next() method RB #4123

1.2.0-dev6 (8/26/2016)

Regularly scheduled unstable release. Thanks to the contributors!

New Features

  • A clear error message for checkstyle misconfiguration. RB #4176

Bugfixes

  • Performance fix for consolidated classpath RB #4184

Refactoring, Improvements, and Tooling

  • Refactor classpath consolidation into a separate task. RB #4152

  • Refactor idea-plugin goal RB #4159

  • Remove all calls to create_subsystem() in tests. RB #4178

New Engine Work

  • Support exclude_target_regexps and ignore_patterns in v2 engine RB #4172

1.2.0-dev5 (8/19/2016)

Regularly scheduled unstable release.

New Engine Work

  • Defer daemon-wise LegacyBuildGraph construction to post-fork. RB #4168

  • [engine] Validate that variant_key of SelectVariant is string type git_shat msg: 5a7e838d512069a24d12ec0b7dcdc7b7d5bdfa3b RB #4149

Refactoring, Improvements, and Tooling

  • Adjust the output file locations for the Antlr task. RB #4161

  • build dictionary: one description per arg is plenty RB #4164

1.2.0-dev4 (8/12/2016)

Regularly scheduled unstable release.

New Features

  • Introduce fmt goal, isort subgoal RB #4134

Bugfixes

  • Fix GitTest control of git user.email. RB #4146

  • Restore publishing of the docsite during releases RB #4140

New Engine Work

  • [engine] Fix bundle rel_path handling in engine RB #4150

  • [engine] Fix running changed with v2 flag; Replace context address_mapper; Fix excludes filespecs in engine globs. RB #4114

  • Fix BundleAdaptor to BundleProps Conversion RB #4057 RB #4129

Refactoring, Improvements, and Tooling

  • Eliminate use of mox in favor of mock. RB #4143

  • Convert FetcherTest to use mock instead of mox. RB #4142

  • [jvm-compile] narrow compile dependencies from full closure to just next nearest invalid compilation targets RB #4136

1.2.0-dev3 (8/7/2016)

Unscheduled extra unstable release.

Refactoring, Improvements, and Tooling

  • Move the custom javac option to the Java subsystem. RB #4141

1.2.0-dev2 (8/5/2016)

Regularly scheduled unstable release.

Refactoring, Improvements, and Tooling

  • Upgrade travis ci to use jdk 8 RB #4127

  • Additional checks for module type determination. RB #4131

1.2.0-dev1 (7/30/2016)

Regularly scheduled unstable release.

New Features

  • Allow specification of an alternate javac location. RB #4124

  • Add support to Fetcher for file: URLs. RB #4099

  • JSON output format for Pants options RB #4113

API Changes

Bugfixes

  • Avoid clobbering type_alias kwarg in the Registrar if already explicitly set. RB #4106

  • Fix JUnit -fail-fast, add test for early exit hook and remove unused code RB #4060 RB #4081

  • Fixup the 1.1.x notes, which were not being rendered on the site, and contained rendering errors. RB #4098

New Engine Work

  • Ensure target resources= ordering is respected in the v2 engine. RB #4128

  • [engine] Pass selectors to select nodes; Use selectors in error messages RB #4031

  • Remove Duplicates in File System tasks in v2 Engine RB #4096

Refactoring, Improvements, and Tooling

1.2.0-dev0 (7/18/2016)

Regularly scheduled unstable release! Unstable releases from master will use the dev suffix from now on (see #3382).

New Features

None this week!

API Changes

Bugfixes

  • RGlobs.to_filespec should generate filespecs that match git spec RB #4078

  • ivy runner make a copy of jvm_options before mutating it RB #4080

  • Log exceptions from testRunFinished() in our listener Issue #3638 RB #4060

  • Fix problems with unicode in junit XML output when writing to HTML report RB #4051

  • [bugfix] Fix remote_sources() targets dependency injection. RB #4052

New Engine Work

  • Convert BundleAdaptor to BundleProps during JvmApp target creation RB #4057

  • Repair pantsd+watchman integration test flakiness. RB #4067

  • [engine] Isolated Process Execution - First Cut RB #4029

Refactoring, Improvements, and Tooling

  • Use ProjectTree in SourceRoots.all_roots(). RB #4079

  • Add a note indicating that scope=forced is available beginning in 1.1.0 RB #4070

  • Update version numbering and clarify notes updates RB #4069

  • Improve deprecation warning for default backend option reliance. RB #4061 RB #4053

  • Cleanup the annotation test project code RB #4056

  • Add documentation for scopes RB #4050

  • Add collection literals note to styleguide RB #4028

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pantsbuild.pants.contrib.buildgen-1.2.1.tar.gz (23.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page