See https://www.pantsbuild.org/v2.4/docs/release-notes-2-4 for an overview of the changes in this release series.
The third stable release of the 2.4.x series, with no changes since the previous rc.
- Fix
Keyinterning race causingpanic while processing panicfailure (Cherry-pick of #12152) (#12159)
- Halve memory usage for remote cache writes (Cherry-pick of #12083) (#12118)
- Rewrite error message when Pantsd is shut down during run (Cherry-pick of #12107) (#12117)
The second stable release of the 2.4.x series, with no changes since the previous rc.
-
Add back
interpreter_constraintsfield topex_binaryandpython_awslambda(#11979) -
Revert "Run MyPy only on specified files, not transitive closure" (#11969)
- Make remote cache warning less chatty for missing files (Cherry-pick of #11976) (#11983)
- Run MyPy only on specified files, not transitive closure (Cherry-pick of #11936) (#11938)
- Fix remote cache writes to not block the Pants run (Cherry-pick of #11947) (#11950)
The first stable release of the 2.4.x series, with no changes since the previous rc!
-
Wait for all Sessions during pantsd shutdown (cherrypick of #11929) (#11934)
-
Retrieve RunTracker args from the OptionsBootstrapper. (cherrypick of #11931) (#11932)
-
Allow Python files without a file ending (Cherry-pick of #11905) (#11916)
-
Fix bug in Python 2.7 string dep inference. (Cherry-pick of #11900) (#11904)
-
Fix remote cache storing of
output_directories(Cherry-pick of #11895) (#11896)
- Fix a bug in unicode string dep inference. (cherrypick of #11879) (#11883)
- Add
--remote-cache-warningsand make remote cache warnings less chatty (Cherry-pick of #11859) (#11863)
- Fix transitive excludes for generating setup.py (Cherry-pick of #11811) (#11839)
-
Escape generated markdown values (Cherry-pick of #11841) (#11846)
-
Fix typo in
tagshelp message (Cherry-pick of #11838) (#11837)
-
Warn when dependency inference is not used due to ambiguity from >1 target exporting the same Python module. (#11792)
-
Dependency inference: can disambiguate modules with multiple owners via
!ignores (#11786)
-
Deprecate
--process-execution-cleanup-local-dirsin favor of--process-execution-local-cleanup(#11785) -
Deprecate
--process-execution-use-local-cachein favor of--process-execution-local-cache(#11781)
-
Do not infer dependencies in some edge cases with ambiguity (#11780)
-
Ensure that metrics are gathered during abnormal exits (#11793)
-
Enable configuration of local store size limits (#11777)
-
Fix remote execution of Pexes by properly using
append_only_caches. (#11760)
-
Add support for gRPC mypy stub files (#11658)
-
Support extra test runner output. (#11741)
-
Send opt-in anonymous telemetry to bugout (#11697)
-
Add
[python-setup].requirement_constraints_targetfor upcoming Poetry macro (#11724)
- Kill
SETTABLE_ENV_VARSallow list. (#11743)
-
Implement the IO methods required for
input, and addConsole.input. (#11703) -
Mutually exclusive options no longer change the
dest(#11718)
-
Invalidate all files in the graph when file watching receives a rescan event. (#11734)
-
Fix a deadlock involving
scheduler.all_digests, and add a note. (#11723) -
Fix source root stripping to not strip
requirements.txtfiles in plugins (#11712) -
Fix the mypy-protobuf interpreter constraint. (#11695)
-
Make
-ldebugless chatty when using remote caching (#11667) -
Improve error message for unmatched globs (#11699)
- Add a default
module_mappingfor Python 3rd-party dependency inference. (#11635)
-
Warn when depending on
filestargets in apex_binaryorpython_awslambda(#11659) -
Bump default for
[python-protobuf].mypy_plugin_versionto 2.4 (#11662)
- Require subclassing
WorkunitsCallback(#11677)
-
Fix the
local_onlyoption to properly disable remote execution and caching (#11678) -
Fix PYTHONPATH not including protobuf targets using
python_source_root(#11673) -
Fix streaming workunit handler plugins to log to console during run (#11674)
-
Avoid std::io::std usage in UI fallback. (#11671)
-
Improve phrasing for "unknown goal" and "unknown flag" errors. (#11664)
-
Do not interpret passthrough args. (#11656)
- Streaming workunit handler can finalize async when pantsd used (#11683)
- Add support for Pytest config files (#11624)
-
Upgrade to Pex 2.1.33 to fix
et-xmlfileissue. (#11647) -
Ensure that ancestor files at the buildroot are found. (#11632)
-
Handle two edge cases with
./pants tailor(#11625)
-
Wrap
./pants helpbased on actual terminal width (#11378) -
Fix references to the deprecated pants log location. (#11636)
- Add
--stats-logto log metrics at end of run (#11599)
-
Deprecate --python-setup-resolver-version option. (#11611)
-
Remove deprecated --remote-store options. (#11609)
-
Remove deprecated --process-execution-speculation options. (#11610)
-
Remove deprecated
--remote-execution-serverand--remote-store-serveroptions (#11603) -
Deprecate unused
--process-execution-local-enable-nailgun(#11600)
- Upgrade Pex to 2.1.32 to fix venv script shebangs being too long for some Linux systems. (#11604)
- Release the Pants PEX in
--venvmode. (#11591)
- Less chatty plugin resolution logging (#11593)