Package: pantsbuild.pants.testinfra
Pants is an Apache2 licensed build tool written in Python.The latest documentation can be found atpantsbuild.1.25.x Stable ReleasesThis document describes releases leading up to the1.25.xstableseries.The1.25.xseries brings two major changes to Pants:Deprecatingglobs(),rglobs(), andzglobs()in BUILD files.Adding file args.Please seehttps://groups.google.com/forum/#!topic/pants-devel/3nmdSeyvwU0for more information.1.25.0 (03/12/2020)The first stable release of the1.25.xseries, with no changes since the previousrc!1.25.0rc1 (03/6/2020)API ChangesAdd backignorefor–files-not-found-behavior(#9175)PR #9175Remove pytest passthrough args deprecation. (#9126)PR #9126Delay removing–test-fastfrom 1.27.0.dev0 to 1.28.0.dev0 (#9250)PR #9250BugfixesCompiler option sets can be lists or sets (#9182)PR #9182Add non-jvm targets with classpath elements to exported modules as libraries. (#9084)PR #9084Revert “Switch to dot idea project type (#8745)” (#9096)PR #9096Re-pin pytest, and add a pin for zipp. (#9095)PR #9095Fix deprecation warning for–transitivefor goals that ignore the option (#9076)PR #9076Trigger warning/error for deprecated Target method overrides. (#9073)PR #9073Fix warnings filtering under pantsd. (#9121)PR #9121Allow test specs to be used with –no-fast for junit (#9093)PR #90931.25.0rc0 (02/4/2020)API ChangesDeprecateglobs,rglobs, andzglobs(#9040)PR #9040Deprecate–owner-ofin favor of file arguments (#9050)PR #9050Deprecate–build-file-importsdefaulting towarnand having the optionallow(#9047)PR #9047Deprecate–glob-expansion-failurein favor of–files-not-found-behavior(#9022)PR #9022[thrift linter] use non-zero exit on warning when strict and zero exit warning when not strict (#9051)PR #9051New FeaturesAllow using file args with every goal (#9048)PR #9048Add–owners-not-found-behavioroption for when file args do not have any owning targets (#9068)PR #9068Support python2 in the setup.py rule. (#8956)PR #8956[IntelliJ] Add compiler options and plugins to the output ofexport-dep-as-jar(#9036)PR #9036[IntelliJ] Addjavac_optionsandextra_jvm_optionsto the output ofexport-dep-as-jar(#9053)PR #9053BugfixesFix Python linters to work withoutpants.backend.pythonregistered (#9059)PR #9059Fix V2testandsetup-py2to work with file args (#9056)PR #9056Split Zinc argfile by newline instead of space (#9065)PR #9065Fix race condition with deprecation warnings (#9060)PR #9060Refactoring, Improvements, and ToolingChange invalid file args to error instead of warn (#9041)PR #9041Preserve the filesystem spec used to find owning targets (#9063)PR #9063Decouple–owner-ofimplementation from–changed-*(#9046)PR #9046Remove deps from the core into the Python backend’s subsystems (#9049)PR #9049Allow options to be registered passively. (#9061)PR #9061Don’t show core goals likebinaryandtestwhen they have no implementation (#9002)PR #9002Remove origin check from release.sh script (#9042)PR #9042Snapshot subset intrinsic (#9006)PR #9006No longer useglobs,rglobs, andzglobsinternally (#9029)PR #9029Stop usingglobsin testprojects/ (#9039)PR #9039Makefix_deprecated_globs_usage.pymore robust (#9067)PR #9067DocumentationUpdate docs to use the new!exclude syntax for BUILD files (#9037)PR #90371.25.0.dev3 (01/29/2020)API ChangesRemove the generate-pants-ini goal. (#8993)PR #8993Deprecate–fastoption (#8970)PR #8970Switch to dot idea project type (#8745)PR #8745Deprecate defaulting to–transitive(#8955)PR #8955Add IPython subsystem and deprecate–repl-pyoptions (#8996)PR #8996Register certain optional conditionally on v1/v2 setup. (#8997)PR #8997New FeaturesAllow filesystem specs withcloc2andvalidate(#8985)PR #8985Allow excludes in BUILD files via new!syntax (#9025)PR #9025BugfixesEnsure that every filesystem spec is valid (#9009)PR #9009remove custom NodeResolveFingerprintStrategy (#8398)PR #8398Removing the exception when setup_py task has no work to do. (#8620)PR #8620Resolve v2 plugins. (#9020)PR #9020FixOutputtingmixin for V2 goals (#9011)PR #9011Fix non-deterministic ConsolidateClasspath (#9001)PR #9001Fixvalidateandcloc2breaking with targets with no sources (#9000)PR #9000Fix rule type hint validation to work withfrom __future__ import annotations(#9004)PR #9004correctly fingerprint scoverage options and copy output into dist/ (#8705)PR #8705Restore support fordependenciesoutputting 3rdparty deps through new enum option (#8960)PR #8960Set workunit parent IDs correctly (fixes #7969) (#8947)PR #8947Refactoring, Improvements, and ToolingModify options parser to allow!in file args (#9031)PR #9031RefactorPathGlobsto support!ignore globs in its constructor (#9032)PR #9032Fix some clippy errors which will appear in 1.41.0 (#9027)PR #9027Expandconfig_test.pyto better define the Config API (#9021)PR #9021Refactorengine/legacy/structs.py(#9023)PR #9023Describe the origin of failure when globs do not match (#9013)PR #9013Small improvements to release script (#8964)PR #8964First usage of async-await (#9018)PR #9018Refactorconfig.pyto allow supporting possible future config file formats (#9014)PR #9014Bump to Rust 1.40 (#9017)PR #9017Improve unmatched globs error message (#9010)PR #9010Improve error messages for rule graph issues (#8998)PR #8998Add type hints tooptions.py,options_bootstrapper.py, andconfig.py(#8990)PR #8990Move intrinsics code into new module (#8999)PR #8999Change distribution lookup for JvmTask subclasses to call into JvmTask (#8938)PR #8938Refactor–changed-include-dependeesto use an Enum option (#8995)PR #8995Allow for deprecation of child scopes (#8984)PR #8984TestingFix Zipp 2.0 release breaking Python 2 integration tests (#8994)PR #8994DocumentationFix typo in in Python examples docs (#8987)PR #89871.25.0.dev2 (01/17/2020)New FeaturesAdd Bandit Python linter (#8929)PR #8929API ChangesDeprecate–fmt-transitiveand–lint-transitiveand switch defaults to False (#8969)PR #8969Use Python 3.6+ by default for Python users (#8968)PR #8968Remove–cloc2-transitive(#8957)PR #8957Refactoring, Improvements, and ToolingIntroduceSourcesSnapshotfor goals that only need source files to operate (#8980)PR #8980Tweak options parser to allow globs in filesystem specs (#8981)PR #8981Gitignore the twine venv created when we run the release script. (#8966)PR #8966Fix more typos (#8983)PR #8983Add type hints tosource/(#8977)PR #8977Add type hints toAddress,Struct,TargetAdaptor,Parser, andHydratedTarget(#8967)PR #8967Stop requesting AddressSpecs in@goal_rules(#8972)PR #8972update maven artifact url (#8975)PR #8975Use daemon thread (#8959)PR #8959Add type hints to the setup of target roots (#8965)PR #8965Port V2python_test_runner.pyintegration tests to V2 style (#8924)PR #89241.25.0.dev1 (01/14/2020)API ChangesMark certain types as “side-effecting” (#8922)PR #8922Rename@console_ruleto@goal_rule(#8942)PR #8942Deprecate–positional-arg-filein favor of–spec-file(#8928)PR #8928Renameoptionable_ruletosubsystem_rule(#8893)PR #8893New FeaturesMake streaming workunits report interval a configurable option (#8946)PR #8946A rule to topologically sort targets. (#8921)PR #8921Add–debugoption to run V2 tests interactively. (#8827)PR #8827Rules to support running setup.py commands (#8882)PR #8882BugfixesSet V2 Pytest pex files as–not-zip-safeto fix occasional hanging (#8953)PR #8953Fix _maybe_handle_help (#8945)PR #8945Refactoring, Improvements, and ToolingUse f-strings insrc/python/pants/pantsd/pailgun_server.py+ fix typos in comments. (#8949)PR #8949Add some type annotations togoal/andauth/(#8934)PR #8934Use f-strings onsrc/python/pants/testutilandsrc/python/pants/util/(#8950)PR #8950Rename public Target methods to useaddress_specinstead ofspec(#8944)PR #8944Only compile non-module exports forexport-dep-as-jargoal (#8914)PR #8914Address some remaining issues with setup-py2. (#8927)PR #8927Tweak the argument parser to allow file system specs (#8932)PR #8932Share the local LMDB store to avoid creating one per test method. (#8933)PR #8933Allowpython_test_runner.pyto get coverage for individual targets (#8910)PR #8910Fix confusing error for an@console_rulenot returning aGoal(#8931)PR #8931Have handle_workunits callback use kwargs (#8918)PR #8918Refactoroptions_test.py(#8906)PR #8906Simplify./pants test –debugrequesting one single address (#8925)PR #8925Stop adding our own colors to V2 test output (#8926)PR #8926Update core test model to include coverage results (#8851)PR #8851Use color in v2 pytest (#8901)PR #8901Hotfix Specs rename conflicting with setup-py2 change (#8920)PR #8920Prepare 1.24.0rc1. (#8919)PR #8919RenameSpectoAddressSpec(#8916)PR #8916Bump up deprecations for the 1.26 series to earlier in the 1.26 dev series (#8908)PR #8908Add type hints tospecs.py(#8913)PR #8913Add experimental –fmt-only flag (#8911)PR #8911Extract rule for preparing chrooted python sources (#8899)PR #8899Adddeprecated.resolve_conflicting_optionsto facilitate moving options (#8903)PR #8903Addshell_strtype to improve–argsoption support (#8904)PR #8904TestingSkip hanging Pantsd integration test (#8961)PR #8961Test multiple V2 formatters modifying the same files (#8850)PR #8850Skip failing tests from #8943 (#8948)PR #8948Addcreate_options_bootstrapper()test util for less boilerplate in V2 tests (#8943)PR #8943DocumentationAdd helpful error message to rule authors when merging non-digests (#8962)PR #8962Fix typo in export docs (#8936)PR #89361.25.0.dev0 (01/06/2020)API ChangesDeprecate–fmt-skipand–lint-skip(#8900)Issue #8346PR #8900Add–skipoption to every linter/formatter subsystem (#8898)PR #8898Add ESLint subsystem and deprecatenode-distributionESLint options (#8891)PR #8891Add–black-skip,–isort-skip, and–flake8-skip(#8888)PR #8888Deprecate runningpython-evalby default (#8889)PR #8889Addscrooge-lintersubsystem and deprecatelint-thriftoptions (#8894)PR #8894Addcheckstylesubsystem and deprecate–lint-checkstyle-configuration(#8896)PR #8896Deprecateoption.custom_types.dict_optionandlist_option(#8885)PR #8885Addscalafix,scalafmt, andscalastylesubsystems and deprecate task-level config options (#8886)PR #8886Stop using Java 6 and 7 internally (#8657)PR #8657Bump default MyPy from 0.740 to 0.761 (#8866)PR #8866BugfixesUse absolute path when running interactive process in tempdir (#8895)PR #8895Fix./pants lint2for Black and isort (#8877)PR #8877PR #8823Provide input_files Digest to InteractiveRunner (#8855)PR #8855Support enums when displaying option help choices (#8853)PR #8853Hotfix MyPy not working on macOS due to type alias (#8887)PR #8887Fix isort, Pytest, and MyPy options to be fingerprinted (#8871)PR #8871Report a deprecation for the option name rather than for the dest. (#8856)PR #8856Refactoring, Improvements, and ToolingUse V2 isort internally (#8756)PR #8756Refactorpython_test_runnerto use the new pex creation rule  (#8852)PR #8852Add type hints tooption/andsubsystem/(#8878)PR #8878Replace deprecatedassertRaisesRegexpwithassertRaisesRegex(#8879)PR #8879Remove deprecated–pytest-requirements,–pytest-timeout-requirements,–pytest-cov-requirements, and–pytest-unittest2-requirements(#8876)PR #8876Partially type check remaining 250 files (#8875)PR #8875Stop referencing Python 4 in Python interpreter constraints (#8867)PR #8867Partially type checkTestBaseand 235 test files (#8874)PR #8874Finish partially type checking allsrccode (#8865)PR #8865Refactoroptionandsubsystemtests (#8872)PR #8872Type checkbuild-support/bin/generate_travis_yml.py(#8868)PR #8868Moveoptionandsubsystemtests fromtests/pythontosrc/python(#8870)PR #8870make match() on Enum into a top-level function in meta.py (#8504)PR #8504add SingleFileExecutable to make it easier to consume Snapshots of executables (#8860)PR #8860improve ergonomics of checking for @union types with new @decorated_type_checkable decorator (#8496)PR #8496Partially type checkbackend/nativeand 100 more files (#8864)PR #8864Fix type hints for decorators inmemo.pyandmeta.py(#8863)PR #8863[IntelliJ] Export only modulizable targets when inexport-dep-as-jar(#8812)PR #8812Use raw strings to fix regex deprecation warnings (#8880)PR #8880