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.10.x Release Series
2.10.0.dev1 (Jan 07, 2022)
New Features
-
JVM Resources support (#13908)
-
Expose Docker build context hash for image tag interpolation. (#13959)
-
Add Thrift IDL codegen using Apache Thrift for Python and Java and Scrooge for Scala (#13987)
-
Add new
image_labels
field todocker_image
. (#13973)
User API Changes
-
Deprecate
[validate].detail_level
in favor of[sourcefile-validation].detail_level
(#14103) -
Upgrade Hadolint (dockerfile linter) to from 2.6.0 to 2.8.0 (#14110)
-
Change third party module mapping to consider resolves (#14034)
Plugin API Changes
-
Fix
@rule
effect validation fornot cacheable
types. (#14069) -
Allow plugins to use range requirements by applying constraints to plugin resolution (#14058)
Bug fixes
-
Reduce output from
scalafmt
, and lower reflective access option threshold for Google Java Format. (#14109) -
Hook up Scalafmt and Google Java Format to
./pants lint
(#14108) -
Fix
validate
goal crashing if not configured (#14104) -
Fix dropped output race during UI teardown (#14093)
-
Fix incorrectly setting
name
onpython_requirements
macro (#14065) -
[jvm] Use appropriate coordinate serialization for Coursier CLI inputs. (#14038)
-
Fix
.pyi
type stubs to show up inpython_distribution
(#14033) -
Fix file sources codegen for the Docker build context. (#14024)
-
[jvm] Parse maven coordinates using regular expression (#14010)
-
[jvm] Fix use of multiple scalac plugins when one plugin has multiple classpath entries (#14012)
Documentation
-
Include provider info in help output for subsystems and target types. (#13993)
-
Fix help strings which were accidentally tuples, and add a validation. (#14057)
2.10.0.dev0 (Dec 27, 2021)
New Features
-
Add duration and cache source to test output. (#13889)
-
Add
pex_binaries
target generator (#13910) -
Support Docker build target stage (#13956)
-
Add
ssh
field todocker_image
. (#13957) -
Docker
FROM
target dep inference (#13921) -
Docker context troubleshooter (#13896)
-
java: add protobuf code generation support using
protoc
(#13989) -
Support
test --debug
with scalatest and junit. (#13966)
User API Changes
-
Update shellcheck default version to v0.8.0 (#13983)
-
Upgrade to Pex 2.1.61 and use
--venv
copies. (#13979) -
Remove deprecated
[python-setup]
in favor of[python]
(#14004) -
Remove deprecated
typecheck
goal as alias forcheck
(#13929) -
Remove deprecated
pants_requirement
in favor ofpants_requirements
(#13927) -
Remove deprecated
--process-execution-local-cleanup
and--process-execution-local-cache
in favor of--process-cleanup
and--local-cache
(#13928)
Plugin API Changes
-
Add
OptionalSingleSourceField
(#13982) -
Remove deprecated RuleRunner methods
create_file(s)
andadd_to_build_file
. (#13954) -
Revert "Turn off validation for unset
SourcesField
ifrequired=False
" (#13856) (#13944)
Bug fixes
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.10.0.dev1-py37.py38.py39-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ee5f25864d71aa4d6c49dfe960809823b05b0c5a95b09acedd2474bf690e6df |
|
MD5 | 31d338544645c7e4f87ea65622cb8336 |
|
BLAKE2b-256 | 7f9fb9d93ae34f92f733ad640196845d238bc86b5e502731f2642572f4197156 |