From 16e814ceb7ecebedc8de8be5a57c0ed6b7bcc3e2 Mon Sep 17 00:00:00 2001 From: "Worker Pants (Pantsbuild GitHub Automation Bot)" Date: Fri, 26 Jul 2024 22:59:35 +0000 Subject: [PATCH] Update docs site for version 2.21.1rc1 --- .../version-2.21/docs/python/goals/repl.mdx | 32 +- .../version-2.21/reference/help-all.json | 1403 +++++++++-------- .../subsystems/google-java-format.mdx | 2 +- .../reference/subsystems/jarjar.mdx | 2 +- .../reference/subsystems/java-avro.mdx | 2 +- .../reference/subsystems/junit.mdx | 2 +- .../reference/subsystems/ktlint.mdx | 2 +- .../subsystems/openapi-generator.mdx | 2 +- .../subsystems/protobuf-java-grpc.mdx | 2 +- .../reference/subsystems/scalafix.mdx | 2 +- .../reference/subsystems/scalafmt.mdx | 2 +- .../reference/subsystems/scalapb.mdx | 2 +- .../reference/subsystems/scalatest.mdx | 2 +- .../reference/subsystems/scrooge.mdx | 2 +- .../reference/targets/jvm_artifact.mdx | 2 +- .../reference/targets/pants_requirements.mdx | 2 +- .../reference/targets/python_requirement.mdx | 4 +- .../reference/targets/scala_artifact.mdx | 2 +- 18 files changed, 737 insertions(+), 732 deletions(-) diff --git a/versioned_docs/version-2.21/docs/python/goals/repl.mdx b/versioned_docs/version-2.21/docs/python/goals/repl.mdx index d973266b5..4bbfec45f 100644 --- a/versioned_docs/version-2.21/docs/python/goals/repl.mdx +++ b/versioned_docs/version-2.21/docs/python/goals/repl.mdx @@ -20,35 +20,25 @@ To use IPython, run `pants repl --shell=ipython`. To permanently use IPython, ad shell = "ipython" ``` -You can change IPython's version with `[ipython].version`. If you change it, Pants's default lockfile for IPython will not work. Either set the `lockfile` option to a custom path or `""` to opt-out. See [Third-party dependencies](../overview/third-party-dependencies.mdx#tool-lockfiles). +You can change IPython's version [like any other tool, using `install_from_resolve`](../overview/lockfiles#lockfiles-for-tools). -```toml title="pants.toml" -[ipython] -version = "ipython>=8.0.0" -lockfile = "3rdparty/python/ipython_lock.txt" -``` - -If you set the `version` lower than IPython 7, then you must set `[ipython].ignore_cwd = false` to avoid Pants setting an option that did not exist in earlier IPython releases. +If you use a version lower than IPython 7, then you must set `[ipython].ignore_cwd = false` to avoid Pants setting an option that did not exist in earlier IPython releases. :::note Python 2 support -Pants uses IPython 7 by default, which does not work with Python 2. You can override `version` to use IPython 5. As mentioned above, you must set `ignore_cwd = false`. +Pants uses IPython 7 by default, which does not work with Python 2. You can use `install_from_resolve` to install IPython 5: -```toml -[ipython] -version = "ipython<6" -lockfile = "3rdparty/python/ipython_lock.txt" -ignore_cwd = false -``` +```toml tab={"label":"pants.toml"} +[python.resolves] +... +ipython = "3rdparty/python/ipython.lock" -You can even use IPython 7 for Python 3 code, and IPython 5 for Python 2 code: - -```toml [ipython] -version = "ipython==7.16.1 ; python_version >= '3.6'" -extra_requirements.add = ["ipython<6 ; python_version == '2.7'"] -lockfile = "3rdparty/python/ipython_lock.txt" +install_from_resolve = "ipython" ignore_cwd = false ``` +```toml tab={"label": "BUILD"} +python_requirement(name="ipython", requirements=["ipython<6"], resolve="ipython") +``` ::: diff --git a/versioned_docs/version-2.21/reference/help-all.json b/versioned_docs/version-2.21/reference/help-all.json index 3029c0c93..8469ebb77 100644 --- a/versioned_docs/version-2.21/reference/help-all.json +++ b/versioned_docs/version-2.21/reference/help-all.json @@ -11007,7 +11007,7 @@ ], "env_var": "PANTS_GOOGLE_JAVA_FORMAT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=google-java-format`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=google-java-format`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -14349,7 +14349,7 @@ ], "env_var": "PANTS_JARJAR_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=jarjar`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=jarjar`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -14669,7 +14669,7 @@ ], "env_var": "PANTS_JAVA_AVRO_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=java-avro`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=java-avro`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -15033,7 +15033,7 @@ ], "env_var": "PANTS_JUNIT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=junit`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=junit`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -15835,7 +15835,7 @@ ], "env_var": "PANTS_KTLINT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=ktlint`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=ktlint`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -18605,7 +18605,7 @@ ], "env_var": "PANTS_OPENAPI_GENERATOR_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=openapi-generator`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=openapi-generator`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -20499,7 +20499,7 @@ ], "env_var": "PANTS_PROTOBUF_JAVA_GRPC_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=protobuf-java-grpc`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=protobuf-java-grpc`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -26316,7 +26316,7 @@ "details": "", "rank": "HARDCODED", "value": { - "user-agent": "pants/2.21.0" + "user-agent": "pants/2.21.1rc1" } } ] @@ -26692,7 +26692,7 @@ "details": "", "rank": "HARDCODED", "value": { - "user-agent": "pants/2.21.0" + "user-agent": "pants/2.21.1rc1" } } ] @@ -27836,7 +27836,7 @@ ], "env_var": "PANTS_SCALAFIX_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafix`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafix`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -28199,7 +28199,7 @@ ], "env_var": "PANTS_SCALAFMT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafmt`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafmt`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -28482,7 +28482,7 @@ ], "env_var": "PANTS_SCALAPB_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalapb`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalapb`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -28682,7 +28682,7 @@ ], "env_var": "PANTS_SCALATEST_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalatest`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalatest`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -29385,7 +29385,7 @@ ], "env_var": "PANTS_SCROOGE_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scrooge`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scrooge`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -34678,12 +34678,12 @@ { "details": null, "rank": "HARDCODED", - "value": "2.21.0" + "value": "2.21.1rc1" }, { "details": "from env var PANTS_VERSION", "rank": "ENVIRONMENT", - "value": "2.21.0" + "value": "2.21.1rc1" } ] } @@ -35713,22 +35713,22 @@ "name_to_api_type_info": { "abc.EnvironmentAware": { "consumed_by_rules": [ - "pants.jvm.jdk_rules.prepare_jdk_environment" + "pants.backend.python.providers.pyenv.rules.get_pyenv_install_info" ], "dependencies": [ "pants.backend.experimental.javascript", "pants.core" ], "dependents": [ - "pants.backend.experimental.java" + "pants.backend.python.providers.experimental.pyenv" ], "documentation": null, "is_union": false, "module": "abc", "name": "EnvironmentAware", - "provider": "pants.backend.experimental.java", + "provider": "pants.backend.python.providers.experimental.pyenv", "returned_by_rules": [ - "construct_env_aware_scope_jvm" + "construct_env_aware_scope_pyenv_python_provider" ], "union_members": [], "union_type": null, @@ -59437,19 +59437,19 @@ }, "pants.core.goals.fix.Batch": { "consumed_by_rules": [ - "pants.backend.java.lint.google_java_format.rules.google_java_format_fmt" + "pants.backend.build_files.fmt.black.register.black_fmt" ], "dependencies": [ "pants.core" ], "dependents": [ - "pants.backend.experimental.java.lint.google_java_format" + "pants.backend.build_files.fmt.black" ], "documentation": "Batch(tool_name: 'str', elements: 'tuple[PartitionElementT, ...]', partition_metadata: 'PartitionMetadataT', snapshot: 'Snapshot')", "is_union": true, "module": "pants.core.goals.fix", "name": "Batch", - "provider": "pants.backend.experimental.java.lint.google_java_format", + "provider": "pants.backend.build_files.fmt.black", "returned_by_rules": [], "union_members": [], "union_type": "Batch", @@ -60348,19 +60348,19 @@ }, "pants.core.goals.lint.Batch": { "consumed_by_rules": [ - "pants.backend.go.lint.golangci_lint.rules.run_golangci_lint" + "pants.backend.python.lint.pylint.rules.run_pylint" ], "dependencies": [ "pants.core" ], "dependents": [ - "pants.backend.experimental.go.lint.golangci_lint" + "pants.backend.python.lint.pylint" ], "documentation": null, "is_union": true, "module": "pants.core.goals.lint", "name": "Batch", - "provider": "pants.backend.experimental.go.lint.golangci_lint", + "provider": "pants.backend.python.lint.pylint", "returned_by_rules": [], "union_members": [], "union_type": "Batch", @@ -60536,41 +60536,24 @@ "used_in_rules": [] }, "pants.core.goals.lint.PartitionRequest": { - "consumed_by_rules": [], - "dependencies": [], + "consumed_by_rules": [ + "pants.backend.scala.lint.scalafix.rules._scalafix_lint_partitions" + ], + "dependencies": [ + "pants.core" + ], "dependents": [ - "pants.backend.build_files.fix.deprecations", - "pants.backend.build_files.fmt.black", - "pants.backend.build_files.fmt.buildifier", - "pants.backend.build_files.fmt.ruff", - "pants.backend.build_files.fmt.yapf", - "pants.backend.experimental.tools.yamllint", - "pants.backend.project_info", - "pants.backend.tools.preamble", - "pants.backend.tools.taplo" + "pants.backend.experimental.scala.lint.scalafix" ], "documentation": null, "is_union": true, "module": "pants.core.goals.lint", "name": "PartitionRequest", - "provider": "pants.core", + "provider": "pants.backend.experimental.scala.lint.scalafix", "returned_by_rules": [], - "union_members": [ - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest", - "PartitionRequest" - ], - "union_type": null, - "used_in_rules": [ - "pants.core.goals.lint.lint" - ] + "union_members": [], + "union_type": "PartitionRequest", + "used_in_rules": [] }, "pants.core.goals.package.AllPackageableTargets": { "consumed_by_rules": [ @@ -61680,21 +61663,21 @@ }, "pants.core.goals.test.Batch": { "consumed_by_rules": [ - "pants.backend.scala.test.scalatest.run_scalatest_test", - "pants.backend.scala.test.scalatest.setup_scalatest_debug_request", - "pants.core.goals.test._unsupported_debug_adapter_rules.get_test_debug_adapter_request_ScalatestTestRequest" + "pants.backend.python.goals.pytest_runner.debug_python_test", + "pants.backend.python.goals.pytest_runner.debugpy_python_test", + "pants.backend.python.goals.pytest_runner.run_python_tests" ], "dependencies": [ "pants.core" ], "dependents": [ - "pants.backend.experimental.scala" + "pants.backend.python" ], "documentation": null, "is_union": true, "module": "pants.core.goals.test", "name": "Batch", - "provider": "pants.backend.experimental.scala", + "provider": "pants.backend.python", "returned_by_rules": [], "union_members": [], "union_type": "Batch", @@ -63441,7 +63424,7 @@ "is_union": false, "module": "pants.core.util_rules.environments", "name": "OptionField", - "provider": "pants.core", + "provider": "pants.backend.experimental.javascript", "returned_by_rules": [], "union_members": [], "union_type": "PluginField", @@ -64784,19 +64767,19 @@ }, "pants.core.util_rules.wrap_source.GenerateWrapSourceSourcesRequest": { "consumed_by_rules": [ - "pants.core.util_rules.wrap_source.wrap_source_rule_and_target.wrap_source_KotlinSourceField" + "pants.core.util_rules.wrap_source.wrap_source_rule_and_target.wrap_source_ResourceSourceField" ], "dependencies": [ "pants.engine.target" ], "dependents": [ - "pants.backend.experimental.kotlin" + "pants.core" ], "documentation": null, "is_union": false, "module": "pants.core.util_rules.wrap_source", "name": "GenerateWrapSourceSourcesRequest", - "provider": "pants.backend.experimental.kotlin", + "provider": "pants.core", "returned_by_rules": [], "union_members": [], "union_type": "GenerateSourcesRequest", @@ -65718,7 +65701,8 @@ "pants.backend.javascript.dependency_inference.rules.infer_js_source_dependencies", "pants.backend.javascript.dependency_inference.rules.infer_node_package_dependencies", "pants.backend.python.dependency_inference.rules.infer_python_conftest_dependencies", - "pants.backend.python.dependency_inference.rules.infer_python_init_dependencies" + "pants.backend.python.dependency_inference.rules.infer_python_init_dependencies", + "pants.backend.python.util_rules.pex_from_targets.create_pex_from_targets" ] }, "pants.engine.internals.graph.OwnersRequest": { @@ -65741,7 +65725,8 @@ "pants.backend.javascript.dependency_inference.rules.infer_js_source_dependencies", "pants.backend.javascript.dependency_inference.rules.infer_node_package_dependencies", "pants.backend.python.dependency_inference.rules.infer_python_conftest_dependencies", - "pants.backend.python.dependency_inference.rules.infer_python_init_dependencies" + "pants.backend.python.dependency_inference.rules.infer_python_init_dependencies", + "pants.backend.python.util_rules.pex_from_targets.create_pex_from_targets" ] }, "pants.engine.internals.graph.ResolveAllTargetGeneratorRequests": { @@ -67769,8 +67754,22 @@ "consumed_by_rules": [], "dependencies": [], "dependents": [ - "pants.backend.experimental.scala.lint.scalafix", - "pants.backend.experimental.scala.lint.scalafmt" + "pants.backend.experimental.python.lint.add_trailing_comma", + "pants.backend.experimental.python.lint.ruff", + "pants.backend.experimental.python.lint.ruff.format", + "pants.backend.experimental.python.typecheck.pyright", + "pants.backend.experimental.python.typecheck.pytype", + "pants.backend.python.lint.autoflake", + "pants.backend.python.lint.bandit", + "pants.backend.python.lint.black", + "pants.backend.python.lint.docformatter", + "pants.backend.python.lint.flake8", + "pants.backend.python.lint.isort", + "pants.backend.python.lint.pydocstyle", + "pants.backend.python.lint.pylint", + "pants.backend.python.lint.pyupgrade", + "pants.backend.python.lint.yapf", + "pants.backend.python.typecheck.mypy" ], "documentation": null, "is_union": true, @@ -67779,8 +67778,23 @@ "provider": "pants.engine.target", "returned_by_rules": [], "union_members": [ - "SkipScalafixField", - "SkipScalafmtField" + "SkipAddTrailingCommaField", + "SkipAutoflakeField", + "SkipBanditField", + "SkipBlackField", + "SkipDocformatterField", + "SkipFlake8Field", + "SkipIsortField", + "SkipMyPyField", + "SkipPyUpgradeField", + "SkipPydocstyleField", + "SkipPylintField", + "SkipPyrightField", + "SkipPytypeField", + "SkipRuffCheckField", + "SkipRuffField", + "SkipRuffFormatField", + "SkipYapfField" ], "union_type": null, "used_in_rules": [] @@ -71008,7 +71022,7 @@ "consumed_by_rules": [], "dependencies": [], "dependents": [ - "pants.backend.experimental.docker.podman" + "pants.backend.python" ], "documentation": null, "is_union": true, @@ -71017,7 +71031,7 @@ "provider": "pants.option.subsystem", "returned_by_rules": [], "union_members": [ - "ExperimentalPodmanOptions" + "ExportPluginOptions" ], "union_type": null, "used_in_rules": [] @@ -82982,6 +82996,7 @@ "Get(TransitiveTargets, TransitiveTargetsRequest, ..)", "Get(PythonSourceFiles, PythonSourceFilesRequest, ..)", "Get(Targets, Addresses, ..)", + "Get(Owners, OwnersRequest, ..)", "Get(LocalDistsPex, LocalDistsPexRequest, ..)", "Get(StrippedPythonSourceFiles, PythonSourceFiles, ..)", "Get(Digest, MergeDigests, ..)" @@ -89912,234 +89927,234 @@ "type_hint": "str | None" }, { - "alias": "golang_cgo_cxx_flags", + "alias": "python_native_code_cpp_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_executable_search_paths", + "alias": "python_native_code_ld_flags", "default": null, - "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_external_linker_binary_name", + "alias": "golang_cgo_fortran_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "str | None" }, { - "alias": "pex_executable_search_paths", + "alias": "python_bootstrap_names", "default": null, - "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_corepack_env_vars", + "alias": "golang_cgo_gcc_binary_name", "default": null, - "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "shell_setup_executable_search_paths", + "alias": "test_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.shell", + "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gcc_binary_name", + "alias": "golang_cgo_cxx_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "go_generate_env_vars", + "alias": "nodejs_corepack_env_vars", "default": null, - "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_fortran_binary_name", + "alias": "go_generate_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "docker_executable_search_paths", + "alias": "nodejs_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "apache_thrift_thrift_search_paths", + "alias": "jvm_global_options", "default": null, - "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", - "provider": "pants.backend.codegen.thrift.apache.python", + "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", + "provider": "pants.backend.experimental.java", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_tool_search_paths", + "alias": "golang_go_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "subprocess_environment_env_vars", + "alias": "pex_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", + "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "test_extra_env_vars", + "alias": "shell_setup_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.shell", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_native_code_ld_flags", + "alias": "subprocess_environment_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_names", + "alias": "golang_external_linker_binary_name", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "python_native_code_cpp_flags", + "alias": "pyenv_python_provider_installation_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", + "provider": "pants.backend.python.providers.experimental.pyenv", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_go_search_paths", + "alias": "golang_cgo_gxx_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "golang_cgo_fortran_flags", + "alias": "python_bootstrap_search_path", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_linker_flags", + "alias": "golang_cgo_tool_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_search_path", + "alias": "docker_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_c_flags", + "alias": "golang_cgo_fortran_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "pyenv_python_provider_installation_extra_env_vars", + "alias": "golang_cgo_linker_flags", "default": null, - "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", - "provider": "pants.backend.python.providers.experimental.pyenv", + "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "system_binaries_system_binary_paths", + "alias": "nodejs_search_path", "default": null, - "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "docker_env_vars", + "alias": "golang_subprocess_env_vars", "default": null, - "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gxx_binary_name", + "alias": "docker_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "jvm_global_options", + "alias": "apache_thrift_thrift_search_paths", "default": null, - "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", - "provider": "pants.backend.experimental.java", + "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", + "provider": "pants.backend.codegen.thrift.apache.python", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_subprocess_env_vars", + "alias": "system_binaries_system_binary_paths", "default": null, - "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_search_path", + "alias": "golang_cgo_c_flags", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" } @@ -91088,18 +91103,18 @@ "type_hint": "bool" }, { - "alias": "skip_gofmt", + "alias": "skip_go_vet", "default": "False", - "description": "If true, don't run gofmt on this package.", - "provider": "pants.backend.experimental.go", + "description": "If true, don't run `go vet` on this target's code.", + "provider": "pants.backend.experimental.go.lint.vet", "required": false, "type_hint": "bool" }, { - "alias": "skip_go_vet", + "alias": "skip_gofmt", "default": "False", - "description": "If true, don't run `go vet` on this target's code.", - "provider": "pants.backend.experimental.go.lint.vet", + "description": "If true, don't run gofmt on this package.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "bool" }, @@ -91320,52 +91335,44 @@ "type_hint": "bool" }, { - "alias": "kubeconform_reject_kinds", + "alias": "kubeconform_ignore_sources", "default": null, - "description": "List of kinds or GVKs to reject.", + "description": "Regular expression patterns specifying paths to ignore.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_strict", + "alias": "kubeconform_kubernetes_version", "default": null, - "description": "Run Kubeconform in strict mode.", + "description": "Kubernetes version to use for the validation.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "bool | None" + "type_hint": "str | None" }, { - "alias": "kubeconform_skip_kinds", + "alias": "kubeconform_reject_kinds", "default": null, - "description": "List of kinds or GVKs to ignore.", + "description": "List of kinds or GVKs to reject.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_ignore_missing_schemas", - "default": null, - "description": "Whether to fail if there are missing schemas for custom resources.", - "provider": "pants.backend.experimental.helm.check.kubeconform", - "required": false, - "type_hint": "bool | None" - }, - { - "alias": "kubeconform_kubernetes_version", + "alias": "kubeconform_skip_kinds", "default": null, - "description": "Kubernetes version to use for the validation.", + "description": "List of kinds or GVKs to ignore.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_ignore_sources", + "alias": "kubeconform_strict", "default": null, - "description": "Regular expression patterns specifying paths to ignore.", + "description": "Run Kubeconform in strict mode.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "bool | None" }, { "alias": "skip_kubeconform", @@ -91374,6 +91381,14 @@ "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "bool" + }, + { + "alias": "kubeconform_ignore_missing_schemas", + "default": null, + "description": "Whether to fail if there are missing schemas for custom resources.", + "provider": "pants.backend.experimental.helm.check.kubeconform", + "required": false, + "type_hint": "bool | None" } ], "provider": "pants.backend.experimental.helm", @@ -91488,52 +91503,44 @@ "type_hint": "bool" }, { - "alias": "kubeconform_reject_kinds", + "alias": "kubeconform_ignore_sources", "default": null, - "description": "List of kinds or GVKs to reject.", + "description": "Regular expression patterns specifying paths to ignore.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_strict", + "alias": "kubeconform_kubernetes_version", "default": null, - "description": "Run Kubeconform in strict mode.", + "description": "Kubernetes version to use for the validation.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "bool | None" + "type_hint": "str | None" }, { - "alias": "kubeconform_skip_kinds", + "alias": "kubeconform_reject_kinds", "default": null, - "description": "List of kinds or GVKs to ignore.", + "description": "List of kinds or GVKs to reject.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_ignore_missing_schemas", - "default": null, - "description": "Whether to fail if there are missing schemas for custom resources.", - "provider": "pants.backend.experimental.helm.check.kubeconform", - "required": false, - "type_hint": "bool | None" - }, - { - "alias": "kubeconform_kubernetes_version", + "alias": "kubeconform_skip_kinds", "default": null, - "description": "Kubernetes version to use for the validation.", + "description": "List of kinds or GVKs to ignore.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "kubeconform_ignore_sources", + "alias": "kubeconform_strict", "default": null, - "description": "Regular expression patterns specifying paths to ignore.", + "description": "Run Kubeconform in strict mode.", "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "bool | None" }, { "alias": "skip_kubeconform", @@ -91542,6 +91549,14 @@ "provider": "pants.backend.experimental.helm.check.kubeconform", "required": false, "type_hint": "bool" + }, + { + "alias": "kubeconform_ignore_missing_schemas", + "default": null, + "description": "Whether to fail if there are missing schemas for custom resources.", + "provider": "pants.backend.experimental.helm.check.kubeconform", + "required": false, + "type_hint": "bool | None" } ], "provider": "pants.backend.experimental.helm", @@ -92274,7 +92289,7 @@ { "alias": "packages", "default": null, - "description": "The JVM packages this artifact provides for the purposes of dependency inference.\n\nFor example, the JVM artifact `junit:junit` might provide `[\"org.junit.**\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `[\"io.confluent.**\"]`.\n\nThe package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `[\"org.junit.**\"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages.", + "description": "The JVM packages this artifact provides for the purposes of dependency inference.\n\nFor example, the JVM artifact `junit:junit` might provide `[\"org.junit.**\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `[\"io.confluent.**\"]`.\n\nThe package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `[\"org.junit.**\"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages.", "provider": "", "required": false, "type_hint": "Iterable[str] | None" @@ -92896,234 +92911,234 @@ "type_hint": "str | None" }, { - "alias": "golang_cgo_cxx_flags", + "alias": "python_native_code_cpp_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_executable_search_paths", + "alias": "python_native_code_ld_flags", "default": null, - "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_external_linker_binary_name", + "alias": "golang_cgo_fortran_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "str | None" }, { - "alias": "pex_executable_search_paths", + "alias": "python_bootstrap_names", "default": null, - "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_corepack_env_vars", + "alias": "golang_cgo_gcc_binary_name", "default": null, - "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "shell_setup_executable_search_paths", + "alias": "test_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.shell", + "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gcc_binary_name", + "alias": "golang_cgo_cxx_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "go_generate_env_vars", + "alias": "nodejs_corepack_env_vars", "default": null, - "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_fortran_binary_name", + "alias": "go_generate_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "docker_executable_search_paths", + "alias": "nodejs_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "apache_thrift_thrift_search_paths", + "alias": "jvm_global_options", "default": null, - "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", - "provider": "pants.backend.codegen.thrift.apache.python", + "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", + "provider": "pants.backend.experimental.java", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_tool_search_paths", + "alias": "golang_go_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "subprocess_environment_env_vars", + "alias": "pex_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", + "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "test_extra_env_vars", + "alias": "shell_setup_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.shell", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_names", + "alias": "subprocess_environment_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", + "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_native_code_ld_flags", + "alias": "golang_external_linker_binary_name", "default": null, - "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "python_native_code_cpp_flags", + "alias": "pyenv_python_provider_installation_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", + "provider": "pants.backend.python.providers.experimental.pyenv", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_go_search_paths", + "alias": "golang_cgo_gxx_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "golang_cgo_fortran_flags", + "alias": "python_bootstrap_search_path", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_linker_flags", + "alias": "golang_cgo_tool_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_search_path", + "alias": "docker_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_c_flags", + "alias": "golang_cgo_fortran_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "pyenv_python_provider_installation_extra_env_vars", + "alias": "golang_cgo_linker_flags", "default": null, - "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", - "provider": "pants.backend.python.providers.experimental.pyenv", + "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "system_binaries_system_binary_paths", + "alias": "nodejs_search_path", "default": null, - "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "docker_env_vars", + "alias": "golang_subprocess_env_vars", "default": null, - "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gxx_binary_name", + "alias": "docker_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "jvm_global_options", + "alias": "apache_thrift_thrift_search_paths", "default": null, - "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", - "provider": "pants.backend.experimental.java", + "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", + "provider": "pants.backend.codegen.thrift.apache.python", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_subprocess_env_vars", + "alias": "system_binaries_system_binary_paths", "default": null, - "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_search_path", + "alias": "golang_cgo_c_flags", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" } @@ -93271,14 +93286,6 @@ "required": true, "type_hint": "str" }, - { - "alias": "jvm_jdk", - "default": null, - "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", - "provider": "pants.backend.experimental.openapi.codegen.java", - "required": false, - "type_hint": "str | None" - }, { "alias": "skip_spectral", "default": "False", @@ -93318,6 +93325,14 @@ "provider": "pants.backend.experimental.openapi.codegen.java", "required": false, "type_hint": "str | None" + }, + { + "alias": "jvm_jdk", + "default": null, + "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", + "provider": "pants.backend.experimental.openapi.codegen.java", + "required": false, + "type_hint": "str | None" } ], "provider": "pants.backend.experimental.openapi", @@ -93351,14 +93366,6 @@ "required": false, "type_hint": "Iterable[str] | None" }, - { - "alias": "jvm_jdk", - "default": null, - "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", - "provider": "pants.backend.experimental.openapi.codegen.java", - "required": false, - "type_hint": "str | None" - }, { "alias": "skip_spectral", "default": "False", @@ -93399,6 +93406,14 @@ "required": false, "type_hint": "str | None" }, + { + "alias": "jvm_jdk", + "default": null, + "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", + "provider": "pants.backend.experimental.openapi.codegen.java", + "required": false, + "type_hint": "str | None" + }, { "alias": "dependencies", "default": null, @@ -93577,7 +93592,7 @@ }, { "alias": "version_spec", - "default": "'== 2.21.0'", + "default": "'== 2.21.1rc1'", "description": "The PEP 440 version specifier version of Pants to target. E.g. `== 2.15.*`, or `>= 2.16.0, < 2.17.0`", "provider": "", "required": false, @@ -94232,26 +94247,26 @@ "type_hint": "bool" }, { - "alias": "jvm_jdk", + "alias": "python_source_root", "default": null, - "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", - "provider": "pants.backend.experimental.codegen.protobuf.java", + "description": "The source root to generate Python sources under.\n\nIf unspecified, the source root the `protobuf_sources` is under will be used.", + "provider": "pants.backend.codegen.protobuf.python", "required": false, "type_hint": "str | None" }, { - "alias": "python_interpreter_constraints", + "alias": "go_mod_address", "default": null, - "description": "The Python interpreters this code is compatible with.\n\nEach element should be written in pip-style format, e.g. `CPython==2.7.*` or `CPython>=3.6,<4`. You can leave off `CPython` as a shorthand, e.g. `>=2.7` will be expanded to `CPython>=2.7`.\n\nSpecify more than one element to OR the constraints, e.g. `['PyPy==3.7.*', 'CPython==3.7.*']` means either PyPy 3.7 _or_ CPython 3.7.\n\nIf the field is not set, it will default to the option `[python].interpreter_constraints`.\n\nSee https://www.pantsbuild.org/2.21/docs/python/overview/interpreter-compatibility for how these interpreter constraints are merged with the constraints of dependencies.", - "provider": "pants.backend.codegen.protobuf.python", + "description": "Address of the `go_mod` target representing the Go module that this target is part of.\n\nThis field is similar to the `resolve` field used in the Python and JVM backends. If a codegen target such as `protobuf_sources` will be used in multiple Go modules, then you should use the `parametrize` built-in to parametrize that `protobuf_sources` target for each Go module.\n\nIf there is a single `go_mod` target in the repository, then this field defaults to the address for that single `go_mod` target.", + "provider": "pants.backend.experimental.codegen.protobuf.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "go_mod_address", + "alias": "python_resolve", "default": null, - "description": "Address of the `go_mod` target representing the Go module that this target is part of.\n\nThis field is similar to the `resolve` field used in the Python and JVM backends. If a codegen target such as `protobuf_sources` will be used in multiple Go modules, then you should use the `parametrize` built-in to parametrize that `protobuf_sources` target for each Go module.\n\nIf there is a single `go_mod` target in the repository, then this field defaults to the address for that single `go_mod` target.", - "provider": "pants.backend.experimental.codegen.protobuf.go", + "description": "The resolve from `[python].resolves` to use.\n\nIf not defined, will default to `[python].default_resolve`.\n\nAll dependencies must share the same value for their `resolve` field.", + "provider": "pants.backend.codegen.protobuf.python", "required": false, "type_hint": "str | None" }, @@ -94264,36 +94279,36 @@ "type_hint": "bool" }, { - "alias": "skip_buf_lint", - "default": "False", - "description": "If true, don't run `buf lint` on this target's code.", - "provider": "pants.backend.codegen.protobuf.lint.buf", + "alias": "jvm_resolve", + "default": null, + "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", + "provider": "pants.backend.experimental.codegen.protobuf.java", "required": false, - "type_hint": "bool" + "type_hint": "str | None" }, { - "alias": "python_source_root", + "alias": "python_interpreter_constraints", "default": null, - "description": "The source root to generate Python sources under.\n\nIf unspecified, the source root the `protobuf_sources` is under will be used.", + "description": "The Python interpreters this code is compatible with.\n\nEach element should be written in pip-style format, e.g. `CPython==2.7.*` or `CPython>=3.6,<4`. You can leave off `CPython` as a shorthand, e.g. `>=2.7` will be expanded to `CPython>=2.7`.\n\nSpecify more than one element to OR the constraints, e.g. `['PyPy==3.7.*', 'CPython==3.7.*']` means either PyPy 3.7 _or_ CPython 3.7.\n\nIf the field is not set, it will default to the option `[python].interpreter_constraints`.\n\nSee https://www.pantsbuild.org/2.21/docs/python/overview/interpreter-compatibility for how these interpreter constraints are merged with the constraints of dependencies.", "provider": "pants.backend.codegen.protobuf.python", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "jvm_resolve", + "alias": "jvm_jdk", "default": null, - "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", + "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", "provider": "pants.backend.experimental.codegen.protobuf.java", "required": false, "type_hint": "str | None" }, { - "alias": "python_resolve", - "default": null, - "description": "The resolve from `[python].resolves` to use.\n\nIf not defined, will default to `[python].default_resolve`.\n\nAll dependencies must share the same value for their `resolve` field.", - "provider": "pants.backend.codegen.protobuf.python", + "alias": "skip_buf_lint", + "default": "False", + "description": "If true, don't run `buf lint` on this target's code.", + "provider": "pants.backend.codegen.protobuf.lint.buf", "required": false, - "type_hint": "str | None" + "type_hint": "bool" } ], "provider": "pants.backend.codegen.protobuf.python", @@ -94335,14 +94350,6 @@ "required": false, "type_hint": "Dict[Union[str, Tuple[str, ...]], Dict[str, Any]] | None" }, - { - "alias": "jvm_jdk", - "default": null, - "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", - "provider": "pants.backend.experimental.codegen.protobuf.java", - "required": false, - "type_hint": "str | None" - }, { "alias": "go_mod_address", "default": null, @@ -94359,14 +94366,6 @@ "required": false, "type_hint": "bool" }, - { - "alias": "skip_buf_lint", - "default": "False", - "description": "If true, don't run `buf lint` on this target's code.", - "provider": "pants.backend.codegen.protobuf.lint.buf", - "required": false, - "type_hint": "bool" - }, { "alias": "jvm_resolve", "default": null, @@ -94376,13 +94375,21 @@ "type_hint": "str | None" }, { - "alias": "python_source_root", + "alias": "jvm_jdk", "default": null, - "description": "The source root to generate Python sources under.\n\nIf unspecified, the source root the `protobuf_sources` is under will be used.", - "provider": "", + "description": "The major version of the JDK that this target should be built with. If not defined, will default to `[jvm].default_source_jdk`.", + "provider": "pants.backend.experimental.codegen.protobuf.java", "required": false, "type_hint": "str | None" }, + { + "alias": "skip_buf_lint", + "default": "False", + "description": "If true, don't run `buf lint` on this target's code.", + "provider": "pants.backend.codegen.protobuf.lint.buf", + "required": false, + "type_hint": "bool" + }, { "alias": "python_interpreter_constraints", "default": null, @@ -94399,6 +94406,14 @@ "required": false, "type_hint": "str | None" }, + { + "alias": "python_source_root", + "default": null, + "description": "The source root to generate Python sources under.\n\nIf unspecified, the source root the `protobuf_sources` is under will be used.", + "provider": "", + "required": false, + "type_hint": "str | None" + }, { "alias": "grpc", "default": "False", @@ -94807,14 +94822,6 @@ "required": false, "type_hint": "str | None" }, - { - "alias": "skip_twine", - "default": "False", - "description": "If true, don't publish this target's packages using Twine.", - "provider": "pants.backend.experimental.python", - "required": false, - "type_hint": "bool" - }, { "alias": "uses_mypyc", "default": "False", @@ -94830,6 +94837,14 @@ "provider": "pants.backend.experimental.python", "required": false, "type_hint": "Iterable[str] | None" + }, + { + "alias": "skip_twine", + "default": "False", + "description": "If true, don't publish this target's packages using Twine.", + "provider": "pants.backend.experimental.python", + "required": false, + "type_hint": "bool" } ], "provider": "pants.backend.python", @@ -94970,7 +94985,7 @@ { "alias": "modules", "default": null, - "description": "The modules this requirement provides (used for dependency inference).\n\nFor example, the requirement `setuptools` provides `[\"setuptools\", \"pkg_resources\", \"easy_install\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/python/dependency_inference/default_module_mapping.py), and then will default to the normalized project name. For example, the requirement `Django` would default to the module `django`.\n\nMutually exclusive with the `type_stub_modules` field.", + "description": "The modules this requirement provides (used for dependency inference).\n\nFor example, the requirement `setuptools` provides `[\"setuptools\", \"pkg_resources\", \"easy_install\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/python/dependency_inference/default_module_mapping.py), and then will default to the normalized project name. For example, the requirement `Django` would default to the module `django`.\n\nMutually exclusive with the `type_stub_modules` field.", "provider": "", "required": false, "type_hint": "Iterable[str] | None" @@ -94978,7 +94993,7 @@ { "alias": "type_stub_modules", "default": null, - "description": "The modules this requirement provides if the requirement is a type stub (used for dependency inference).\n\nFor example, the requirement `types-requests` provides `[\"requests\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/python/dependency_inference/default_module_mapping.py). If not found _and_ the requirement name starts with `types-` or `stubs-`, or ends with `-types` or `-stubs`, will default to that requirement name without the prefix/suffix. For example, `types-requests` would default to `requests`. Otherwise, will be treated like a normal requirement (see the `modules` field).\n\nMutually exclusive with the `modules` field.", + "description": "The modules this requirement provides if the requirement is a type stub (used for dependency inference).\n\nFor example, the requirement `types-requests` provides `[\"requests\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/python/dependency_inference/default_module_mapping.py). If not found _and_ the requirement name starts with `types-` or `stubs-`, or ends with `-types` or `-stubs`, will default to that requirement name without the prefix/suffix. For example, `types-requests` would default to `requests`. Otherwise, will be treated like a normal requirement (see the `modules` field).\n\nMutually exclusive with the `modules` field.", "provider": "", "required": false, "type_hint": "Iterable[str] | None" @@ -95136,18 +95151,10 @@ "type_hint": "bool" }, { - "alias": "skip_flake8", - "default": "False", - "description": "If true, don't run Flake8 on this target's code.", - "provider": "pants.backend.python.lint.flake8", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_docformatter", + "alias": "skip_yapf", "default": "False", - "description": "If true, don't run Docformatter on this target's code.", - "provider": "pants.backend.python.lint.docformatter", + "description": "If true, don't run yapf on this target's code.", + "provider": "pants.backend.python.lint.yapf", "required": false, "type_hint": "bool" }, @@ -95160,18 +95167,10 @@ "type_hint": "bool" }, { - "alias": "skip_isort", - "default": "False", - "description": "If true, don't run isort on this target's code.", - "provider": "pants.backend.python.lint.isort", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_add_trailing_comma", + "alias": "skip_docformatter", "default": "False", - "description": "If true, don't run add-trailing-comma on this target's code.", - "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "description": "If true, don't run Docformatter on this target's code.", + "provider": "pants.backend.python.lint.docformatter", "required": false, "type_hint": "bool" }, @@ -95191,6 +95190,14 @@ "required": false, "type_hint": "bool" }, + { + "alias": "skip_pytype", + "default": "False", + "description": "If true, don't run pytype on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pytype", + "required": false, + "type_hint": "bool" + }, { "alias": "skip_ruff", "default": "False", @@ -95208,58 +95215,66 @@ "type_hint": "bool" }, { - "alias": "skip_black", + "alias": "skip_add_trailing_comma", "default": "False", - "description": "If true, don't run Black on this target's code.", - "provider": "pants.backend.python.lint.black", + "description": "If true, don't run add-trailing-comma on this target's code.", + "provider": "pants.backend.experimental.python.lint.add_trailing_comma", "required": false, "type_hint": "bool" }, { - "alias": "skip_pydocstyle", + "alias": "skip_flake8", "default": "False", - "description": "If true, don't run pydocstyle on this target's code.", - "provider": "pants.backend.python.lint.pydocstyle", + "description": "If true, don't run Flake8 on this target's code.", + "provider": "pants.backend.python.lint.flake8", "required": false, "type_hint": "bool" }, { - "alias": "skip_yapf", + "alias": "skip_pylint", "default": "False", - "description": "If true, don't run yapf on this target's code.", - "provider": "pants.backend.python.lint.yapf", + "description": "If true, don't run Pylint on this target's code.", + "provider": "pants.backend.python.lint.pylint", "required": false, "type_hint": "bool" }, { - "alias": "skip_mypy", + "alias": "skip_black", "default": "False", - "description": "If true, don't run MyPy on this target's code.", - "provider": "pants.backend.python.typecheck.mypy", + "description": "If true, don't run Black on this target's code.", + "provider": "pants.backend.python.lint.black", "required": false, "type_hint": "bool" }, { - "alias": "skip_pylint", + "alias": "skip_pyright", "default": "False", - "description": "If true, don't run Pylint on this target's code.", - "provider": "pants.backend.python.lint.pylint", + "description": "If true, don't run Pyright on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pyright", "required": false, "type_hint": "bool" }, { - "alias": "skip_pytype", + "alias": "skip_isort", "default": "False", - "description": "If true, don't run pytype on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pytype", + "description": "If true, don't run isort on this target's code.", + "provider": "pants.backend.python.lint.isort", "required": false, "type_hint": "bool" }, { - "alias": "skip_pyright", + "alias": "skip_mypy", "default": "False", - "description": "If true, don't run Pyright on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pyright", + "description": "If true, don't run MyPy on this target's code.", + "provider": "pants.backend.python.typecheck.mypy", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_pydocstyle", + "default": "False", + "description": "If true, don't run pydocstyle on this target's code.", + "provider": "pants.backend.python.lint.pydocstyle", "required": false, "type_hint": "bool" }, @@ -95312,18 +95327,10 @@ "type_hint": "Dict[Union[str, Tuple[str, ...]], Dict[str, Any]] | None" }, { - "alias": "skip_flake8", - "default": "False", - "description": "If true, don't run Flake8 on this target's code.", - "provider": "pants.backend.python.lint.flake8", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_docformatter", + "alias": "skip_yapf", "default": "False", - "description": "If true, don't run Docformatter on this target's code.", - "provider": "pants.backend.python.lint.docformatter", + "description": "If true, don't run yapf on this target's code.", + "provider": "pants.backend.python.lint.yapf", "required": false, "type_hint": "bool" }, @@ -95336,18 +95343,10 @@ "type_hint": "bool" }, { - "alias": "skip_isort", - "default": "False", - "description": "If true, don't run isort on this target's code.", - "provider": "pants.backend.python.lint.isort", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_add_trailing_comma", + "alias": "skip_docformatter", "default": "False", - "description": "If true, don't run add-trailing-comma on this target's code.", - "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "description": "If true, don't run Docformatter on this target's code.", + "provider": "pants.backend.python.lint.docformatter", "required": false, "type_hint": "bool" }, @@ -95367,6 +95366,14 @@ "required": false, "type_hint": "bool" }, + { + "alias": "skip_pytype", + "default": "False", + "description": "If true, don't run pytype on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pytype", + "required": false, + "type_hint": "bool" + }, { "alias": "skip_ruff", "default": "False", @@ -95384,58 +95391,66 @@ "type_hint": "bool" }, { - "alias": "skip_black", + "alias": "skip_add_trailing_comma", "default": "False", - "description": "If true, don't run Black on this target's code.", - "provider": "pants.backend.python.lint.black", + "description": "If true, don't run add-trailing-comma on this target's code.", + "provider": "pants.backend.experimental.python.lint.add_trailing_comma", "required": false, "type_hint": "bool" }, { - "alias": "skip_pydocstyle", + "alias": "skip_flake8", "default": "False", - "description": "If true, don't run pydocstyle on this target's code.", - "provider": "pants.backend.python.lint.pydocstyle", + "description": "If true, don't run Flake8 on this target's code.", + "provider": "pants.backend.python.lint.flake8", "required": false, "type_hint": "bool" }, { - "alias": "skip_yapf", + "alias": "skip_pylint", "default": "False", - "description": "If true, don't run yapf on this target's code.", - "provider": "pants.backend.python.lint.yapf", + "description": "If true, don't run Pylint on this target's code.", + "provider": "pants.backend.python.lint.pylint", "required": false, "type_hint": "bool" }, { - "alias": "skip_mypy", + "alias": "skip_black", "default": "False", - "description": "If true, don't run MyPy on this target's code.", - "provider": "pants.backend.python.typecheck.mypy", + "description": "If true, don't run Black on this target's code.", + "provider": "pants.backend.python.lint.black", "required": false, "type_hint": "bool" }, { - "alias": "skip_pylint", + "alias": "skip_pyright", "default": "False", - "description": "If true, don't run Pylint on this target's code.", - "provider": "pants.backend.python.lint.pylint", + "description": "If true, don't run Pyright on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pyright", "required": false, "type_hint": "bool" }, { - "alias": "skip_pytype", + "alias": "skip_isort", "default": "False", - "description": "If true, don't run pytype on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pytype", + "description": "If true, don't run isort on this target's code.", + "provider": "pants.backend.python.lint.isort", "required": false, "type_hint": "bool" }, { - "alias": "skip_pyright", + "alias": "skip_mypy", "default": "False", - "description": "If true, don't run Pyright on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pyright", + "description": "If true, don't run MyPy on this target's code.", + "provider": "pants.backend.python.typecheck.mypy", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_pydocstyle", + "default": "False", + "description": "If true, don't run pydocstyle on this target's code.", + "provider": "pants.backend.python.lint.pydocstyle", "required": false, "type_hint": "bool" }, @@ -95608,18 +95623,10 @@ "type_hint": "str" }, { - "alias": "skip_flake8", - "default": "False", - "description": "If true, don't run Flake8 on this target's code.", - "provider": "pants.backend.python.lint.flake8", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_docformatter", + "alias": "skip_yapf", "default": "False", - "description": "If true, don't run Docformatter on this target's code.", - "provider": "pants.backend.python.lint.docformatter", + "description": "If true, don't run yapf on this target's code.", + "provider": "pants.backend.python.lint.yapf", "required": false, "type_hint": "bool" }, @@ -95632,26 +95639,26 @@ "type_hint": "bool" }, { - "alias": "skip_isort", + "alias": "skip_docformatter", "default": "False", - "description": "If true, don't run isort on this target's code.", - "provider": "pants.backend.python.lint.isort", + "description": "If true, don't run Docformatter on this target's code.", + "provider": "pants.backend.python.lint.docformatter", "required": false, "type_hint": "bool" }, { - "alias": "skip_add_trailing_comma", + "alias": "skip_pyupgrade", "default": "False", - "description": "If true, don't run add-trailing-comma on this target's code.", - "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "description": "If true, don't run pyupgrade on this target's code.", + "provider": "pants.backend.python.lint.pyupgrade", "required": false, "type_hint": "bool" }, { - "alias": "skip_pyupgrade", + "alias": "skip_ruff_check", "default": "False", - "description": "If true, don't run pyupgrade on this target's code.", - "provider": "pants.backend.python.lint.pyupgrade", + "description": "If true, don't run the ruff checker on this target's code.", + "provider": "pants.backend.experimental.python.lint.ruff", "required": false, "type_hint": "bool" }, @@ -95672,18 +95679,34 @@ "type_hint": "bool" }, { - "alias": "skip_ruff_check", + "alias": "skip_ruff_format", "default": "False", - "description": "If true, don't run the ruff checker on this target's code.", - "provider": "pants.backend.experimental.python.lint.ruff", + "description": "If true, don't run the ruff formatter on this target's code.", + "provider": "pants.backend.experimental.python.lint.ruff.format", "required": false, "type_hint": "bool" }, { - "alias": "skip_ruff_format", + "alias": "skip_add_trailing_comma", "default": "False", - "description": "If true, don't run the ruff formatter on this target's code.", - "provider": "pants.backend.experimental.python.lint.ruff.format", + "description": "If true, don't run add-trailing-comma on this target's code.", + "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_flake8", + "default": "False", + "description": "If true, don't run Flake8 on this target's code.", + "provider": "pants.backend.python.lint.flake8", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_pylint", + "default": "False", + "description": "If true, don't run Pylint on this target's code.", + "provider": "pants.backend.python.lint.pylint", "required": false, "type_hint": "bool" }, @@ -95696,18 +95719,18 @@ "type_hint": "bool" }, { - "alias": "skip_pydocstyle", + "alias": "skip_pyright", "default": "False", - "description": "If true, don't run pydocstyle on this target's code.", - "provider": "pants.backend.python.lint.pydocstyle", + "description": "If true, don't run Pyright on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pyright", "required": false, "type_hint": "bool" }, { - "alias": "skip_yapf", + "alias": "skip_isort", "default": "False", - "description": "If true, don't run yapf on this target's code.", - "provider": "pants.backend.python.lint.yapf", + "description": "If true, don't run isort on this target's code.", + "provider": "pants.backend.python.lint.isort", "required": false, "type_hint": "bool" }, @@ -95720,10 +95743,10 @@ "type_hint": "bool" }, { - "alias": "skip_pylint", + "alias": "skip_pydocstyle", "default": "False", - "description": "If true, don't run Pylint on this target's code.", - "provider": "pants.backend.python.lint.pylint", + "description": "If true, don't run pydocstyle on this target's code.", + "provider": "pants.backend.python.lint.pydocstyle", "required": false, "type_hint": "bool" }, @@ -95735,14 +95758,6 @@ "required": false, "type_hint": "Iterable[str] | None" }, - { - "alias": "skip_pyright", - "default": "False", - "description": "If true, don't run Pyright on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pyright", - "required": false, - "type_hint": "bool" - }, { "alias": "skip_autoflake", "default": "False", @@ -95792,18 +95807,10 @@ "type_hint": "Dict[Union[str, Tuple[str, ...]], Dict[str, Any]] | None" }, { - "alias": "skip_flake8", - "default": "False", - "description": "If true, don't run Flake8 on this target's code.", - "provider": "pants.backend.python.lint.flake8", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_docformatter", + "alias": "skip_yapf", "default": "False", - "description": "If true, don't run Docformatter on this target's code.", - "provider": "pants.backend.python.lint.docformatter", + "description": "If true, don't run yapf on this target's code.", + "provider": "pants.backend.python.lint.yapf", "required": false, "type_hint": "bool" }, @@ -95816,18 +95823,10 @@ "type_hint": "bool" }, { - "alias": "skip_isort", - "default": "False", - "description": "If true, don't run isort on this target's code.", - "provider": "pants.backend.python.lint.isort", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_add_trailing_comma", + "alias": "skip_docformatter", "default": "False", - "description": "If true, don't run add-trailing-comma on this target's code.", - "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "description": "If true, don't run Docformatter on this target's code.", + "provider": "pants.backend.python.lint.docformatter", "required": false, "type_hint": "bool" }, @@ -95847,6 +95846,14 @@ "required": false, "type_hint": "bool" }, + { + "alias": "skip_pytype", + "default": "False", + "description": "If true, don't run pytype on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pytype", + "required": false, + "type_hint": "bool" + }, { "alias": "skip_ruff", "default": "False", @@ -95864,58 +95871,66 @@ "type_hint": "bool" }, { - "alias": "skip_black", + "alias": "skip_add_trailing_comma", "default": "False", - "description": "If true, don't run Black on this target's code.", - "provider": "pants.backend.python.lint.black", + "description": "If true, don't run add-trailing-comma on this target's code.", + "provider": "pants.backend.experimental.python.lint.add_trailing_comma", "required": false, "type_hint": "bool" }, { - "alias": "skip_pydocstyle", + "alias": "skip_flake8", "default": "False", - "description": "If true, don't run pydocstyle on this target's code.", - "provider": "pants.backend.python.lint.pydocstyle", + "description": "If true, don't run Flake8 on this target's code.", + "provider": "pants.backend.python.lint.flake8", "required": false, "type_hint": "bool" }, { - "alias": "skip_yapf", + "alias": "skip_pylint", "default": "False", - "description": "If true, don't run yapf on this target's code.", - "provider": "pants.backend.python.lint.yapf", + "description": "If true, don't run Pylint on this target's code.", + "provider": "pants.backend.python.lint.pylint", "required": false, "type_hint": "bool" }, { - "alias": "skip_mypy", + "alias": "skip_black", "default": "False", - "description": "If true, don't run MyPy on this target's code.", - "provider": "pants.backend.python.typecheck.mypy", + "description": "If true, don't run Black on this target's code.", + "provider": "pants.backend.python.lint.black", "required": false, "type_hint": "bool" }, { - "alias": "skip_pylint", + "alias": "skip_pyright", "default": "False", - "description": "If true, don't run Pylint on this target's code.", - "provider": "pants.backend.python.lint.pylint", + "description": "If true, don't run Pyright on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pyright", "required": false, "type_hint": "bool" }, { - "alias": "skip_pytype", + "alias": "skip_isort", "default": "False", - "description": "If true, don't run pytype on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pytype", + "description": "If true, don't run isort on this target's code.", + "provider": "pants.backend.python.lint.isort", "required": false, "type_hint": "bool" }, { - "alias": "skip_pyright", + "alias": "skip_mypy", "default": "False", - "description": "If true, don't run Pyright on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pyright", + "description": "If true, don't run MyPy on this target's code.", + "provider": "pants.backend.python.typecheck.mypy", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_pydocstyle", + "default": "False", + "description": "If true, don't run pydocstyle on this target's code.", + "provider": "pants.backend.python.lint.pydocstyle", "required": false, "type_hint": "bool" }, @@ -96000,18 +96015,10 @@ "type_hint": "Dict[Union[str, Tuple[str, ...]], Dict[str, Any]] | None" }, { - "alias": "skip_flake8", - "default": "False", - "description": "If true, don't run Flake8 on this target's code.", - "provider": "pants.backend.python.lint.flake8", - "required": false, - "type_hint": "bool" - }, - { - "alias": "skip_docformatter", + "alias": "skip_yapf", "default": "False", - "description": "If true, don't run Docformatter on this target's code.", - "provider": "pants.backend.python.lint.docformatter", + "description": "If true, don't run yapf on this target's code.", + "provider": "pants.backend.python.lint.yapf", "required": false, "type_hint": "bool" }, @@ -96024,26 +96031,26 @@ "type_hint": "bool" }, { - "alias": "skip_isort", + "alias": "skip_docformatter", "default": "False", - "description": "If true, don't run isort on this target's code.", - "provider": "pants.backend.python.lint.isort", + "description": "If true, don't run Docformatter on this target's code.", + "provider": "pants.backend.python.lint.docformatter", "required": false, "type_hint": "bool" }, { - "alias": "skip_add_trailing_comma", + "alias": "skip_pyupgrade", "default": "False", - "description": "If true, don't run add-trailing-comma on this target's code.", - "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "description": "If true, don't run pyupgrade on this target's code.", + "provider": "pants.backend.python.lint.pyupgrade", "required": false, "type_hint": "bool" }, { - "alias": "skip_pyupgrade", + "alias": "skip_ruff_check", "default": "False", - "description": "If true, don't run pyupgrade on this target's code.", - "provider": "pants.backend.python.lint.pyupgrade", + "description": "If true, don't run the ruff checker on this target's code.", + "provider": "pants.backend.experimental.python.lint.ruff", "required": false, "type_hint": "bool" }, @@ -96064,18 +96071,34 @@ "type_hint": "bool" }, { - "alias": "skip_ruff_check", + "alias": "skip_ruff_format", "default": "False", - "description": "If true, don't run the ruff checker on this target's code.", - "provider": "pants.backend.experimental.python.lint.ruff", + "description": "If true, don't run the ruff formatter on this target's code.", + "provider": "pants.backend.experimental.python.lint.ruff.format", "required": false, "type_hint": "bool" }, { - "alias": "skip_ruff_format", + "alias": "skip_add_trailing_comma", "default": "False", - "description": "If true, don't run the ruff formatter on this target's code.", - "provider": "pants.backend.experimental.python.lint.ruff.format", + "description": "If true, don't run add-trailing-comma on this target's code.", + "provider": "pants.backend.experimental.python.lint.add_trailing_comma", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_flake8", + "default": "False", + "description": "If true, don't run Flake8 on this target's code.", + "provider": "pants.backend.python.lint.flake8", + "required": false, + "type_hint": "bool" + }, + { + "alias": "skip_pylint", + "default": "False", + "description": "If true, don't run Pylint on this target's code.", + "provider": "pants.backend.python.lint.pylint", "required": false, "type_hint": "bool" }, @@ -96088,18 +96111,18 @@ "type_hint": "bool" }, { - "alias": "skip_pydocstyle", + "alias": "skip_pyright", "default": "False", - "description": "If true, don't run pydocstyle on this target's code.", - "provider": "pants.backend.python.lint.pydocstyle", + "description": "If true, don't run Pyright on this target's code.", + "provider": "pants.backend.experimental.python.typecheck.pyright", "required": false, "type_hint": "bool" }, { - "alias": "skip_yapf", + "alias": "skip_isort", "default": "False", - "description": "If true, don't run yapf on this target's code.", - "provider": "pants.backend.python.lint.yapf", + "description": "If true, don't run isort on this target's code.", + "provider": "pants.backend.python.lint.isort", "required": false, "type_hint": "bool" }, @@ -96112,10 +96135,10 @@ "type_hint": "bool" }, { - "alias": "skip_pylint", + "alias": "skip_pydocstyle", "default": "False", - "description": "If true, don't run Pylint on this target's code.", - "provider": "pants.backend.python.lint.pylint", + "description": "If true, don't run pydocstyle on this target's code.", + "provider": "pants.backend.python.lint.pydocstyle", "required": false, "type_hint": "bool" }, @@ -96127,14 +96150,6 @@ "required": false, "type_hint": "Iterable[str] | None" }, - { - "alias": "skip_pyright", - "default": "False", - "description": "If true, don't run Pyright on this target's code.", - "provider": "pants.backend.experimental.python.typecheck.pyright", - "required": false, - "type_hint": "bool" - }, { "alias": "skip_autoflake", "default": "False", @@ -96336,234 +96351,234 @@ "type_hint": "bool" }, { - "alias": "golang_cgo_cxx_flags", + "alias": "python_native_code_cpp_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_executable_search_paths", + "alias": "python_native_code_ld_flags", "default": null, - "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_external_linker_binary_name", + "alias": "golang_cgo_fortran_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "str | None" }, { - "alias": "pex_executable_search_paths", + "alias": "python_bootstrap_names", "default": null, - "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_corepack_env_vars", + "alias": "golang_cgo_gcc_binary_name", "default": null, - "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "shell_setup_executable_search_paths", + "alias": "test_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.shell", + "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gcc_binary_name", + "alias": "golang_cgo_cxx_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gcc_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_cxx_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "go_generate_env_vars", + "alias": "nodejs_corepack_env_vars", "default": null, - "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[nodejs].corepack_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_fortran_binary_name", + "alias": "go_generate_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_binary_name` when this environment target is active.", + "description": "Overrides the default value from the option `[go-generate].env_vars` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "docker_executable_search_paths", + "alias": "nodejs_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[nodejs].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "apache_thrift_thrift_search_paths", + "alias": "jvm_global_options", "default": null, - "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", - "provider": "pants.backend.codegen.thrift.apache.python", + "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", + "provider": "pants.backend.experimental.java", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_tool_search_paths", + "alias": "golang_go_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "subprocess_environment_env_vars", + "alias": "pex_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", + "description": "Overrides the default value from the option `[pex].executable_search_paths` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "test_extra_env_vars", + "alias": "shell_setup_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[test].extra_env_vars` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[shell-setup].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.shell", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_names", + "alias": "subprocess_environment_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].names` when this environment target is active.", + "description": "Overrides the default value from the option `[subprocess-environment].env_vars` when this environment target is active.", "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_native_code_ld_flags", + "alias": "golang_external_linker_binary_name", "default": null, - "description": "Overrides the default value from the option `[python-native-code].ld_flags` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].external_linker_binary_name` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "python_native_code_cpp_flags", + "alias": "pyenv_python_provider_installation_extra_env_vars", "default": null, - "description": "Overrides the default value from the option `[python-native-code].cpp_flags` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", + "provider": "pants.backend.python.providers.experimental.pyenv", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_go_search_paths", + "alias": "golang_cgo_gxx_binary_name", "default": null, - "description": "Overrides the default value from the option `[golang].go_search_paths` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, - "type_hint": "Iterable[str] | None" + "type_hint": "str | None" }, { - "alias": "golang_cgo_fortran_flags", + "alias": "python_bootstrap_search_path", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_linker_flags", + "alias": "golang_cgo_tool_search_paths", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_tool_search_paths` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "nodejs_search_path", + "alias": "docker_executable_search_paths", "default": null, - "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", - "provider": "pants.backend.experimental.javascript", + "description": "Overrides the default value from the option `[docker].executable_search_paths` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_c_flags", + "alias": "golang_cgo_fortran_flags", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "description": "Overrides the default value from the option `[golang].cgo_fortran_flags` when this environment target is active.", "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "pyenv_python_provider_installation_extra_env_vars", + "alias": "golang_cgo_linker_flags", "default": null, - "description": "Overrides the default value from the option `[pyenv-python-provider].installation_extra_env_vars` when this environment target is active.", - "provider": "pants.backend.python.providers.experimental.pyenv", + "description": "Overrides the default value from the option `[golang].cgo_linker_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "system_binaries_system_binary_paths", + "alias": "nodejs_search_path", "default": null, - "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[nodejs].search_path` when this environment target is active.", + "provider": "pants.backend.experimental.javascript", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "docker_env_vars", + "alias": "golang_subprocess_env_vars", "default": null, - "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", - "provider": "pants.backend.docker", + "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_cgo_gxx_binary_name", + "alias": "docker_env_vars", "default": null, - "description": "Overrides the default value from the option `[golang].cgo_gxx_binary_name` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[docker].env_vars` when this environment target is active.", + "provider": "pants.backend.docker", "required": false, - "type_hint": "str | None" + "type_hint": "Iterable[str] | None" }, { - "alias": "jvm_global_options", + "alias": "apache_thrift_thrift_search_paths", "default": null, - "description": "Overrides the default value from the option `[jvm].global_options` when this environment target is active.", - "provider": "pants.backend.experimental.java", + "description": "Overrides the default value from the option `[apache-thrift].thrift_search_paths` when this environment target is active.", + "provider": "pants.backend.codegen.thrift.apache.python", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "golang_subprocess_env_vars", + "alias": "system_binaries_system_binary_paths", "default": null, - "description": "Overrides the default value from the option `[golang].subprocess_env_vars` when this environment target is active.", - "provider": "pants.backend.experimental.go", + "description": "Overrides the default value from the option `[system-binaries].system_binary_paths` when this environment target is active.", + "provider": "pants.core", "required": false, "type_hint": "Iterable[str] | None" }, { - "alias": "python_bootstrap_search_path", + "alias": "golang_cgo_c_flags", "default": null, - "description": "Overrides the default value from the option `[python-bootstrap].search_path` when this environment target is active.", - "provider": "pants.core", + "description": "Overrides the default value from the option `[golang].cgo_c_flags` when this environment target is active.", + "provider": "pants.backend.experimental.go", "required": false, "type_hint": "Iterable[str] | None" } @@ -96802,7 +96817,7 @@ { "alias": "packages", "default": null, - "description": "The JVM packages this artifact provides for the purposes of dependency inference.\n\nFor example, the JVM artifact `junit:junit` might provide `[\"org.junit.**\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `[\"io.confluent.**\"]`.\n\nThe package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `[\"org.junit.**\"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages.", + "description": "The JVM packages this artifact provides for the purposes of dependency inference.\n\nFor example, the JVM artifact `junit:junit` might provide `[\"org.junit.**\"]`.\n\nUsually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `[\"io.confluent.**\"]`.\n\nThe package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `[\"org.junit.**\"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages.", "provider": "", "required": false, "type_hint": "Iterable[str] | None" @@ -98280,18 +98295,18 @@ "type_hint": "Iterable[str] | None" }, { - "alias": "skip_tfsec", + "alias": "skip_terraform_validate", "default": "False", - "description": "If true, don't run tfsec on this target's Terraform files.", - "provider": "pants.backend.experimental.terraform.lint.tfsec", + "description": "If true, don't run `terraform validate` on this target's code. If this target is a module, `terraform validate might still be run on a `terraform_deployment that references this module.", + "provider": "pants.backend.experimental.terraform", "required": false, "type_hint": "bool" }, { - "alias": "skip_terraform_validate", + "alias": "skip_tfsec", "default": "False", - "description": "If true, don't run `terraform validate` on this target's code. If this target is a module, `terraform validate might still be run on a `terraform_deployment that references this module.", - "provider": "pants.backend.experimental.terraform", + "description": "If true, don't run tfsec on this target's Terraform files.", + "provider": "pants.backend.experimental.terraform.lint.tfsec", "required": false, "type_hint": "bool" } @@ -98375,14 +98390,6 @@ "required": false, "type_hint": "str | None" }, - { - "alias": "jvm_resolve", - "default": null, - "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", - "provider": "pants.backend.experimental.codegen.thrift.apache.java", - "required": false, - "type_hint": "str | None" - }, { "alias": "finagle", "default": "False", @@ -98398,6 +98405,14 @@ "provider": "pants.backend.codegen.thrift.apache.python", "required": false, "type_hint": "str | None" + }, + { + "alias": "jvm_resolve", + "default": null, + "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", + "provider": "pants.backend.experimental.codegen.thrift.apache.java", + "required": false, + "type_hint": "str | None" } ], "provider": "pants.backend.codegen.thrift.apache.python", @@ -98447,14 +98462,6 @@ "required": false, "type_hint": "str | None" }, - { - "alias": "jvm_resolve", - "default": null, - "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", - "provider": "pants.backend.experimental.codegen.thrift.apache.java", - "required": false, - "type_hint": "str | None" - }, { "alias": "finagle", "default": "False", @@ -98471,6 +98478,14 @@ "required": false, "type_hint": "str | None" }, + { + "alias": "jvm_resolve", + "default": null, + "description": "The resolve from `[jvm].resolves` to use when compiling this target.\n\nIf not defined, will default to `[jvm].default_resolve`.", + "provider": "pants.backend.experimental.codegen.thrift.apache.java", + "required": false, + "type_hint": "str | None" + }, { "alias": "dependencies", "default": null, @@ -99194,12 +99209,12 @@ { "details": null, "rank": "HARDCODED", - "value": "2.21.0" + "value": "2.21.1rc1" }, { "details": "from env var PANTS_VERSION", "rank": "ENVIRONMENT", - "value": "2.21.0" + "value": "2.21.1rc1" } ] } @@ -100937,7 +100952,7 @@ "details": "", "rank": "HARDCODED", "value": { - "user-agent": "pants/2.21.0" + "user-agent": "pants/2.21.1rc1" } } ] @@ -101329,7 +101344,7 @@ "details": "", "rank": "HARDCODED", "value": { - "user-agent": "pants/2.21.0" + "user-agent": "pants/2.21.1rc1" } } ] @@ -114297,7 +114312,7 @@ ], "env_var": "PANTS_GOOGLE_JAVA_FORMAT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=google-java-format`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=google-java-format`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -116981,7 +116996,7 @@ ], "env_var": "PANTS_JARJAR_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=jarjar`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=jarjar`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -117233,7 +117248,7 @@ ], "env_var": "PANTS_JAVA_AVRO_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=java-avro`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=java-avro`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -117692,7 +117707,7 @@ ], "env_var": "PANTS_JUNIT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=junit`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=junit`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -118569,7 +118584,7 @@ ], "env_var": "PANTS_KTLINT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=ktlint`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=ktlint`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -120963,7 +120978,7 @@ ], "env_var": "PANTS_OPENAPI_GENERATOR_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=openapi-generator`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=openapi-generator`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -122170,7 +122185,7 @@ ], "env_var": "PANTS_PROTOBUF_JAVA_GRPC_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=protobuf-java-grpc`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=protobuf-java-grpc`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -128980,7 +128995,7 @@ ], "env_var": "PANTS_SCALAFIX_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafix`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafix`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -129355,7 +129370,7 @@ ], "env_var": "PANTS_SCALAFMT_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafmt`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafmt`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -129650,7 +129665,7 @@ ], "env_var": "PANTS_SCALAPB_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalapb`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalapb`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -129861,7 +129876,7 @@ ], "env_var": "PANTS_SCALATEST_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalatest`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalatest`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ @@ -130384,7 +130399,7 @@ ], "env_var": "PANTS_SCROOGE_LOCKFILE", "fromfile": false, - "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scrooge`.", + "help": "Path to a lockfile used for installing the tool.\n\nSet to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents.\n\nTo use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scrooge`.", "removal_hint": null, "removal_version": null, "scoped_cmd_line_args": [ diff --git a/versioned_docs/version-2.21/reference/subsystems/google-java-format.mdx b/versioned_docs/version-2.21/reference/subsystems/google-java-format.mdx index 42f4fe59d..d5cf4aefa 100644 --- a/versioned_docs/version-2.21/reference/subsystems/google-java-format.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/google-java-format.mdx @@ -99,7 +99,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/java/lint/google_java_format/google_java_format.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=google-java-format`. diff --git a/versioned_docs/version-2.21/reference/subsystems/jarjar.mdx b/versioned_docs/version-2.21/reference/subsystems/jarjar.mdx index e47a4bc36..f9a524e6b 100644 --- a/versioned_docs/version-2.21/reference/subsystems/jarjar.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/jarjar.mdx @@ -100,7 +100,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/shading/jarjar.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=jarjar`. diff --git a/versioned_docs/version-2.21/reference/subsystems/java-avro.mdx b/versioned_docs/version-2.21/reference/subsystems/java-avro.mdx index 2cbf2ec64..6c92d41fb 100644 --- a/versioned_docs/version-2.21/reference/subsystems/java-avro.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/java-avro.mdx @@ -73,7 +73,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/avro/java/avro-tools.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=java-avro`. diff --git a/versioned_docs/version-2.21/reference/subsystems/junit.mdx b/versioned_docs/version-2.21/reference/subsystems/junit.mdx index d0635cf71..313531537 100644 --- a/versioned_docs/version-2.21/reference/subsystems/junit.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/junit.mdx @@ -103,7 +103,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/test/junit.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=junit`. diff --git a/versioned_docs/version-2.21/reference/subsystems/ktlint.mdx b/versioned_docs/version-2.21/reference/subsystems/ktlint.mdx index 3c900dc9a..2b03e76a7 100644 --- a/versioned_docs/version-2.21/reference/subsystems/ktlint.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/ktlint.mdx @@ -85,7 +85,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/kotlin/lint/ktlint/ktlint.lock for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=ktlint`. diff --git a/versioned_docs/version-2.21/reference/subsystems/openapi-generator.mdx b/versioned_docs/version-2.21/reference/subsystems/openapi-generator.mdx index 7b0e45f91..11d4778d8 100644 --- a/versioned_docs/version-2.21/reference/subsystems/openapi-generator.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/openapi-generator.mdx @@ -73,7 +73,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/openapi/subsystems/openapi_generator.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=openapi-generator`. diff --git a/versioned_docs/version-2.21/reference/subsystems/protobuf-java-grpc.mdx b/versioned_docs/version-2.21/reference/subsystems/protobuf-java-grpc.mdx index acd3e2085..29af31467 100644 --- a/versioned_docs/version-2.21/reference/subsystems/protobuf-java-grpc.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/protobuf-java-grpc.mdx @@ -73,7 +73,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/java/grpc-java.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=protobuf-java-grpc`. diff --git a/versioned_docs/version-2.21/reference/subsystems/scalafix.mdx b/versioned_docs/version-2.21/reference/subsystems/scalafix.mdx index cf90dc74b..24c0a3b90 100644 --- a/versioned_docs/version-2.21/reference/subsystems/scalafix.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/scalafix.mdx @@ -99,7 +99,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafix/scalafix.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafix`. diff --git a/versioned_docs/version-2.21/reference/subsystems/scalafmt.mdx b/versioned_docs/version-2.21/reference/subsystems/scalafmt.mdx index dbd4f828f..e0549d78a 100644 --- a/versioned_docs/version-2.21/reference/subsystems/scalafmt.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/scalafmt.mdx @@ -99,7 +99,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/lint/scalafmt/scalafmt.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalafmt`. diff --git a/versioned_docs/version-2.21/reference/subsystems/scalapb.mdx b/versioned_docs/version-2.21/reference/subsystems/scalapb.mdx index 946b420ae..94823b53c 100644 --- a/versioned_docs/version-2.21/reference/subsystems/scalapb.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/scalapb.mdx @@ -91,7 +91,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/protobuf/scala/scalapbc.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalapb`. diff --git a/versioned_docs/version-2.21/reference/subsystems/scalatest.mdx b/versioned_docs/version-2.21/reference/subsystems/scalatest.mdx index 45677a3ae..2ad3fdca0 100644 --- a/versioned_docs/version-2.21/reference/subsystems/scalatest.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/scalatest.mdx @@ -105,7 +105,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/scala/subsystems/scalatest.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scalatest`. diff --git a/versioned_docs/version-2.21/reference/subsystems/scrooge.mdx b/versioned_docs/version-2.21/reference/subsystems/scrooge.mdx index c46b55885..82c0360d5 100644 --- a/versioned_docs/version-2.21/reference/subsystems/scrooge.mdx +++ b/versioned_docs/version-2.21/reference/subsystems/scrooge.mdx @@ -73,7 +73,7 @@ lockfile = `} Path to a lockfile used for installing the tool. -Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents. +Set to the string `` to use a lockfile provided by Pants, so long as you have not changed the `--version` option. See https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/codegen/thrift/scrooge/scrooge.default.lockfile.txt for the default lockfile contents. To use a custom lockfile, set this option to a file path relative to the build root, then run `pants jvm-generate-lockfiles --resolve=scrooge`. diff --git a/versioned_docs/version-2.21/reference/targets/jvm_artifact.mdx b/versioned_docs/version-2.21/reference/targets/jvm_artifact.mdx index d5432c66f..ffd08d0b1 100644 --- a/versioned_docs/version-2.21/reference/targets/jvm_artifact.mdx +++ b/versioned_docs/version-2.21/reference/targets/jvm_artifact.mdx @@ -148,7 +148,7 @@ The JVM packages this artifact provides for the purposes of dependency inference For example, the JVM artifact `junit:junit` might provide `["org.junit.**"]`. -Usually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `["io.confluent.**"]`. +Usually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `["io.confluent.**"]`. The package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `["org.junit.**"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages. diff --git a/versioned_docs/version-2.21/reference/targets/pants_requirements.mdx b/versioned_docs/version-2.21/reference/targets/pants_requirements.mdx index 0302d2161..91c55295a 100644 --- a/versioned_docs/version-2.21/reference/targets/pants_requirements.mdx +++ b/versioned_docs/version-2.21/reference/targets/pants_requirements.mdx @@ -79,7 +79,7 @@ If true, include `pantsbuild.pants.testutil` to write tests for your plugin. The PEP 440 version specifier version of Pants to target. E.g. `== 2.15.*`, or `>= 2.16.0, < 2.17.0` diff --git a/versioned_docs/version-2.21/reference/targets/python_requirement.mdx b/versioned_docs/version-2.21/reference/targets/python_requirement.mdx index 6b18405e9..a57599475 100644 --- a/versioned_docs/version-2.21/reference/targets/python_requirement.mdx +++ b/versioned_docs/version-2.21/reference/targets/python_requirement.mdx @@ -96,7 +96,7 @@ The modules this requirement provides (used for dependency inference). For example, the requirement `setuptools` provides `["setuptools", "pkg_resources", "easy_install"]`. -Usually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/python/dependency_inference/default_module_mapping.py), and then will default to the normalized project name. For example, the requirement `Django` would default to the module `django`. +Usually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/python/dependency_inference/default_module_mapping.py), and then will default to the normalized project name. For example, the requirement `Django` would default to the module `django`. Mutually exclusive with the `type_stub_modules` field. @@ -141,7 +141,7 @@ The modules this requirement provides if the requirement is a type stub (used fo For example, the requirement `types-requests` provides `["requests"]`. -Usually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/backend/python/dependency_inference/default_module_mapping.py). If not found _and_ the requirement name starts with `types-` or `stubs-`, or ends with `-types` or `-stubs`, will default to that requirement name without the prefix/suffix. For example, `types-requests` would default to `requests`. Otherwise, will be treated like a normal requirement (see the `modules` field). +Usually you can leave this field off. If unspecified, Pants will first look at the default module mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/backend/python/dependency_inference/default_module_mapping.py). If not found _and_ the requirement name starts with `types-` or `stubs-`, or ends with `-types` or `-stubs`, will default to that requirement name without the prefix/suffix. For example, `types-requests` would default to `requests`. Otherwise, will be treated like a normal requirement (see the `modules` field). Mutually exclusive with the `modules` field. diff --git a/versioned_docs/version-2.21/reference/targets/scala_artifact.mdx b/versioned_docs/version-2.21/reference/targets/scala_artifact.mdx index fa4a3d24c..f479909e5 100644 --- a/versioned_docs/version-2.21/reference/targets/scala_artifact.mdx +++ b/versioned_docs/version-2.21/reference/targets/scala_artifact.mdx @@ -151,7 +151,7 @@ The JVM packages this artifact provides for the purposes of dependency inference For example, the JVM artifact `junit:junit` might provide `["org.junit.**"]`. -Usually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.0/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `["io.confluent.**"]`. +Usually you can leave this field off. If unspecified, Pants will fall back to the `[java-infer].third_party_import_mapping`, then to a built in mapping (https://github.com/pantsbuild/pants/blob/release_2.21.1rc1/src/python/pants/jvm/dependency_inference/jvm_artifact_mappings.py), and then finally it will default to the normalized `group` of the artifact. For example, in the absence of any other mapping the artifact `io.confluent:common-config` would default to providing `["io.confluent.**"]`. The package path may be made recursive to match symbols in subpackages by adding `.**` to the end of the package path. For example, specify `["org.junit.**"]` to infer a dependency on the artifact for any file importing a symbol from `org.junit` or its subpackages.