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

Prepare 2.14.0.dev0 #15944

Merged
merged 7 commits into from
Jun 26, 2022
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 pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -267,3 +267,4 @@ master = "src/python/pants/notes/master.rst"
"2.11.x" = "src/python/pants/notes/2.11.x.md"
"2.12.x" = "src/python/pants/notes/2.12.x.md"
"2.13.x" = "src/python/pants/notes/2.13.x.md"
"2.14.x" = "src/python/pants/notes/2.14.x.md"
2 changes: 1 addition & 1 deletion src/python/pants/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.13.0a0
2.14.0.dev0
2 changes: 1 addition & 1 deletion src/python/pants/backend/go/subsystems/golang.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class GolangSubsystem(Subsystem):
Do not include the patch version.
"""
),
removal_version="2.14.0.dev0",
removal_version="2.14.0.dev1",
removal_hint=(
"Use `[golang].minimum_expected_version` instead, which is more flexible. Pants will "
"now work if your local Go binary is newer than the expected minimum version; e.g. Go "
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/project_info/filter_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def filter_targets(
addresses: Addresses, filter_subsystem: FilterSubsystem, console: Console
) -> FilterGoal:
warn_or_error(
"2.14.0.dev0",
"2.14.0.dev1",
"using `filter` as a goal",
softwrap(
f"""
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/backend/scala/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def scala_settings_request(
) -> TargetFilesGeneratorSettings:
if scala_infer_subsystem.options.is_default("force_add_siblings_as_dependencies"):
warn_or_error(
removal_version="2.14.0.dev0",
removal_version="2.14.0.dev1",
entity="`force_add_siblings_as_dependencies` defaulting to True",
hint=softwrap(
"""
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/core/goals/tailor.py
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ async def tailor(
dir_search_paths = tuple(sorted({os.path.dirname(f) for f in specs_paths.files}))
else:
warn_or_error(
"2.14.0.dev0",
"2.14.0.dev1",
f"running `{bin_name()} tailor` without arguments",
softwrap(
f"""
Expand Down
2 changes: 1 addition & 1 deletion src/python/pants/core/goals/update_build_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async def update_build_files(
)
else:
warn_or_error(
"2.14.0.dev0",
"2.14.0.dev1",
f"running `{bin_name()} update-build-files` without arguments",
softwrap(
f"""
Expand Down
93 changes: 93 additions & 0 deletions src/python/pants/notes/2.14.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# 2.14.x Release Series

## 2.14.0.dev0 (Jun 25, 2022)

### New Features

* Add repository config option to Docker registries. ([#15884](https://github.com/pantsbuild/pants/pull/15884))

* Add `__defaults__` BUILD file symbol ([#15836](https://github.com/pantsbuild/pants/pull/15836))

* Add option for max wait before terminating interactive process ([#15767](https://github.com/pantsbuild/pants/pull/15767))

### User API Changes

* Deprecate `--use-deprecated-directory-cli-args-semantics` and default to false ([#15939](https://github.com/pantsbuild/pants/pull/15939))

* Remove deprecated `[golang].expected_version` in favor of `[golang].minimum_expected_version` ([#15942](https://github.com/pantsbuild/pants/pull/15942))

* Upgrade default iPython to 7.34, which drops Python 3.6 ([#15934](https://github.com/pantsbuild/pants/pull/15934))

* Remove deprecated `--excluded-target-regexp`, `--files-not-found-behavior`, and `--owners-not-found-behavior` global options ([#15929](https://github.com/pantsbuild/pants/pull/15929))

* Deprecate implicit setting of `--remote-cache-{read,write,eager-fetch}` with `--remote-execution` ([#15900](https://github.com/pantsbuild/pants/pull/15900))

* Add `[scala-infer].force_add_siblings_as_dependencies` and deprecate it defaulting to true ([#15841](https://github.com/pantsbuild/pants/pull/15841))

* Add `--debug-adapter` flag to `test` goal ([#15799](https://github.com/pantsbuild/pants/pull/15799))

### Plugin API Changes

* Plugin fields should propagate to subclassed target types. ([#15876](https://github.com/pantsbuild/pants/pull/15876))

* Introduce a plugin API to provide all thread local state, and deprecate stdio-specific methods ([#15890](https://github.com/pantsbuild/pants/pull/15890))

* Add `skip_invalid_addresses` field to `UnparsedAddressInputs` ([#15864](https://github.com/pantsbuild/pants/pull/15864))

* Add `MaybeAddress` for infallible evaluation of `AddressInput` ([#15863](https://github.com/pantsbuild/pants/pull/15863))

* Add optional `StringSequenceField.valid_choices` ([#15684](https://github.com/pantsbuild/pants/pull/15684))

* `WrappedTarget` now requires `WrappedTargetRequest` ([#15789](https://github.com/pantsbuild/pants/pull/15789))

* Move `ResolveError` from `pants.base.exceptions` to `pants.build_graph.address` ([#15790](https://github.com/pantsbuild/pants/pull/15790))

* `_TargetParametrizations` now requires `_TargetParametrizationsRequest` ([#15759](https://github.com/pantsbuild/pants/pull/15759))

* `BuildFileAddress` now requires `BuildFileAddressRequest` ([#15760](https://github.com/pantsbuild/pants/pull/15760))

### Bug fixes

* Assorted remote metrics fixes. ([#15914](https://github.com/pantsbuild/pants/pull/15914))

* Fix bad "<infallible>" description in invalid addresses error messages ([#15859](https://github.com/pantsbuild/pants/pull/15859))

* Allow JVM memory controls to bound the process pool size to less than the process parallelism ([#15903](https://github.com/pantsbuild/pants/pull/15903))

* Upgrade to `nails` `0.13.0` to pick up support for `JDK >=13`. ([#15899](https://github.com/pantsbuild/pants/pull/15899))

* Increment the missing-digest backtracking level once per attempt ([#15889](https://github.com/pantsbuild/pants/pull/15889))

* Scala: should visit ctor args of base type ([#15880](https://github.com/pantsbuild/pants/pull/15880))

* Scala: mark an object that extends another type as recursive ([#15865](https://github.com/pantsbuild/pants/pull/15865))

* Fix reporting of time spent downloading files ([#15873](https://github.com/pantsbuild/pants/pull/15873))

* Support `--help` for builtin goals. ([#15798](https://github.com/pantsbuild/pants/pull/15798))

* Handle venv path special chars in coursier fetch ([#15701](https://github.com/pantsbuild/pants/pull/15701))

* Fix `[python-infer].inits` and `[python-infer].conftests` to consider `resolve` field ([#15787](https://github.com/pantsbuild/pants/pull/15787))

### Performance

* Dedupe `load_bytes_with` calls to a remote Store ([#15901](https://github.com/pantsbuild/pants/pull/15901))

* Backtrack execution for missing digests to make `eager_fetch=false` more resilient ([#15850](https://github.com/pantsbuild/pants/pull/15850))

* Remove synchronous remote cache lookup from remote execution ([#15854](https://github.com/pantsbuild/pants/pull/15854))

### Documentation

* Add test debugging doc ([#15948](https://github.com/pantsbuild/pants/pull/15948))

* Update certificate environment variable advice for #14808. ([#15943](https://github.com/pantsbuild/pants/pull/15943))

* Clarify deprecation messages for `tailor` and `update-build-files` requiring CLI arguments ([#15932](https://github.com/pantsbuild/pants/pull/15932))

* Fix broken links to `tailor` documentation ([#15842](https://github.com/pantsbuild/pants/pull/15842))

* Update docs for redesign of CLI arguments ([#15816](https://github.com/pantsbuild/pants/pull/15816))

* Better error message when an address does not exist ([#15788](https://github.com/pantsbuild/pants/pull/15788))