Skip to content

Commit

Permalink
Prepare 2.16.0.dev0 (pantsbuild#17595)
Browse files Browse the repository at this point in the history
  • Loading branch information
stuhood authored Nov 19, 2022
1 parent 1e131d6 commit c7395e4
Show file tree
Hide file tree
Showing 8 changed files with 125 additions and 73 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Chris Heisterkamp
+ Chris Livingston
+ Chris Pesto
+ Chris Targett
+ Chris Williams
+ Christopher Livingston
+ Christopher Maier
Expand Down Expand Up @@ -94,6 +95,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Guy Marom
+ Harley Cooper
+ Henry Fuller
+ Herbert Rusznak
+ Huon Wilson
+ Hwasung Lee
+ Ian Tabolt
Expand Down Expand Up @@ -179,6 +181,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Maxim Khutornenko
+ Maxim Popenko
+ Michael Doherty
+ Michael Glass
+ Michal Bryc
+ Mike Cripps
+ Mike Lindsey
Expand Down Expand Up @@ -254,6 +257,7 @@ Created by running `./pants run build-support/bin/contributors.py`.
+ Tom Dimiduk
+ Tom Dyas
+ Tom Howland
+ Tom Solberg
+ Tomasz Godzik
+ Tomasz Pasternak
+ Travis Crawford
Expand Down
1 change: 1 addition & 0 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -286,3 +286,4 @@ master = "src/python/pants/notes/master.rst"
"2.13.x" = "src/python/pants/notes/2.13.x.md"
"2.14.x" = "src/python/pants/notes/2.14.x.md"
"2.15.x" = "src/python/pants/notes/2.15.x.md"
"2.16.x" = "src/python/pants/notes/2.16.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.15.0a0
2.16.0.dev0
41 changes: 0 additions & 41 deletions src/python/pants/backend/python/subsystems/poetry.py

This file was deleted.

8 changes: 0 additions & 8 deletions src/python/pants/base/specs.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

from typing_extensions import Protocol

from pants.base.deprecated import warn_or_error
from pants.base.glob_match_error_behavior import GlobMatchErrorBehavior
from pants.engine.fs import GlobExpansionConjunction, PathGlobs
from pants.util.dirutil import fast_relpath_optional, recursive_dirname
Expand Down Expand Up @@ -257,7 +256,6 @@ def create(
specs: Iterable[Spec],
*,
description_of_origin: str,
convert_dir_literal_to_address_literal: bool | None = None,
unmatched_glob_behavior: GlobMatchErrorBehavior = GlobMatchErrorBehavior.error,
filter_by_global_options: bool = False,
from_change_detection: bool = False,
Expand All @@ -267,12 +265,6 @@ def create(
If the `Spec` objects are already separated by type, prefer using the class's constructor
directly.
"""
if convert_dir_literal_to_address_literal is not None:
warn_or_error(
"2.16.0.dev0",
"the convert_dir_literal_to_address_literal kwarg for `RawSpecs.parse_specs",
"Directories are now never converted to AddressLiteral. So, remove the kwarg.",
)

address_literals = []
file_literals = []
Expand Down
8 changes: 0 additions & 8 deletions src/python/pants/base/specs_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from typing import Iterable

from pants.base.build_environment import get_buildroot
from pants.base.deprecated import warn_or_error
from pants.base.glob_match_error_behavior import GlobMatchErrorBehavior
from pants.base.specs import (
AddressLiteralSpec,
Expand Down Expand Up @@ -117,15 +116,8 @@ def parse_specs(
specs: Iterable[str],
*,
description_of_origin: str,
convert_dir_literal_to_address_literal: bool | None = None,
unmatched_glob_behavior: GlobMatchErrorBehavior = GlobMatchErrorBehavior.error,
) -> Specs:
if convert_dir_literal_to_address_literal is not None:
warn_or_error(
"2.16.0.dev0",
"the convert_dir_literal_to_address_literal kwarg for `SpecsParser.parse_specs",
"Directories are now never converted to AddressLiteral. So, remove the kwarg.",
)
include_specs = []
ignore_specs = []
for spec_str in specs:
Expand Down
15 changes: 0 additions & 15 deletions src/python/pants/engine/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from enum import Enum
from typing import Iterable, Mapping

from pants.base.deprecated import warn_or_error
from pants.engine.engine_aware import SideEffecting
from pants.engine.fs import EMPTY_DIGEST, Digest, FileDigest
from pants.engine.internals.native_engine import ( # noqa: F401
Expand All @@ -22,7 +21,6 @@
from pants.util.frozendict import FrozenDict
from pants.util.logging import LogLevel
from pants.util.meta import frozen_after_init
from pants.util.strutil import softwrap

logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -88,7 +86,6 @@ def __init__(
execution_slot_variable: str | None = None,
concurrency_available: int = 0,
cache_scope: ProcessCacheScope = ProcessCacheScope.SUCCESSFUL,
platform: Platform | None = None,
remote_cache_speculation_delay_millis: int = 0,
) -> None:
"""Request to run a subprocess, similar to subprocess.Popen.
Expand Down Expand Up @@ -138,18 +135,6 @@ def __init__(
self.cache_scope = cache_scope
self.remote_cache_speculation_delay_millis = remote_cache_speculation_delay_millis

if platform is not None:
warn_or_error(
"2.16.0.dev0",
"the `platform` kwarg for `Process`",
softwrap(
"""
The `platform` kwarg no longer does anything because the `platform` is always
automatically set. To fix this deprecation, delete the kwarg.
"""
),
)


@dataclass(frozen=True)
class ProcessResult:
Expand Down
119 changes: 119 additions & 0 deletions src/python/pants/notes/2.16.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# 2.16.x Release Series

## 2.16.0.dev0 (Nov 19, 2022)

### New Features

* Add `environment=` to `experimental_shell_command`. ([#17575](https://github.com/pantsbuild/pants/pull/17575))

* Add debug goals to python ([#17057](https://github.com/pantsbuild/pants/pull/17057))

* Target visibility rules ([#17401](https://github.com/pantsbuild/pants/pull/17401))

* Emit a `__run.sh` into InteractiveProcess sandboxes. ([#17532](https://github.com/pantsbuild/pants/pull/17532))

* Support newer pip versions. ([#17555](https://github.com/pantsbuild/pants/pull/17555))

* New dependency rules Plugin API ([#17550](https://github.com/pantsbuild/pants/pull/17550))

* Export metadata about a packaged docker image ([#17299](https://github.com/pantsbuild/pants/pull/17299))

* Don't require hardcoded name in `python_distribution.provides` ([#17522](https://github.com/pantsbuild/pants/pull/17522))

* Add `per_platform` object ([#17334](https://github.com/pantsbuild/pants/pull/17334))

* Process output capturing is symlink-aware ([#17496](https://github.com/pantsbuild/pants/pull/17496))

* go: introduce `GoBuildOptions` and `cgo_enabled` field ([#17475](https://github.com/pantsbuild/pants/pull/17475))

* Disambiguate Python module providers by level of ancestry. ([#17489](https://github.com/pantsbuild/pants/pull/17489))

* go: support ".syso" prebuilt object files ([#17479](https://github.com/pantsbuild/pants/pull/17479))

* Add Docker registries `use_local_alias` configuration option. ([#17265](https://github.com/pantsbuild/pants/pull/17265))

* Proposal for supporting Jar shading rules ([#17251](https://github.com/pantsbuild/pants/pull/17251))

* A --resolve flag, to specify the resolves to export. ([#17416](https://github.com/pantsbuild/pants/pull/17416))

* Handle duplicate JAR entries in `deploy_jar` ([#17419](https://github.com/pantsbuild/pants/pull/17419))

### User API Changes

* Upgrade default version of golangci-lint to 1.50.1 ([#17574](https://github.com/pantsbuild/pants/pull/17574))

* Deprecate the old export semantics. ([#17465](https://github.com/pantsbuild/pants/pull/17465))

* Add `restartable` field to `python_sources` ([#17400](https://github.com/pantsbuild/pants/pull/17400))

* Deprecate the `# Dependees` column name in the py-constraints summary. ([#17399](https://github.com/pantsbuild/pants/pull/17399))

* Rename the dependees goal to dependents. ([#17397](https://github.com/pantsbuild/pants/pull/17397))

* Rename --changed-dependees to --changed-dependents ([#17395](https://github.com/pantsbuild/pants/pull/17395))

### Bug fixes

* Allow for `run --debug-adapter` to match breakpoints when source is running in a sandbox ([#17566](https://github.com/pantsbuild/pants/pull/17566))

* Created an `NpxToolBase` as an inheritable Subsystem for `nodejs` tools ([#17567](https://github.com/pantsbuild/pants/pull/17567))

* Fix loading of `SymlinkNodes` from the `Store`. ([#17549](https://github.com/pantsbuild/pants/pull/17549))

* Do not try to create `""` output directory in `CreateArchive` ([#17538](https://github.com/pantsbuild/pants/pull/17538))

* Persist digests before emitting them in `fs_util` ([#17525](https://github.com/pantsbuild/pants/pull/17525))

* Fix memoization of `CoarsenedTarget.closure` ([#17516](https://github.com/pantsbuild/pants/pull/17516))

* Support parsing targets from additional paths not containing BUILD files. ([#17451](https://github.com/pantsbuild/pants/pull/17451))

* Ensure lockfile target exists before injecting a dependency to it. ([#17365](https://github.com/pantsbuild/pants/pull/17365))

* Ensure correct eq/hash semantics for PythonArtifact. ([#17484](https://github.com/pantsbuild/pants/pull/17484))

* Isolate config seed values from the DEFAULT section. ([#17474](https://github.com/pantsbuild/pants/pull/17474))

* Fix poorly understood stdout redirection issue. ([#17471](https://github.com/pantsbuild/pants/pull/17471))

* Fix propagation of the remote-execution-append-only-caches path ([#17469](https://github.com/pantsbuild/pants/pull/17469))

* Pyright should grab non-transitive dependencies and make them available in the sandbox ([#17235](https://github.com/pantsbuild/pants/pull/17235))

* Plumb symlink support through the Pants engine ([#16844](https://github.com/pantsbuild/pants/pull/16844))

* Flip the default for `pull` on `docker_image` to `False` ([#17459](https://github.com/pantsbuild/pants/pull/17459))

* Merge pytest addopts ([#16614](https://github.com/pantsbuild/pants/pull/16614))

* Fix dep inference from `shuint2_tests` targets. ([#17417](https://github.com/pantsbuild/pants/pull/17417))

* Fix `EnvironmentName` used in `test` runs ([#17412](https://github.com/pantsbuild/pants/pull/17412))

* Add the m1 homebrew bin dir to the system binary search path. ([#17411](https://github.com/pantsbuild/pants/pull/17411))

* Restore debug hints for `test` execution ([#17406](https://github.com/pantsbuild/pants/pull/17406))

### Performance

* Skip loading of local cache data when possible ([#17495](https://github.com/pantsbuild/pants/pull/17495))

* Symlink site-packages into `pylint` venvs when possible. ([#17488](https://github.com/pantsbuild/pants/pull/17488))

* Filter coarsened targets to only those that are relevant in `pylint` runner rule ([#17487](https://github.com/pantsbuild/pants/pull/17487))

### Documentation

* correct docs: direnv can't save ulimit ([#17561](https://github.com/pantsbuild/pants/pull/17561))

* Update team pages for SJ and Dan! ([#17534](https://github.com/pantsbuild/pants/pull/17534))

* Fix line breaks in a docs page. ([#17527](https://github.com/pantsbuild/pants/pull/17527))

* Clarify how `__defaults__` apply to target generators. ([#17493](https://github.com/pantsbuild/pants/pull/17493))

* Fix typo in docs: debug-adaptor should be debug-adapter ([#17452](https://github.com/pantsbuild/pants/pull/17452))

* Update `nuke_if_too_big` documentation ([#17429](https://github.com/pantsbuild/pants/pull/17429))

* Fix version templating in `vcs_version` docs ([#17423](https://github.com/pantsbuild/pants/pull/17423))

0 comments on commit c7395e4

Please sign in to comment.