Package: pantsbuild.pants.contrib.buildgen
Pants is an Apache2 licensed build tool written in Python.The latest documentation can be found atpantsbuild.1.28.x Stable ReleasesThis document describes releases leading up to the1.28.xstableseries.Seehttps://pants.readme.io/docs/release-notes-1-28for an overview of the changes in this release.1.28.0 (5/22/2020)The first stable release in the1.28.xseries, with no changes since the last release candidate!1.28.0rc2 (5/20/2020)BugfixesFix harmless error rendered when stdin is closed under pantsd (#9828)PR #9828Omitmsuffix in platform for AWS Lambdas using Python 3.8 (#9796)PR #9796Fix console UI redraw issues (#9812)PR #9812Refactoring, Improvements, and ToolingStandardized workunit names (#9774)PR #9774Re-implement source roots without using a trie (#9799)PR #9799Improve thereprfor V2Target(#9808)PR #98081.28.0rc1 (5/15/2020)BugfixesFix Target API bindings not loading for plugins (#9788)PR #9788Further refine the “include.pids” hack. (#9773)PR #9773Move away from the debounced notify watcher (#9754)PR #9754Upgrade toml from 0.10.0 to 0.10.1 (#9768)PR #9768Refactoring, Improvements, and ToolingMention –owners-not-found-behavior option when owners are not found (#9770)PR #9770Disable capturing core dumps in travis. (#9769)PR #97691.28.0rc0 (5/13/2020)API ChangesAlways activate V2pants.backend.pants_infoandpants.backend.project_info(#9742)PR #9742Deprecatefiledepsdefaulting to–absolute(#9746)PR #9746Deprecate, instead of error, when Python targets have non-Python sources (#9752)PR #9752Upgrade to pex 2.1.10. (#9744)PR #9744Upgrade Pygments from 2.3.1 to 2.6.1 (#9739)PR #9739Upgrade psutil from 5.6.3 to 5.7.0 (#9743)PR #9743New FeaturesRestructure v2 UI (#9672)PR #9672BugfixesFix write_stderr in native.py (#9753)PR #9753Refactoring, Improvements, and ToolingPort the pantsd nailgun server to rust (#9722)PR #9722Provide more useful and consistent console UI messages (#9720)PR #9720Batch all fsync calls at the end of materialize_directory. (#9738)PR #9738More simplification of SourceRoots. (#9728)PR #9728Add white space between rule graph errors (#9740)PR #97401.28.0.dev2 (5/9/2020)API ChangesLoosen restriction on docutils to not require 0.16. #9735PR #9735Remove deprecated–fastoption for tests. (#9733)PR #9733Remove deprecated support forwithin_data_subdir. (#9730)PR #9730Removebuild-setup-requires-pexoptions scope. (#9732)PR #9732Remove deprecated PythonSetup options. (#9731)PR #9731Adapt to upstream scalatest change (#9707)PR #9707Upgrade docutils from 0.14 to 0.16 (#9724)PR #9724Upgrade responses. (#9712)PR #9712Simplify the source roots mechanism. (#9709)PR #9709Disable watchman by default. (#9714)PR #9714Upgrade pyopenssl. (#9693)PR #9693New FeaturesConfigurable local execution root for v2. (#9716)PR #9716Add V2dependeesgoal (#9692)PR #9692BugfixesFixprotobuf_libraryto be parsable by V1 tasks (#9700)PR #9700Remove deprecation warning from ivy_imports.py. (#9696)PR #9696FixPYTHONPATHcomingling in sitepackages. (#9690)PR #9690Refactoring, Improvements, and ToolingAdd benchmark harness and improve performance of materialize_directory  (#9729)PR #9729Reorganize some V2 goals intopants.backend.pants_infoandpants.backend.project_info#9708PR #9708Rename V2’s–test-run-coverageto–test-use-coverage(#9723)PR #9723Improve pytest output. (#9691)PR #9691Fix up dependency features (#9721)PR #9721Improve output of V2testgoal (#9718)PR #9718Improve output of V2fmtandlintgoals (#9710)PR #9710Fix brfs to cleanly unmount. (#9715)PR #9715Pin down floaty lockfile. (#9713)PR #9713Move file invalidation handling to rust (#9636)PR #9636Avoid unnecessarystrip_source_roots.pywork when using a repo-level root (#9702)PR #9702Optimizestrip_source_roots.pywhen there is only 1 source root (#9705)PR #9705Improve concurrency of V2 formatter and linter setup (#9701)PR #9701Update tokio past 0.2.16. (#9703)PR #9703Simplify v1 Go buildgen’s use of source roots. (#9694)PR #9694Switch DownloadedPexBin to use ExternalTool. (#9665)PR #9665Fix V2 isort and Black including the tmpdir in their output (#9683)PR #9683MyPy now checks partially_type_checked targets. (#9688)PR #9688Fix Shellcheck lint. (#9689)PR #9689ImproveSnapshot::mergeerrors. (#9685)PR #9685Clean up Executor::spawn APIs and docs to better align them with tokio 0.2. (#9684)PR #9684pin AR=/usr/bin/ar on osx when building native_engine.so (#9662)PR #9662DocumentationImprove docs for Python target types (#9679)PR #9679Prepare 1.27.0rc1 (#9717)PR #97171.28.0.dev1 (5/1/2020)API ChangesBuild pantsbuild.pants as a manylinux2014 wheel (#9656)PR #9656Upgrade wheel from 0.33.6 to 0.34.2 (#9647)PR #9647Upgrade PyYAML 5.1.2 to 5.3.1 (#9649)PR #9649Deprecate some v1 goals that use Ivy. (#9657)PR #9657New FeaturesAdding allowlist_compiler_args in ScroogeGen (#9610)PR #9610[junit-runner] allow test specs to work for parameterized tests and t… (#9397)PR #9397Add Protobuf Python support to V2 (#9651)PR #9651[jvm-platform] add strict as an attr to jvm platforms (#9287)PR #9287Add the ability to write junit test results file for pytest runs. (#9594)PR #9594BugfixesFix crash when V2 goals likereplhave no specified targets (#9673)PR #9673Refactoring, Improvements, and ToolingRules to extract archives. (#9624)PR #9624Add generic mechanism to codegen sources in V2 (#9634)PR #9634AllowHydratedSourcesRequestto indicate which Sources types are expected (#9641)PR #9641Remove default process timeout value (#9639)PR #9639Replacelistwithlist-v2when in V2 exclusive mode (#9671)PR #9671Simplify Scheduler::execute and unify Graph retry (#9674)PR #9674RenameProcess.input_filestoProcess.input_digest(#9669)PR #9669Port the bulk of the process_execution crate to async/await (#9676)PR #9676Remove noisy Pants output with V2binary,run, andrepl(#9667)PR #9667Rename V2ConfigurationtoFieldSet(#9668)PR #9668CalculateSourcesSnapshotusing the Target API (#9659)PR #9659Renamesubsystem_ruletoSubsystemRule(#9666)PR #9666ChangeGoalRuleTestBase.execute_ruleto return the captured stderr (#9664)PR #9664RenameSnapshot.directory_digesttoSnapshot.digest(#9658)PR #9658Always registerengine.target.rules()viaengine_initializer.py(#9661)PR #9661Rename severalengine/fs.pytypesPR #9655Make the ExternalTool URL generator an instance method. (#9646)PR #9646Only write to the build root when V2fmtmakes changes (#9652)PR #9652Port the finding of owning targets to the Target API (#9648)PR #9648Compute process execution times by walking the workunit graph (#9622)PR #9622Align the rust and python PathGlobs objects. (#9653)PR #9653Use ExitStack from python standard library. (#9645)PR #9645An ExternalTool subsystem base for downloading external tools. (#9625)PR #9625Use sysconfig.get_platform() (#9644)PR #9644Simplify excluding therequirements.txtfile generated from python_requirements() (#9640)PR #9640Factor up filtering out non-Python targets in V2 (#9638)PR #9638Extract awatchcrate. (#9635)PR #9635Remove premature generalization for AsyncFields (#9632)PR #9632TestingFix selectors test for Python 3.8 (#9642)PR #9642Install Python 3.8 in centos7 docker image (#9670)PR #9670Stabilize the cron CI test suite (#9581)PR #9581Prune the pantsd integration test target (#9660)PR #9660Remoting: ensure oauth token file only has one line (#9630)PR #9630Stop using deprecated assertEquals() (#9682)PR #9682Reduce the # of V1 integration test shards by 1 (#9582)PR #9582DocumentationFix typos in the tests directory. (#9637)PR #9637Prepare 1.26.0 (#9654)PR #96541.28.0.dev0 (4/24/2020)API ChangesRenametarget-types2goal totarget-typesandtargets()register.py entry point totarget_types()(#9618)PR #9618Default to–filedeps-transitive=falseand–dependencies-transitive=false(#9576)PR #9576Require explicit specification of an AWS Lambda runtime. (#9564)PR #9564Revert allowing Python targets to include.cfiles in their sources (#9583)PR #9583New FeaturesAdd a special string <PYENV_LOCAL> to interpreter search path (#9613)PR #9613Prelude file support (#9555)PR #9555BugfixesTemporarily disable./pants backendsgoal due to bug (#9629)PR #9629fix test_platform usages (#9567)PR #9567UseFrozenDictandFrozenOrderedSetfor type safety withUnionMembershipandRegisteredTargetTypes(#9609)PR #9609Fixzip_safefield not being used with V2 binary (#9598)PR #9598Fix python platform spec for AWS Lambdas. (#9600)PR #9600Revert “Add link back to source control dir from physical workdir (#9531)” (#9601)PR #9601Refactoring, Improvements, and ToolingRemove our custom .tar.xz workaround. (#9617)PR #9617Renametargets.pyfiles totarget_types.py(#9616)PR #9616Refactor filtering of valid targets via the engine (#9614)PR #9614Some logger.rs improvements (#9599)PR #9599Renameisolated_process.pytoprocess.py(#9608)PR #9608Factor up flexible handling of invalid target types (#9605)PR #9605Move private engine code intoengine/internals(#9597)PR #9597Break setup_logger into two functions (#9592)PR #9592Factor up common Configuration code (#9557)PR #9557Improve V2 UI messages by describing the scope of the work being done (#9588)PR #9588AddDeduplicatedCollectionto newtypeFrozenOrderedSetin rules (#9590)PR #9590Some ExceptionSink refactors (#9584)PR #9584Logger cleanup (#9578)PR #9578Reorganizeengine/legacyto only have legacy engine code (#9591)PR #9591Remove “Executing process” text from V2 UI (#9568)PR #9568Addengine/collection.pyfor theCollectionnewtype (#9586)PR #9586Addengine/unions.pyto consolidate union types into one file (#9580)PR #9580Addengine/addresses.pyfor consolidatedAddressimports in V2 (#9575)PR #9575Use rust cpu_count crate to determine v2 UI swim lanes (#9574)PR #9574Reorganizerules/coreintocore/goals,core/project_info,core/util_rules, andcore/target_types.py(#9572)PR #9572TestingFix test import and generic alias failures. (#9626)PR #9626Use–go-chrootinternally (#9579)PR #9579DocumentationFixes for the proxy page. (#9628)PR #9628Add description for the validate goal. (#9602)PR #9602Fix typos. (#9607)PR #9607Fix typo in V1 Python interpreter selection error message (#9589)PR #9589