Test support for writing Pants plugins.
Project description
Pants is an Apache2 licensed build tool written in Python and Rust.
The latest documentation can be found at pantsbuild.org.
2.15.x Release Series
2.15.0.dev3 (Oct 03, 2022)
New Features
-
Add
venv_site_packages_copies
field topex_binary
(#17046) -
Add golangci-lint to go backend (#16994)
-
go: add
go-generate
goal to rungo generate
on a package (#16909) -
Support Java codegen for the OpenAPI backend (#16862)
-
go: render coverage reports as HTML (#16995)
-
Environment-aware subsystems (#16965)
-
Environment sensitive options (#16840)
-
Add retries to NetDownload intrinsic. (#16798)
-
go: add basic support for cgo (#16413)
-
Add support for add-trailing-comma tool (#16776)
User API Changes
Plugin API Changes
-
Improve usability of the
--engine-visualize-to
option (#17080) -
Change
fmt
plugin schema to allow for targetless formatters (#16980) -
Renames
SubsystemRule()
toSubsystem.rules()
(#16954) -
Introduce new schema for lint plugins (#16735)
-
Environment
,EnvironmentRequest
, andCompleteEnvironment
now includeVars
in the name (#16851) -
MockGet
expectsinput_types
kwarg, notinput_type
(#16839)
Bug fixes
-
Fix dirtying of uncacheable nodes (#17079)
-
Make interpreter path expansion cache-correct (#17051)
-
Add python 3.10 to acceptable GCF runtimes (#17028)
-
Don't cache VCS version outside the current pants session. (#17017)
-
Fix Pantsd not properly invalidating when
CPPFLAGS
andLDFLAGS
change (#17009) -
Add
parametrize()
support for__defaults__
. (#16977) -
go: prepend $GOROOT/bin to PATH for tests (#16993)
-
Fix for hang with redirected stdio. (#16970)
-
Fix invalid field error message for parametrized fields. (#16911)
-
Fix venv re-population race. (#16931)
-
wait
for killed nailgun processes. (#16924) -
remove override of register_plugin_field (#16919)
-
Only request source roots for PEP-517 deps that belong on the syspath (#16903)
-
Upgrade
javaparser
, and use a permissive language level to support parsing more code (#16896) -
docker: upgrade bollard crate for bug fix (#16850)
-
Preserve stdio when a local process times out. (#16841)
Performance
-
Add an optional speculation delay when using a remote cache (#16922)
-
Only use remote cache when cache scope is Always or Successful (#16920)
Documentation
-
Fix Helm K8S parser help message (#17091)
-
Update
pytest-xdist
docs. (#17071) -
Fix the [python-bootstrap].search_path option name in the docs. (#17063)
-
Add Doron Somech's proudest contribution (#17029)
-
improve remote cache logging for hit or miss (#16975)
-
Remove bad linebreaks from python-run-goal page. (#16976)
-
Update changelog on docsite with 2.13, 2.14 links (#16918)
-
Add Marcelo to team page, move Josh Reed to Maintainer (#16826)
-
Don't mention a specific version in the manual install instructions. (#16888)
2.15.0.dev2 (Sep 09, 2022)
New Features
-
Force colors from mypy always, strip in pants when --no-colors (#16586)
-
Add OpenAPI backend (#16199)
-
go: analyze imports paths by module to enable multiple
go_mod
targets (#16386)
Bug fixes
-
docker: capture output once after container exits (#16783)
-
docker: lazily initialize docker connection (#16779)
Documentation
-
Add IBM, Coinbase, and Astranis case studies (#16805)
-
Fix broken shortlinks that invoked "docs:" instead of "doc:" (#16804)
-
Add Brand24 to user list. (#16793)
2.15.0.dev1 (Sep 04, 2022)
New Features
-
go: support placing resource files in packages (and not just embedding) (#16688)
-
"naive" docker command runner (#16670)
-
Adds
binary_name
field to PyOxidizer support (#16696)
Plugin API Changes
-
The environment to use becomes a context-specific parameter (#16721)
-
Deprecate
Platform.current
in favor of requesting an injectedPlatform
(#16765) -
Allow
@union
s to declare additional types which are provided to implementers (#16717) -
Deprecate remote_auth_plugin option - plugins can use entry points now. (#16691)
Bug fixes
-
Add support for inferring dependencies used in type context bounds (#16709)
-
Resolve properly provided symbol names for types defined at top level package (#16690)
-
Include type bound constraints in consumed symbols during Scala inference (#16692)
-
Make experimental_shell_command deterministic (#16675)
Documentation
-
List commercial Pants services that optionally supplement community's extensive free tier (#16706)
-
In python resource example, use importlib.resources to read assets (#16695)
-
Welcome community members to consider joining team (#16681)
2.15.0.dev0 (Aug 29, 2022)
New Features
-
Add support for string interpolation in Helm deployments (#16611)
-
Add --squash and --pull options support for docker build (#16607)
-
Support Pex's
--path-mapping
with lockfiles for better local requirement support (#16584) -
[experimental] adds
pants_oxidized_experimental
target, creating a standalone binary distribution for Pants (#16484)
User API Changes
-
Remove deprecated
[python].only_binary
,[python].no_binary
, and[python].tailor_ignore_solitary_init_files
(#16638) -
Remove deprecated
[python].lockfile_generator
and deprecatepoetry
subsystem (used previously for lockfile generation) (#16633) -
Remove deprecated
use_deprecated_directory_cli_args_semantics
option (#16630)
Plugin API Changes
-
Add support for passing multiple input params to a
@rule
Get
(#16668) -
Remove deprecated
matches_filespec
andget_git
functions (#16629) -
Remove unnecessary type parameter from
Get
(#16634)
Bug fixes
-
Fix dirtying of uncacheable nodes (#17079)
-
Make
FilespecMatcher
case-sensitive (#16673) -
Ensure the sandbox distdir exists when creating dists via PEP517. (#16647)
Performance
-
Implement a batched local lookup for missing fingerprints. (#16627)
-
Optimize
CreateDigest
implementation. (#16617)
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
Built Distribution
Hashes for pantsbuild.pants.testutil-2.15.0.dev3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4325569fc4e9e5842597e3fca5f4631ad99a6d9f530d464252c846328c07589 |
|
MD5 | 09d8301374c2fd6b699e288712d2d8f8 |
|
BLAKE2b-256 | 2ece111a20349c28f15fdda992d5445987f85bde8f1a12857c0f4e9145684e94 |