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.11.x Release Series
2.11.0.dev1 (Feb 22, 2022)
New Features
-
Support for
file
/files
in JVM tests (#14537) -
Support complete_platforms for
python_awslambda
. (#14532) -
Support complete_platforms for Python GCFs. (#14530)
-
Properly support filesystem specs in the
paths
goal. (#14518) -
Plumb Pex's
--complete-platform
for pex_binary. (#14526) -
Adds the plugin names field to scala sources (#14508)
-
jvm: teach dependency inference about multiple resolves (#14491)
-
scala: add implicit dependency on scala-library (#14450)
-
py_awslambda: pass through
include_requirements:bool
topex_binary
(#14469)
User API Changes
-
Upgrade Pex to 2.1.67. (#14544)
-
Create per-parametrization aliases for generator targets (#14529)
-
Per-resolve scala plugins (#14497)
Plugin API Changes
-
Replace
GoalSubsystem.required_union_implementations
withGoalSubsystem.activated()
(#14313) -
Add dynamic help (#14543)
-
Add global counters, and deprecate per-workunit counters. (#14541)
Bug fixes
-
Fix PyOxidizer depending on
python_distribution
withsdist=True
(#14394) -
Fix coverage base global report creation bug. (#14547)
-
Tests scala local plugins, and makes it work properly on
scala_sources
targets (#14512) -
Allow use of
parametrize
with thejdk=
field of JVM targets (#14510) -
Fix address parse bug in
update-build-files --fix-python-macros
. (#14485)
Performance
-
Shortcircuit source subsetting if there are no distributions. (#14564)
-
Calculate local distribution contents once per distribution (#14551)
Documentation
-
Fix the incompatible resolve error message to include the entire checked set of targets. (#14525)
-
Add disclaimer about
[python].enable_resolves
and lockfile generation (#14475)
2.11.0.dev0 (Feb 11, 2022)
New Features
-
Add support for long_description_path field in python_distribution (#14448)
-
Improve
export
goal to handle multiple Python resolves (#14436) -
Add support for multiple compile/testing JDKs (#14421)
-
Add initial support for a
parametrize
builtin to generate multiple copies of a target (#14408) -
scala: support multiple scala versions (#14425)
User API Changes
-
Remove support for JSON-encoded JVM lockfiles. (#14458)
-
Remove deprecated
<stage>.tag
version values. (#14453) -
Remove deprecated
[scala] version
option. (#14455) -
Replace
compatible_resolves
withresolve
for JVM targets (#14441) -
python_requirement
usesresolve: str
field, notcompatible_resolves: list[str]
(#14420) -
Remove options, goals, and backends deprecated in Pants 2.10 (#14396)
-
Migrate the Docker context tags version from
<stage>.tag
totags.<stage>
. (#14376) -
Default to
use_deprecated_python_macros = false
and deprecate the option (#14399)
Plugin API Changes
-
Adding DictOptions and WorkspacePathOption to the declarative options (#14433)
-
More declarative target generators for plugins (#14377)
Bug fixes
-
Fix handling of Go version for third-party packages (#14457)
-
Fix issue picking up base image tag from Dockerfile with a digest present. (#14447)
-
Make sure
[python].enable_resolves = false
disables checking for valid resolves (#14418) -
Fix
pants_requirements
target generator to use resolves (#14417) -
Fix
tailor
when--use-deprecated-python-macros=false
(#14404)
Documentation
help
command reminds users abouthelp-advanced
(#14402)
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.11.0.dev1-py37.py38.py39-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ecac87fbfbbfabf603efef1bb34cdf7e149db5c1bd6db8f0b5c920fe4fb724dc |
|
MD5 | 3d79cf6d5307ea5549da862f803d6734 |
|
BLAKE2b-256 | 1c4a3654698bd44f503e858879a30736df0a15214b52b4666490bc3e1e50a11d |