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.1.0rc0 #11119

Merged
merged 1 commit into from
Nov 10, 2020
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 @@ -195,6 +195,7 @@ Created by running `./build-support/bin/contributors.sh`.
+ Tansy Arron-Walker
+ Ted Dziuba
+ Tejal Desai
+ Thales Menato
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fyi @thamenato :)

+ Tianshuo Deng
+ Tien Nguyen
+ Tim Treptow
Expand Down
8 changes: 4 additions & 4 deletions build-support/bin/release-changelog-helper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ echo "We do not include internal-only changes. However, in the release prep PR,
echo "----------------------------------------------------------------------------------------------------"
cat <<EOF

New Features
~~~~~~~~~~~~


User API Changes
~~~~~~~~~~~~~~~~

Expand All @@ -52,10 +56,6 @@ Plugin API Changes
~~~~~~~~~~~~~~~~~~


New Features
~~~~~~~~~~~~


Bugfixes
~~~~~~~~

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.1.0.dev0
2.1.0rc0
63 changes: 63 additions & 0 deletions src/python/pants/notes/2.1.x.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,69 @@ This document describes releases leading up to the ``2.1.x`` ``stable`` series.

See https://www.pantsbuild.org/v2.1/docs/release-notes-2-1 for an overview of the changes in this release.

2.1.0rc0 (11/9/2020)
-----------------------

New Features
~~~~~~~~~~~~

