Skip to content

Commit

Permalink
Prepare the 2.17.0.dev2 release. (pantsbuild#18643)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Apr 1, 2023
1 parent 1462bef commit 5ec0d9b
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/python/pants/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.0.dev1
2.17.0.dev2
4 changes: 2 additions & 2 deletions src/python/pants/backend/python/subsystems/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ class PythonSetup(Subsystem):

@memoized_property
def interpreter_constraints(self) -> tuple[str, ...]:
# TODO: In 2.17.0.dev2 we should set the default above to None and tweak the message here
# TODO: In 2.17.0.dev3 we should set the default above to None and tweak the message here
# appropriately.
if self.options.is_default("interpreter_constraints"):
warn_or_error(
"2.17.0.dev2",
"2.17.0.dev3",
"the factory default interpreter constraints value",
softwrap(
f"""\
Expand Down
4 changes: 2 additions & 2 deletions src/python/pants/engine/goal.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class EnvironmentBehavior(Enum):
f"""Indicates that a Goal has been migrated to compute EnvironmentNames to build targets in.
All goals in `pantsbuild/pants` should be migrated before the 2.15.x branch is cut, but end
user goals have until `2.17.0.dev2` to migrate.
user goals have until `2.17.0.dev3` to migrate.
See {doc_url('plugin-upgrade-guide')}.
"""
Expand All @@ -120,7 +120,7 @@ class EnvironmentBehavior(Enum):
def _selects_environments(cls) -> bool:
deprecated_conditional(
lambda: cls.environment_behavior == Goal.EnvironmentBehavior.UNMIGRATED,
"2.17.0.dev2",
"2.17.0.dev3",
f"Setting `Goal.environment_behavior=EnvironmentBehavior.UNMIGRATED` for `Goal` "
f"`{cls.name}`",
hint=f"See {doc_url('plugin-upgrade-guide')}\n",
Expand Down
34 changes: 34 additions & 0 deletions src/python/pants/notes/2.17.x.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# 2.17.x Release Series

## 2.17.0.dev2 (Mar 31, 2023)

### New Features

* javascript: Test goal with package manager installed test runner support ([#18554](https://github.com/pantsbuild/pants/pull/18554))

* expose PANTS_VERSION and make it string-comparable ([#18573](https://github.com/pantsbuild/pants/pull/18573))

### User API Changes

* Upgrade Pex to 2.1.131. ([#18626](https://github.com/pantsbuild/pants/pull/18626))

### Bug fixes

* Ensure that sandboxed processes exit before their sandboxes are cleaned up ([#18632](https://github.com/pantsbuild/pants/pull/18632))

* Plumb entire lockfile/internal only code through `create_pex_from_targets` ([#18622](https://github.com/pantsbuild/pants/pull/18622))

* narrow pex_binary files warning ([#18619](https://github.com/pantsbuild/pants/pull/18619))

* Fix PexPEX invocations ([#18610](https://github.com/pantsbuild/pants/pull/18610))

* Improve debug information for docker auth, and expose an environment variable. ([#18599](https://github.com/pantsbuild/pants/pull/18599))

### Performance

* Only materialize immutable files once per process ([#18600](https://github.com/pantsbuild/pants/pull/18600))

### Documentation

* Fix a string that should have been an f-string ([#18608](https://github.com/pantsbuild/pants/pull/18608))

* Fix `./pants` -> `pants` in some docs and help strings. ([#18596](https://github.com/pantsbuild/pants/pull/18596))

## 2.17.0.dev1 (Mar 24, 2023)

### New Features
Expand Down

0 comments on commit 5ec0d9b

Please sign in to comment.