Test support for writing Pants plugins.
Project description
Pants is an Apache2 licensed build tool written in Python.
The latest documentation can be found at pantsbuild.
# 2.5.x Stable Releases
See https://www.pantsbuild.org/v2.5/docs/release-notes-2-5 for an overview of the changes in this release series.
## 2.5.0.dev3 (Apr 23, 2021)
### User API Changes
Upgrade the default mypy to a version that works with namespace packages ([#11945](https://github.com/pantsbuild/pants/pull/11945))
Run MyPy only on specified files, not transitive closure ([#11936](https://github.com/pantsbuild/pants/pull/11936))
### Plugin API Changes
Upgrade Pants to Pex 2.1.40. ([#11964](https://github.com/pantsbuild/pants/pull/11964))
### Bug fixes
Release pants.pex in –unzip mode to workaround not loading properly ([#11955](https://github.com/pantsbuild/pants/pull/11955))
Fix remote cache writes to not block the Pants run ([#11947](https://github.com/pantsbuild/pants/pull/11947))
Fix python process name extraction. ([#11966](https://github.com/pantsbuild/pants/pull/11966))
## 2.5.0.dev2 (Apr 16, 2021)
### New Features
Handle URL requirements with constraints files. ([#11907](https://github.com/pantsbuild/pants/pull/11907))
Release Pants with Python 3.9 ([#11858](https://github.com/pantsbuild/pants/pull/11858))
Allow Python files without a file ending ([#11905](https://github.com/pantsbuild/pants/pull/11905))
### Bug fixes
Wait for all Sessions during pantsd shutdown ([#11929](https://github.com/pantsbuild/pants/pull/11929))
Fix bug in Python 2.7 string dep inference. ([#11900](https://github.com/pantsbuild/pants/pull/11900))
Fix remote cache storing of output_directories ([#11895](https://github.com/pantsbuild/pants/pull/11895))
### Documentation
Finesse some docgen markdown<->html issues. ([#11927](https://github.com/pantsbuild/pants/pull/11927))
## 2.5.0.dev1 (Apr 10, 2021)
### New Features
Add dependency inference for Shell ([#11857](https://github.com/pantsbuild/pants/pull/11857))
Add Shell support with Shellcheck, shmft, and shunit2 test runner ([#11844](https://github.com/pantsbuild/pants/pull/11844))
Warn if config files detected but not wired up to Pants ([#11852](https://github.com/pantsbuild/pants/pull/11852))
Warn when dependency inference fails for protobuf_library targets due to ambiguity ([#11849](https://github.com/pantsbuild/pants/pull/11849))
### User API Changes
Remove deprecated unzip field for pex_binary ([#11868](https://github.com/pantsbuild/pants/pull/11868))
Deprecate –ignore-pants-warnings in favor of –ignore-warnings ([#11851](https://github.com/pantsbuild/pants/pull/11851))
### Plugin API changes
Require WorkunitsCallback to set can_finish_async ([#11687](https://github.com/pantsbuild/pants/pull/11687))
### Documentation
Fix type in tags help message ([#11836](https://github.com/pantsbuild/pants/pull/11836))
## 2.5.0.dev0 (Apr 02, 2021)
### New Features
Subset lockfile resolves. ([#11773](https://github.com/pantsbuild/pants/pull/11773))
### User API Changes
Remove deprecated –process-execution-cleanup-local-dirs, –process-execution-use-local-cache, and –process-execution-local-enable-nailgun ([#11821](https://github.com/pantsbuild/pants/pull/11821))
Always use new pip resolver and remove deprecated [python-setup].resolver_version ([#11819](https://github.com/pantsbuild/pants/pull/11819))
Remove deprecated [setuptools].entry_point and [setuptools].interpreter_constraints ([#11822](https://github.com/pantsbuild/pants/pull/11822))
Remove deprecated –mypy-plugin-version, pantsd.log file, –plugin-cache-dir
### Plugin API Changes
Remove deprecated InteractiveProcess.hermetic_env.
Add RuleRunner.write_files() for more declarative tests ([#11817](https://github.com/pantsbuild/pants/pull/11817))
Upgrade Pex to 2.1.38. ([#11829](https://github.com/pantsbuild/pants/pull/11829))
### Bug fixes
Fix transitive excludes for generating setup.py ([#11811](https://github.com/pantsbuild/pants/pull/11811))
Fix workunit visibility calculation. ([#11816](https://github.com/pantsbuild/pants/pull/11816))
Fix __run.sh to respect working_directory. ([#11814](https://github.com/pantsbuild/pants/pull/11814))
### Documentation
Fix misleading docs for [mypy].skip ([#11810](https://github.com/pantsbuild/pants/pull/11810))
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.5.0.dev3-py37.py38.py39-none-any.whl
.
File metadata
- Download URL: pantsbuild.pants.testutil-2.5.0.dev3-py37.py38.py39-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3.7, Python 3.8, Python 3.9
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10a9a39c8b871696a1cd2730998a99229f9f70e31a896de03f47ecbbd143e378 |
|
MD5 | 343474d117c09f07f7d819c14b6afb39 |
|
BLAKE2b-256 | e46acf3ee534948b91104828fbd50aa28f1860e4dc22c7eff257278f1b0f0d42 |