Skip to content

scie-pants 0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Jan 08:31
· 225 commits to main since this release
v0.3.0
4ad5c97

0.3.0

This release adds support for running Pants from a local Pants clone. This is useful for testing out
unreleased Pants changes.

This feature used to be provided by a bespoke pants_from_sources script copied around to various
repositories; an example of which is here.

There are two ways to activate this mode:

  1. Execute pants with the PANTS_SOURCE environment variable set as the path to the Pants repo
    whose Pants code you'd like to run against your repo.
  2. Copy, hardlink or symlink your pants binary to pants_from_sources and execute that.

The first activation method is new. The second mode follows the bespoke ./pants_from_sources
conventions and assumes PANTS_SOURCE=../pants. You can override that by setting thePANTS_SOURCE
env var as in the first activation method.