Skip to main content

Test support for writing Pants plugins.

Project description

Pants is an Apache2 licensed build tool written in Python.

The latest documentation can be found at pantsbuild.

2.0.x Stable Releases

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

See https://pants.readme.io/v2.0/docs/release-notes-2-0 for an overview of the changes in this release.

2.0.0.dev0 (6/25/2020)

API Changes

  • Remove v1 JVM backend Tasks. (#10142) PR #10142

  • Remove targets goal in favor of target-types goal (#10145) PR #10145

  • Remove deprecated Get[P](S) syntax in favor of Get(P, S) (#10148) Issue #9899 PR #10148

  • Remove v1 login, server, and killserver goals (#10144) PR #10144

  • Remove v1 minimize, filemap, paths, sort, and depmap goals (#10135) PR #10135

  • Replace v1 dependees, dependencies, filedeps, and filter with v2 (#10117) PR #10117

  • Remove the v1 scrooge contrib plugin. (#10127) PR #10127

  • Remove support for pants.ini (#10123) PR #10123

  • Remove the v1 export goal (#10122) PR #10122

  • Remove pants.backend.docgen (#10121) PR #10121

  • Remove v1 idea-plugin goal (#10115) PR #10115

  • Remove v1 Java Protobuf implementation (#10111) PR #10111

  • Remove pants.contrib.node plugin (#10113) PR #10113

  • Remove v1 bash-completion goal (#10112) PR #10112

  • Remove watchman. (#10114) PR #10114

  • Upgrade default mypy version from 0.780 to 0.781 (#10109) PR #10109

  • Remove pants.contrib.go plugin (#10107) PR #10107

  • Remove v1 Python Grpcio codegen backend (#10108) PR #10108

  • Remove deprecated –v2-ui in favor of –dynamic-ui (#10105) PR #10105

  • Remove deprecated –enable-pantsd in favor of –pantsd (#10104) PR #10104

  • Remove deprecated pytest-coverage scope in favor of coverage-py (#10103) PR #10103

  • Remove pants.contrib.confluence (#10106) PR #10106

New Features

Bugfixes

  • Do not render pytest at info by default, but give it a description. (#10164) PR #10164

  • Preserve source roots in MyPy and Pylint output (#10159) PR #10159

  • Do not include resource targets in v2 MyPy chroot (#10154) PR #10154

  • Set dynamic-ui default based on CI (#10140) PR #10140

  • Fix Pytest XML reports and Coverage breaking with remote execution (#10136) PR #10136

  • Retry for filesystem changes more quickly, indefinitely, and with logging (#10139) PR #10139

  • Normalize paths before determining whether we can watch them. (#10130) PR #10130

Refactoring, Improvements, and Tooling

  • Remove use of importlib for native_engine loading (#10161) PR #10161

  • Update sha2 crate dependency (#10163) PR #10163

  • Remove unused rust deps. (#10162) PR #10162

  • Add message field on workunits and use it to replace some explicit logging (#10158) PR #10158

  • Expose the types consumed to produce a type in a RuleGraph. (#10153) PR #10153

  • Upgrade setuptools from 44.0.0 to 47.3.1 (#10149) PR #10149

  • Support for using unstripped python sources (#10138) PR #10138

  • fix snapshot subset testing and unrevert #9779 (#10146) PR #10146

  • Revert “Make SnapshotSubset() faster (#9779)” (#10143) PR #9779 PR #10143

  • Make SnapshotSubset() faster (#9779) PR #9779

  • upgrade to rust v1.44.1 (#10125) PR #10125

  • Remove BuildFile (#10102) PR #10102

Testing

  • Enable test timeouts for python in v2. (#10147) PR #10147

  • Delete many v1 tests. (#10116) PR #10116

  • enable REv2 streaming client in CI (#9989) PR #9989

Documentation

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

pantsbuild.pants.testutil-2.0.0.dev0-py36.py37.py38-none-any.whl (47.7 kB view hashes)

Uploaded Python 3.6 Python 3.7 Python 3.8

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