See https://www.pantsbuild.org/v2.2/docs/release-notes-2-2 for an overview of the changes in this release series.
This is the first release to require having a Python 3.7 or 3.8 interpreter to run Pants. Run curl -L -o ./pants https://raw.githubusercontent.com/pantsbuild/setup/2f079cbe4fc6a1d9d87decba51f19d7689aee69e/pants to update your
./pants script to choose the correct interpreter.
The fifth stable release of the 2.2.x series, with no changes since the previous rc.
- Fix
Keyinterning race causingpanic while processing panicfailure (Cherry-pick of #12152) (#12161)
The fourth stable release of the 2.2.x series, with no changes since the previous rc.
- Revert deprecation of
interpreter_constraintsfield forpex_binaryandpython_awslambda(#11981)
The third stable release of the 2.2.x series, with no changes since the previous rc.
-
Allow Python files without a file ending (Cherry-pick of #11905) (#11918)
-
Fix bug in Python 2.7 string dep inference. (Cherry-pick of #11900) (#11906)
- Fix a bug in unicode string dep inference. (cherrypick of #11879) (#11881)
The second stable release in the 2.2.x series, with no changes since the previous rc.
-
Fix a deadlock involving
scheduler.all_digests, and add a note. (cherrypick of #11723) (#11725) -
Upgrade to Pex 2.1.34 to pull in a fix for an import race. (cherrypick of #11711) (#11714)
- Fix PYTHONPATH not including protobuf targets using
python_source_root(Cherry-pick of #11673) (#11676)
-
Do not interpret passthrough args. (cherrypick of #11656) (#11661)
-
Fix MyPy to work by default with Python 3.9+ (Cherry-pick of #11537) (#11542)
-
Fix excessive mmap-ing in LMDB (cherrypick of #11513) (#11516)
The first stable release in the 2.2.x series, with no changes since the previous rc!
-
Fix
--optoptions in constraints.txt files erroring (#11407) (#11425) -
Fix older versions of
tarnot working when creating anarchive(#11413) (#11419)
-
Move to having the Scheduler directly handle SIGINT to cancel all relevant Sessions. (#11399)
-
Fix docstring deprecation warning for Bandit. (#11395)
-
Infer imports of the style
__import__("string_literal"). (#11326) -
Make the number of threads used to run @rules in the Engine configurable. (#11325)
-
Expose
--resolver-versionto support using the new pip resolver, deprecate--cache-ttl. (#11349)
-
Bump default version of Pytest to 6.2.x (#11381)
-
Upgrade packaging from 20.7 to 20.8 (#11343)
-
Deprecate the
sourcesfield forpex_binaryandpython_awslambda(#11332)
-
Deprecate Subsystems as global singletons (#11388)
-
Add shortcut public API method to return cumulative timings data. (#11385)
-
Remove unused get_critical_path_timings() API (#11387)
-
Deprecate not setting
helpfor Targets, Fields, and Subsystems (#11380) -
RunTracker: add goals property (#11382)
-
Explicitly flush stdio in the nailgun client. (#11383)
-
Ignore exit on the nailgun Client output_stream. (#11358)
-
avoid unnecessary copy in cache code path (#11348)
-
use Bytes instead of Vec for protobuf binary fields (#11342)
-
refactor all gRPC usages to use Tonic instead of grpcio (#11307)
-
fs.Snapshot is declared in Rust (#11328)
-
Interrupt Graph tasks on Ctrl+C (#11322)
-
Pin references to docs to the current version (#11369)
-
Generate docs references for target types (#11340)
-
Upgrade packaging from 20.4 to 20.7 (#11302)
-
Update default values for run tracker and streaming work unit handlers to more commonly used values. (#11292)
-
Fix filtering of log messages generated in native code. (#11313)
-
Upgrade to Pex 2.1.24 to fix macOS Big Sur. (#11312)
-
Clean the graph speculatively, and cancel nodes when interest is lost (#11308)
-
Implement native Process cache scoping to fix --test-force (#11291)
-
Add shorthand to use a file name for
pex_binary'sentry_pointandpython_awslambda'shandlerfield (#11261) -
Add dependency inference for
pex_binary'sentry_pointandpython_awslambda'shandlerfields (#11245) -
Allow file arguments to work with the
app.pyshorthand forpex_binaryandpython_awslambda(#11263) -
Warn if
packageandtesthave no matching files/targets (#11240)
-
2.2.0.dev1 deprecations. (#11281)
-
Require
pex_binary'splatformsfield to be a list (#11246) -
Remove deprecated
--pants-distdir-legacy-pathsoption (#11247)
-
Increase Pants' python recursion limit by default, and allow it to be overridden. (#11271)
-
Stop logging if Pyenv not installed (#11243)
- Update Pants prerequisites facts. (#11265)
-
Add dependency inference for Protobuf <-> Protobuf imports (#11205)
-
Add dependency inference for Python imports of Protobuf/gRPC (#11195)
-
Allow setting the entry point for a
pex_binaryto<none>(#11199) -
Add support for filtering file vs BUILD targets (#11126)
-
Cancel sessions rather than killing pantsd (#11123)
-
Remoting: allow timeout parameters to be configured (#11125)
-
Require Python 3.7 or 3.8 to run Pants (#11135)
-
Deprecate
mypy_source_pluginandpylint_source_plugintargets in favor ofpython_library(#11233) -
Remove deprecated
compatibilityfield in favor ofinterpreter_constraints(#11225) -
Upgrade to Pex 2.1.21. (#11131)
-
Remove
PrimitiveFieldand alignAsyncFieldwithField(#11231) -
Change
AsyncFieldto beAsyncFieldMixin(#11232) -
Deprecate
TransitiveTargetsRequestLiteandDependenciesRequestLitenow that graph cycle is fixed (#11188)
-
Fix dependency inference parsing of Python 3.8 and 3.9 syntax (#11213)
-
Set the soft ulimit value more conservatively to fix macOS Big Sur issue (#11194)
-
Move graph cycle detection to Rust to fix recursion limit. (#11202)
-
Fix relative imports in dependency inference (#11181)
-
Remove extraneous info level log line (#11228)
-
Fix Coverage not finding resource files when generating a report (#11129)
-
Fix
testresults showing up twice by removingTargetsWithOrigin(#11128) -
Make a few minor reliability fixes to remote caching code (#11130)
- Improve error message for no applicable targets (#11215)