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

Prep for 2.7.0.dev0 #12315

Merged
merged 1 commit into from
Jul 9, 2021
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
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
"""

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.6.0rc0
2.7.0.dev0
10 changes: 0 additions & 10 deletions src/python/pants/backend/awslambda/python/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from pants.backend.python.dependency_inference.module_mapper import PythonModule, PythonModuleOwners
from pants.backend.python.dependency_inference.rules import PythonInferSubsystem, import_rules
from pants.backend.python.target_types import InterpreterConstraintsField
from pants.core.goals.package import OutputPathField
from pants.engine.addresses import Address
from pants.engine.fs import GlobMatchErrorBehavior, PathGlobs, Paths
Expand All @@ -33,14 +32,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
Expand Down Expand Up @@ -199,7 +190,6 @@ class PythonAWSLambda(Target):
core_fields = (
*COMMON_TARGET_FIELDS,
OutputPathField,
DeprecatedAwsLambdaInterpreterConstraints,
PythonAwsLambdaDependencies,
PythonAwsLambdaHandlerField,
PythonAwsLambdaRuntime,
Expand Down
14 changes: 0 additions & 14 deletions src/python/pants/core/goals/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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="<DIR>",
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:
Expand Down
35 changes: 35 additions & 0 deletions src/python/pants/notes/2.7.x.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## 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))

* Add support for MyPy report files ([#12271](https://github.com/pantsbuild/pants/pull/12271))

* Support running tailor on subdirs. ([#12262](https://github.com/pantsbuild/pants/pull/12262))

* Support building dists from preexisting setup.py. ([#12250](https://github.com/pantsbuild/pants/pull/12250))

### User API Changes

* Don't tailor a python_library for a solitary __init__.py. ([#12288](https://github.com/pantsbuild/pants/pull/12288))

* Apply a concurrency limit to remote store/cache/execution gRPC requests ([#12256](https://github.com/pantsbuild/pants/pull/12256))

### 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))

* Include experimental Go backends in pantsbuild.pants ([#12290](https://github.com/pantsbuild/pants/pull/12290))

### Documentation

* Improve error for out-of-line Gets. ([#12305](https://github.com/pantsbuild/pants/pull/12305))