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.8.x Release Series
2.8.0.dev1 (Sep 10, 2021)
New Features
-
Support --fail-under on merged coverage. (#12778)
-
Add python-docx to the module mapping dictionary (#12775)
-
Add python-pptx to the module mapping dictionary (#12776)
-
Add
opencv-python
to the default Python module mapping (#12777) -
Add
PyMuPDF
to the default Python module mapping (#12774)
User API Changes
-
Deprecate
--list-provides
option. (#12759) -
Upgrade default
isort
to latestisort==5.9.3
(#12756) -
Add
version
to lockfile metadata headers (#12788)
Plugin API Changes
OutputPathField.value_or_default()
no longer has anAddress
argument (#12837)
Bug fixes
-
Properly include file dependencies in docker build context (#12758)
-
DigestSubset should not short-circuit when there are ignores involved. (#12648)
-
Fix backports of std lib modules like
dataclasses
not working with dependency inference (#12818)
Performance
-
Improve cache reuse for
./pants package
when using a constraints file or lockfile (#12807) -
Upgrade to Pex 2.1.48 and leverage packed layout. (#12808)
Documentation
-
Warn if
[python-repos]
is set during lockfile generation (#12800) -
Fix a markdown issue in a help string. (#12766)
2.8.0.dev0 (Sep 03, 2021)
New Features
-
Add support for creating GCP Cloud Functions. (#12735)
-
[experimental] Add proof-of-concept Java junit test rule. (#12177)
-
Support TOML tables for dict options in pants.toml (#12707)
User API Changes
-
Remove undocumented
pants_version()
symbol from BUILD files (#12745) -
Remove deprecated
[python-protobuf.mypy-plugin]
in favor of[mypy-protobuf]
(#12743) -
Stop interpolating
pants_supportdir
inpants.toml
and deprecate the option (#12705) -
Error, don't warn, when
--generate-lockfiles-resolve
is set to a disabled tool lockfile (#12738) -
Remove deprecated
.with_binaries()
. (#12724) -
Update default
[black].version
to 21.8b0 (#12718) -
Update
futures
to0.3.17
. (#12722) -
Upgrade to Pex 2.1.47. (#12715)
-
Remove deprecated
[pytest].pytest_plugins
in favor of[pytest].extra_requirements
(#12704) -
Remove deprecated
[grpc_python_plugin]
in favor of[grpc-python-plugin]
(#12706)
Plugin API Changes
- Add intrinsic to produce a
DigestEntries
from aDigest
which reference file content by hash (#12693)
Bug fixes
-
Fix UI rendering when a workunit has completed children but no running children (#12748)
-
Improve descriptions of the process executions for
PEX_PATH
composition. (#12736) -
Absolutize all of the
execute_pex_args
in the venv script. (#12727) -
Include
.gitignore
in defaultpantsd_invalidation_globs
(#12711)
Performance
- Simplify implementation of materialize directories (#12696)
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
File details
Details for the file pantsbuild.pants.testutil-2.8.0.dev1-py37.py38.py39-none-any.whl
.
File metadata
- Download URL: pantsbuild.pants.testutil-2.8.0.dev1-py37.py38.py39-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3.7, Python 3.8, Python 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd9de5c6d2d2fd45bce9df550a49791f3c57a844d193b4f895659176f636dc29 |
|
MD5 | 98fb1f455de95cb4670fa7fbc64de37f |
|
BLAKE2b-256 | 9215dd809f711b7ab8709fd33dd789192cd19b89b2462933fd57de4d83fa1256 |