* Add `export-codegen` goal (#11107)
`PR #11107 <https://github.com/pantsbuild/pants/pull/11107>`_

* Add `./pants py-constraints --summary` for project overview (#11099)
`PR #11099 <https://github.com/pantsbuild/pants/pull/11099>`_

* Add `./pants help subsystems` (#11088)
`PR #11088 <https://github.com/pantsbuild/pants/pull/11088>`_

* Improve performance of dependency inference (#11094)
`PR #11094 <https://github.com/pantsbuild/pants/pull/11094>`_

User API Changes
~~~~~~~~~~~~~~~~

* Change default for `--pants-distdir-legacy-paths` and deprecate it (#11096)
`PR #11096 <https://github.com/pantsbuild/pants/pull/11096>`_

* Clarify that process cache namespacing works for all runners (#11095)
`PR #11095 <https://github.com/pantsbuild/pants/pull/11095>`_

* Deprecate target names containing slashes and colons (#11115)
`PR #11115 <https://github.com/pantsbuild/pants/pull/11115>`_

Plugin API Changes
~~~~~~~~~~~~~~~~~~

* Rename `SourcesSnapshot` to `SpecsSnapshot` (#11114)
`PR #11114 <https://github.com/pantsbuild/pants/pull/11114>`_

Bugfixes
~~~~~~~~

* Fix logs for `test`, `lint`, `fmt`, and `typecheck` to always print, even if cached (#11111)
`PR #11111 <https://github.com/pantsbuild/pants/pull/11111>`_

* Fix `pytest.pex` leaking into coverage data (#11110)
`PR #11110 <https://github.com/pantsbuild/pants/pull/11110>`_

* Fix `--pex-verbosity` to work with the interpreter selection PEX (#11108)
`PR #11108 <https://github.com/pantsbuild/pants/pull/11108>`_

* Fix `!!` transitive excludes when used multiple times in a repo (#11103)
`PR #11103 <https://github.com/pantsbuild/pants/pull/11103>`_

* Fix `setup_py.with_provides()` to respect the `:func` entry-point shorthand (#11093)
`PR #11093 <https://github.com/pantsbuild/pants/pull/11093>`_

* Include a host fingerprint in pantsd's identity (#11092)
`PR #11092 <https://github.com/pantsbuild/pants/pull/11092>`_

Documentation
~~~~~~~~~~~~~

* Improve error message for invalid unions in `Get()`s (#11102)
`PR #11102 <https://github.com/pantsbuild/pants/pull/11102>`_

2.1.0.dev0 (10/30/2020)
-----------------------

Expand Down
6 changes: 3 additions & 3 deletions src/python/pants/option/global_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,14 +294,14 @@ def register_bootstrap_options(cls, register):
advanced=True,
metavar="<dir>",
default=get_pants_cachedir(),
help="Unused. Will be deprecated in 2.1.0.",
help="Unused. Will be deprecated in 2.2.0.",
)
register(
"--pants-configdir",
advanced=True,
metavar="<dir>",
default=get_pants_configdir(),
help="Unused. Will be deprecated in 2.1.0.",
help="Unused. Will be deprecated in 2.2.0.",
)
register(
"--pants-workdir",
Expand All @@ -326,7 +326,7 @@ def register_bootstrap_options(cls, register):
advanced=True,
metavar="<dir>",
default=os.path.join(buildroot, "build-support"),
help="Unused. Will be deprecated in 2.1.0.",
help="Unused. Will be deprecated in 2.2.0.",
)
register(
"--pants-distdir",
Expand Down
18 changes: 9 additions & 9 deletions src/python/pants/testutil/pants_integration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class PantsResult:
@property
def returncode(self) -> int:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="the property PantsResult.returncode",
hint="Use `PantsResult.exit_code` instead.",
)
Expand All @@ -47,7 +47,7 @@ def returncode(self) -> int:
@property
def stdout_data(self) -> str:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="the property PantsResult.stdout_data",
hint="Use `PantsResult.stdout` instead.",
)
Expand All @@ -56,7 +56,7 @@ def stdout_data(self) -> str:
@property
def stderr_data(self) -> str:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="the property PantsResult.stderr_data",
hint="Use `PantsResult.stderr` instead.",
)
Expand Down Expand Up @@ -383,7 +383,7 @@ def run_pants_with_workdir_without_waiting(
**kwargs: Any,
) -> PantsJoinHandle:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.run_pants_with_workdir_without_waiting()",
hint=(
"Use the top-level function `run_pants_with_workdir_without_waiting()`. "
Expand Down Expand Up @@ -411,7 +411,7 @@ def run_pants_with_workdir(
**kwargs: Any,
) -> PantsResult:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.run_pants_with_workdir()",
hint=(
"Use the top-level function `run_pants_with_workdir()`. "
Expand Down Expand Up @@ -439,7 +439,7 @@ def run_pants(
**kwargs: Any,
) -> PantsResult:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.run_pants()",
hint=(
"Use the top-level function `run_pants()`. `PantsIntegrationTest` is deprecated."
Expand All @@ -458,7 +458,7 @@ def run_pants(
@staticmethod
def assert_success(pants_run: PantsResult, msg: Optional[str] = None) -> None:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.assert_success()",
hint="Use `PantsResult.assert_success()`. `PantsIntegrationTest` is deprecated.",
)
Expand All @@ -467,7 +467,7 @@ def assert_success(pants_run: PantsResult, msg: Optional[str] = None) -> None:
@staticmethod
def assert_failure(pants_run: PantsResult, msg: Optional[str] = None) -> None:
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.assert_failure()",
hint="Use `PantsResult.assert_failure()`. `PantsIntegrationTest` is deprecated.",
)
Expand All @@ -476,7 +476,7 @@ def assert_failure(pants_run: PantsResult, msg: Optional[str] = None) -> None:
@staticmethod
def temporary_workdir(cleanup: bool = True):
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="PantsIntegrationTest.temporary_workdir()",
hint=(
"Use the top-level function `temporary_workdir`. `PantsIntegrationTest` is "
Expand Down
14 changes: 0 additions & 14 deletions src/python/pants/testutil/pants_run_integration_test.py

This file was deleted.

2 changes: 1 addition & 1 deletion src/python/pants/testutil/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def setUp(self):
def setUpClass(cls) -> None:
super().setUpClass()
warn_or_error(
removal_version="2.1.0.dev1",
removal_version="2.2.0.dev0",
deprecated_entity_description="pants.testutil.test_base.TestBase",
hint=(
"Use `pants.testutil.rule_runner.RuleRunner` instead, which uses a Pytest fixture "
Expand Down