diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index c803ed4a9d4..92ed7966400 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -6,6 +6,7 @@ Created by running `./build-support/bin/contributors.sh`. + Alan Velasco + Alex Schmitt + Alexander Johnson ++ Alexey Tereshenkov + Alyssa Pohahau + Andreas Stenius + Andrew Hamilton @@ -71,6 +72,7 @@ Created by running `./build-support/bin/contributors.sh`. + Gabriel Gonzalez + Garrett Malmquist + Gary M. Josack ++ Gordon Cassie + Greg Shuflin + Guy Marom + Harley Cooper diff --git a/pants.toml b/pants.toml index 89f4e4bd1be..7b8029f79ee 100644 --- a/pants.toml +++ b/pants.toml @@ -137,6 +137,7 @@ release_notes = """ '2.4.x': 'src/python/pants/notes/2.4.x.md', '2.5.x': 'src/python/pants/notes/2.5.x.md', '2.6.x': 'src/python/pants/notes/2.6.x.md', + '2.7.x': 'src/python/pants/notes/2.7.x.md', } """ diff --git a/src/python/pants/VERSION b/src/python/pants/VERSION index 5082ccf227b..ba610dcf02c 100644 --- a/src/python/pants/VERSION +++ b/src/python/pants/VERSION @@ -1 +1 @@ -2.6.0rc0 +2.7.0.dev0 diff --git a/src/python/pants/backend/awslambda/python/target_types.py b/src/python/pants/backend/awslambda/python/target_types.py index 1cf3d6910ec..1786e0b111e 100644 --- a/src/python/pants/backend/awslambda/python/target_types.py +++ b/src/python/pants/backend/awslambda/python/target_types.py @@ -33,14 +33,6 @@ from pants.util.docutil import doc_url -class DeprecatedAwsLambdaInterpreterConstraints(InterpreterConstraintsField): - removal_version = "2.7.0.dev0" - removal_hint = ( - "The `interpreter_constraints` field does not do anything for `python_awslambda` targets. " - "Use the `runtime` field instead to choose the Python interpreter." - ) - - class PythonAwsLambdaHandlerField(StringField, AsyncFieldMixin, SecondaryOwnerMixin): alias = "handler" required = True @@ -199,7 +191,6 @@ class PythonAWSLambda(Target): core_fields = ( *COMMON_TARGET_FIELDS, OutputPathField, - DeprecatedAwsLambdaInterpreterConstraints, PythonAwsLambdaDependencies, PythonAwsLambdaHandlerField, PythonAwsLambdaRuntime, diff --git a/src/python/pants/core/goals/lint.py b/src/python/pants/core/goals/lint.py index 971d24e6edb..2150bdba973 100644 --- a/src/python/pants/core/goals/lint.py +++ b/src/python/pants/core/goals/lint.py @@ -176,20 +176,6 @@ def register_options(cls, register) -> None: "faster than `--no-per-file-caching` for your use case." ), ) - register( - "--reports-dir", - type=str, - metavar="", - default=None, - advanced=True, - help=( - "Specifying a directory causes linters that support writing report files to write " - "into this directory." - ), - removal_version="2.7.0.dev0", - removal_hint=f"Edit the config file for the linter in question, or set its args via " - f"Pants options, to cause it to write reports under f{REPORT_DIR} .", - ) @property def per_file_caching(self) -> bool: diff --git a/src/python/pants/notes/2.7.x.md b/src/python/pants/notes/2.7.x.md new file mode 100644 index 00000000000..3ac03054d73 --- /dev/null +++ b/src/python/pants/notes/2.7.x.md @@ -0,0 +1,37 @@ +## 2.7.0.dev0 (Jul 09, 2021) + +### New Features + +* Add skimage module mapping for dependency inference ([#12301](https://github.com/pantsbuild/pants/pull/12301)) + +* add experimental terraform plugin with fmt and lint rules ([#11973](https://github.com/pantsbuild/pants/pull/11973)) + +* Include experimental Go backends in pantsbuild.pants ([#12290](https://github.com/pantsbuild/pants/pull/12290)) + +* Add support for MyPy report files ([#12271](https://github.com/pantsbuild/pants/pull/12271)) + +* Don't tailor a python_library for a solitary __init__.py. ([#12288](https://github.com/pantsbuild/pants/pull/12288)) + +* Support running tailor on subdirs. ([#12262](https://github.com/pantsbuild/pants/pull/12262)) + +* Add JavacSubsystem and JavacBinary, allowing user-configurable JVM selection ([#12283](https://github.com/pantsbuild/pants/pull/12283)) + +* Revert "Deprecate unused `--process-execution-local-enable-nailgun` (#11600)" ([#12257](https://github.com/pantsbuild/pants/pull/12257)) + +* Apply a concurrency limit to remote store/cache/execution gRPC requests ([#12256](https://github.com/pantsbuild/pants/pull/12256)) + +* Support building dists from preexisting setup.py. ([#12250](https://github.com/pantsbuild/pants/pull/12250)) + +### Bug fixes + +* Fix poetry_requirements: ignore internal projects. ([#12280](https://github.com/pantsbuild/pants/pull/12280)) + +* Fix poetry_requirements handling of python. ([#12278](https://github.com/pantsbuild/pants/pull/12278)) + +* Do not use `[python-setup].resolve_all_constraints` when using `platforms` ([#12268](https://github.com/pantsbuild/pants/pull/12268)) + +* Hotfix for `poetry_requirements` not being recognized as a macro in build files ([#12263](https://github.com/pantsbuild/pants/pull/12263)) + +### Documentation + +* Improve error for out-of-line Gets. ([#12305](https://github.com/pantsbuild/pants/pull/12305))