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.0rc0 #12695

Merged
merged 1 commit into from
Aug 30, 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: 1 addition & 1 deletion src/python/pants/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.0.dev4
2.7.0rc0
68 changes: 68 additions & 0 deletions src/python/pants/notes/2.7.x.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,73 @@
# 2.7.x Stable Releases

## 2.7.0rc0 (Aug 31, 2021)

### New Features

* Add `[tool].lockfile` (e.g. `[black].lockfile`) for Python tools and activate `./pants generate-lockfiles` by default ([#12684](https://github.com/pantsbuild/pants/pull/12684))

* Add `--generate-lockfiles-resolve` to allow generating for only certain tools ([#12676](https://github.com/pantsbuild/pants/pull/12676))

* Add `[generate-lockfiles].custom_command` ([#12687](https://github.com/pantsbuild/pants/pull/12687))

* Add experimental Docker build rules. ([#12467](https://github.com/pantsbuild/pants/pull/12467))

### User API Changes

* Use Pants's default tool lockfiles by default for Python tools like Black, Pytest, and Flake8 ([#12689](https://github.com/pantsbuild/pants/pull/12689))

* Set `[python-setup].invalid_lockfile_behavior` to `error` by default ([#12686](https://github.com/pantsbuild/pants/pull/12686))

* Bump default for `pytest-cov` (`[pytest].extra_requirements`) and `[coverage-py].version` so both use `coverage 5.5` ([#12690](https://github.com/pantsbuild/pants/pull/12690))

* Pin `GitPython==3.1.18` by default with Bandit to ensure yanked release isn't used in lockfile generation ([#12691](https://github.com/pantsbuild/pants/pull/12691))

* Stop pinning `stevedore<3` by default for Bandit ([#12681](https://github.com/pantsbuild/pants/pull/12681))

* Stop installing `setuptools` by default with Black, Flake8, Isort, and Yapf ([#12673](https://github.com/pantsbuild/pants/pull/12673))

* Stop using `[python-setup].requirements_constraints` when installing tools like Black and MyPy ([#12639](https://github.com/pantsbuild/pants/pull/12639))

* Default to `my-dep-stubs` and `stubs-my-dep` being third-party type stubs ([#12598](https://github.com/pantsbuild/pants/pull/12598))

* Type stubs should be registered as normal requirements, not in `[mypy].extra_requirements` ([#12597](https://github.com/pantsbuild/pants/pull/12597))

### Plugin API Changes

* Support indivisible Sources fields ([#12685](https://github.com/pantsbuild/pants/pull/12685))

* Render EngineAware parameters in cycle errors from Graph. ([#12668](https://github.com/pantsbuild/pants/pull/12668))

* Split PexRequirements into three unioned types ([#12644](https://github.com/pantsbuild/pants/pull/12644))

* Add `__repr__` impl for PySnapshot ([#12622](https://github.com/pantsbuild/pants/pull/12622))

* Remove the `rationale` field from BashBinaryRequest. ([#12624](https://github.com/pantsbuild/pants/pull/12624))

### Bug fixes

* The `pex_binary` "venv" mode now sees bin scripts. ([#12664](https://github.com/pantsbuild/pants/pull/12664))

* Fix UI rendering when multiple tasks have the same label. ([#12659](https://github.com/pantsbuild/pants/pull/12659))

* tailor: do not append comma to kwarg with empty tuple ([#12653](https://github.com/pantsbuild/pants/pull/12653))

* Fix `FindBinary` when `which` is discoverable on `$PATH` on macOS ([#12581](https://github.com/pantsbuild/pants/pull/12581))

* Fix coloring of stderr logs with pantsd ([#12585](https://github.com/pantsbuild/pants/pull/12585))

### Performance

* Decompose requirements pexes ([#12675](https://github.com/pantsbuild/pants/pull/12675))

### Documentation

* Switch log warning rendering to yellow. ([#12596](https://github.com/pantsbuild/pants/pull/12596))

* Align `Enriched*Result` colors, sigils, and log levels. ([#12645](https://github.com/pantsbuild/pants/pull/12645))

* Fix Toolchain plugin being included in generated reference docs ([#12642](https://github.com/pantsbuild/pants/pull/12642))

## 2.7.0.dev4 (Aug 15, 2021)

### New Features
Expand Down