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.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
Hashes for pantsbuild.pants.testutil-2.5.0.dev2-py37.py38.py39-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d37c7cd87a1efb407c90345d4de43afb29390f51246a80a1960826550ec8ff0 |
|
MD5 | 0103763a19c0d4183cd8ae805f7ad2f5 |
|
BLAKE2b-256 | bcb661728ca5a2c0bafd72f88026d304f66e2a40d023426502b2813fea483072 |