Skip to content

Commit

Permalink
Prep for 2.7.0.dev0
Browse files Browse the repository at this point in the history
Internal changes omitted from the release notes:

* [internal] `./pants lock` uses transitive closure as inputs ([pantsbuild#12312](pantsbuild#12312))

* [internal] Add experimental `./pants lock` to generate a lockfile with pip-compile ([pantsbuild#12300](pantsbuild#12300))

* upgrade tokio and futures crates ([pantsbuild#12308](pantsbuild#12308))

* upgrade tonic, tower, and hyper crates ([pantsbuild#12294](pantsbuild#12294))

* Set up pants to use the latest version of humbug ([pantsbuild#12302](pantsbuild#12302))

* Refactor BUILD file parsing. ([pantsbuild#12279](pantsbuild#12279))

* Use get_type_hints() to get typed type hints. ([pantsbuild#12287](pantsbuild#12287))

* [internal] Fix parameters of convert_source_to_sources_test ([pantsbuild#12274](pantsbuild#12274))

* Fix assert arguments in a test ([pantsbuild#12273](pantsbuild#12273))

* Introduce a native pants client. ([pantsbuild#11922](pantsbuild#11922))

* Don't run CI in forks ([pantsbuild#12267](pantsbuild#12267))

* Change how we embed docsite links in help text. ([pantsbuild#12261](pantsbuild#12261))
  • Loading branch information
illicitonion committed Jul 9, 2021
1 parent 1abd7a9 commit 127e25d
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 24 deletions.
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
9 changes: 0 additions & 9 deletions src/python/pants/backend/awslambda/python/target_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -199,7 +191,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
37 changes: 37 additions & 0 deletions src/python/pants/notes/2.7.x.md
Original file line number Diff line number Diff line change
@@ -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))

0 comments on commit 127e25d

Please sign in to comment.