From 46b95186f0ea5188cecb522b348664b855151270 Mon Sep 17 00:00:00 2001 From: Yi Cheng Date: Sat, 3 Jun 2023 18:15:43 -0700 Subject: [PATCH] Prep 1.28.0.dev1 (#19233) ### Internal * upgrade to Rust v1.70.0 ([#19228](https://github.com/pantsbuild/pants/pull/19228)) * Remove the last mentions of NO_TOOL_LOCKFILE. ([#19229](https://github.com/pantsbuild/pants/pull/19229)) * Upgrade Helm unittest ([#19220](https://github.com/pantsbuild/pants/pull/19220)) * Prepare `2.17.0rc0`. ([#19226](https://github.com/pantsbuild/pants/pull/19226)) * Use a trait for remote action result caching ([#19097](https://github.com/pantsbuild/pants/pull/19097)) * Port `Field` to Rust ([#19143](https://github.com/pantsbuild/pants/pull/19143)) * Upgrade `pyo3` to `0.19`. ([#19223](https://github.com/pantsbuild/pants/pull/19223)) * Prepare `2.16.0rc5`. ([#19221](https://github.com/pantsbuild/pants/pull/19221)) * internal: Create dep inference request type ([#19001](https://github.com/pantsbuild/pants/pull/19001)) * Avoid requiring Python when trying to install Python (using Pyenv) ([#19208](https://github.com/pantsbuild/pants/pull/19208)) * Fix secondary ownership warning semantics ([#19191](https://github.com/pantsbuild/pants/pull/19191)) * Bump os_pipe from 1.1.3 to 1.1.4 in /src/rust/engine ([#19202](https://github.com/pantsbuild/pants/pull/19202)) * Include committer date in local version identifier of unstable builds ([#19179](https://github.com/pantsbuild/pants/pull/19179)) * Ensure we set the AWS region. ([#19178](https://github.com/pantsbuild/pants/pull/19178)) --- CONTRIBUTORS.md | 1 + src/python/pants/VERSION | 2 +- .../pants/core/util_rules/system_binaries.py | 3 +- .../pants/engine/internals/specs_rules.py | 3 +- src/python/pants/notes/2.18.x.md | 44 +++++++++++++++++++ 5 files changed, 50 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index e0de0f5893f..a96f05d59b1 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -108,6 +108,7 @@ Created by running `./pants run build-support/bin/contributors.py`. + Huon Wilson + Hwasung Lee + Ian Tabolt ++ Idan Attias + Igor Morozov + Ikai Lan + In-Ho Yi diff --git a/src/python/pants/VERSION b/src/python/pants/VERSION index 830a65a39ce..2af63316ded 100644 --- a/src/python/pants/VERSION +++ b/src/python/pants/VERSION @@ -1 +1 @@ -2.18.0.dev0 +2.18.0.dev1 diff --git a/src/python/pants/core/util_rules/system_binaries.py b/src/python/pants/core/util_rules/system_binaries.py index e52ac0e393d..79da0eb07b1 100644 --- a/src/python/pants/core/util_rules/system_binaries.py +++ b/src/python/pants/core/util_rules/system_binaries.py @@ -558,7 +558,8 @@ async def find_binary(request: BinaryPathRequest, env_target: EnvironmentTarget) @rule(desc="Finding a `python` binary", level=LogLevel.TRACE) async def find_python(python_bootstrap: PythonBootstrap) -> PythonBinary: warn_or_error( - removal_version="2.18.0.dev1", + # TODO(Joshua Cannon): removal at 2.18.0.dev2 + removal_version="2.18.0.dev2", entity="Requesting `PythonBinary`", hint="Use the `PythonBuildStandalone` type instead (be sure to provide the `immutable_input_digests` to any applicable process).", ) diff --git a/src/python/pants/engine/internals/specs_rules.py b/src/python/pants/engine/internals/specs_rules.py index d88c619079e..c577eb312e5 100644 --- a/src/python/pants/engine/internals/specs_rules.py +++ b/src/python/pants/engine/internals/specs_rules.py @@ -512,7 +512,8 @@ def _maybe_warn_deprecated_secondary_owner_semantics( if problematic_target_specs: warn_or_error( - removal_version="2.18.0.dev1", + # TODO(Joshua Cannon): removal at 2.18.0.dev2 + removal_version="2.18.0.dev2", entity=softwrap( """ indirectly referring to a target by using a corresponding file argument, when the diff --git a/src/python/pants/notes/2.18.x.md b/src/python/pants/notes/2.18.x.md index 4d3e864f7d1..e648a4525c8 100644 --- a/src/python/pants/notes/2.18.x.md +++ b/src/python/pants/notes/2.18.x.md @@ -1,5 +1,49 @@ # 2.18.x Release Series +## 2.18.0.dev1 (Jun 02, 2023) + +### New Features + +* Add support for packaging python AWS Lambda layers ([#19123](https://github.com/pantsbuild/pants/pull/19123)) + +* Add visibility linter to report all violations. ([#17671](https://github.com/pantsbuild/pants/pull/17671)) + +### User API Changes + +* Remove the old Python tool lockfile functionality. ([#19218](https://github.com/pantsbuild/pants/pull/19218)) + +* Rename `python_awslambda` to `python_aws_lambda_function` ([#19216](https://github.com/pantsbuild/pants/pull/19216)) + +* Deprecate the version/extra_requirements options on python tools. ([#19204](https://github.com/pantsbuild/pants/pull/19204)) + +### Plugin API Changes + +* Deprecate using `PythonBinary` ([#19209](https://github.com/pantsbuild/pants/pull/19209)) + +### Bug Fixes + +* store stdout/stderr output from tests as bytes ([#19184](https://github.com/pantsbuild/pants/pull/19184)) + +* Discover Scala REPL main class and coordinates ([#19189](https://github.com/pantsbuild/pants/pull/19189)) + +* Scrub the Pyenv install dir before attempting an install. ([#19193](https://github.com/pantsbuild/pants/pull/19193)) + +* Include scala_artifact classpath rule ([#19190](https://github.com/pantsbuild/pants/pull/19190)) + +* `docker_image`: secrets paths are now expanding `~` to the users home directory. ([#19130](https://github.com/pantsbuild/pants/pull/19130)) + +* Support explicit dependencies with scala_artifact ([#19187](https://github.com/pantsbuild/pants/pull/19187)) + +* Avoid extra `.` in `from .. import` parent imports in Rust Python dep inference ([#19175](https://github.com/pantsbuild/pants/pull/19175)) + +### Documentation + +* Update FaaS docs for 2.18, including Lambda layers ([#19217](https://github.com/pantsbuild/pants/pull/19217)) + +* Add `tobni` to Maintainers ([#19195](https://github.com/pantsbuild/pants/pull/19195)) + +* Adjust FaaS docs for `layout = "zip"` ([#19180](https://github.com/pantsbuild/pants/pull/19180)) + ## 2.18.0.dev0 (May 26, 2023) ### New Features