Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prep 2.18.0.dev1 #19233

Merged
merged 9 commits into from
Jun 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.18.0.dev0
2.18.0.dev1
3 changes: 2 additions & 1 deletion src/python/pants/core/util_rules/system_binaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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).",
)
Expand Down
3 changes: 2 additions & 1 deletion src/python/pants/engine/internals/specs_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
44 changes: 44 additions & 0 deletions src/python/pants/notes/2.18.x.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down