From a30c98d0cee4ead98e04b9516016ec3b476ba1f3 Mon Sep 17 00:00:00 2001 From: Yi Cheng Date: Sat, 2 Oct 2021 03:45:15 -0400 Subject: [PATCH] 2.8.0.dev3 prep (#13081) * [internal] Run pyupgrade on src/python/pants/backend/python ([#13073](https://github.com/pantsbuild/pants/pull/13073)) * [internal] Re-enable some skipped JVM tests. ([#13074](https://github.com/pantsbuild/pants/pull/13074)) * [internal] Use `DownloadedExternalModules` when analyzing external Go packages ([#13076](https://github.com/pantsbuild/pants/pull/13076)) * [internal] Use `DownloadedExternalModules` during Go target generation ([#13070](https://github.com/pantsbuild/pants/pull/13070)) * [internal] Replace deprecated use of `[pytest] junit_xml_dir` with `[test] xml_dir. ([#13069](https://github.com/pantsbuild/pants/pull/13069)) * [internal] Add `DownloadedExternalModules` for Go ([#13068](https://github.com/pantsbuild/pants/pull/13068)) * [internal] Always use jars on the user classpath, and generalize transitive classpath building ([#13061](https://github.com/pantsbuild/pants/pull/13061)) * Add failing tests for Go external modules ([#13065](https://github.com/pantsbuild/pants/pull/13065)) * [internal] java: fix version in test ([#13064](https://github.com/pantsbuild/pants/pull/13064)) * [internal] Skip additional inference tests ([#13062](https://github.com/pantsbuild/pants/pull/13062)) * [internal] java: enable cycles for file-level targets generated by `java_sources` ([#13058](https://github.com/pantsbuild/pants/pull/13058)) * [internal] Add a `@logging` decorator for tests. ([#13060](https://github.com/pantsbuild/pants/pull/13060)) * [internal] Improve compatibility of nailgun with append only caches, and use them for Coursier ([#13046](https://github.com/pantsbuild/pants/pull/13046)) * [internal] Stop using `go.sum` when generating `_go_external_package` targets ([#13052](https://github.com/pantsbuild/pants/pull/13052)) * [internal] Rename `go_module` target to `go_mod` ([#13053](https://github.com/pantsbuild/pants/pull/13053)) * [internal] Refactor `go/util_rules/external_module.py` ([#13051](https://github.com/pantsbuild/pants/pull/13051)) * [internal] go: add analyzer and rules for test sources ([#13041](https://github.com/pantsbuild/pants/pull/13041)) * [Internal] Refactoring how we integrate with dockerfile ([#13027](https://github.com/pantsbuild/pants/pull/13027)) * [internal] Simplify `go/package_binary.py` ([#13045](https://github.com/pantsbuild/pants/pull/13045)) * [internal] Refactor `OwningGoMod` ([#13042](https://github.com/pantsbuild/pants/pull/13042)) * [internal] Refactor `go_mod.py` ([#13039](https://github.com/pantsbuild/pants/pull/13039)) * [internal] Record metadata on engine-aware params ([#13040](https://github.com/pantsbuild/pants/pull/13040)) * [internal] Test discovery of `go` binary ([#13038](https://github.com/pantsbuild/pants/pull/13038)) * [internal] Extract directory setup for terraform linters / formatters into a separate rule. ([#13037](https://github.com/pantsbuild/pants/pull/13037)) * [internal] java: register dependency inference rules ([#13035](https://github.com/pantsbuild/pants/pull/13035)) * [internal] Add `strutil.bullet_list()` to DRY formatting ([#13031](https://github.com/pantsbuild/pants/pull/13031)) * Minor cleanups for the autoflake linter / formatter. ([#13032](https://github.com/pantsbuild/pants/pull/13032)) * Ensure XML results recorded for both pytest and junit ([#13025](https://github.com/pantsbuild/pants/pull/13025)) * [internal] go: refactor compilation into separate rule ([#13019](https://github.com/pantsbuild/pants/pull/13019)) * [internal] go: refactor link step into separate rule ([#13022](https://github.com/pantsbuild/pants/pull/13022)) * [internal] go: enable plugin in repo and cleanup test project ([#13018](https://github.com/pantsbuild/pants/pull/13018)) * [internal] go: use colon to separate binary name and version ([#13020](https://github.com/pantsbuild/pants/pull/13020)) * [internal] tweak formatting of help text for sourcefile-validation subsystem. ([#13016](https://github.com/pantsbuild/pants/pull/13016)) * [internal] Use system-installed Go rather than installing via Pants ([#13007](https://github.com/pantsbuild/pants/pull/13007)) * Move the `process-execution-local-cleanup` hint to a more specific location. ([#13013](https://github.com/pantsbuild/pants/pull/13013)) * [internal] Split shell targets into atom vs generator ([#12957](https://github.com/pantsbuild/pants/pull/12957)) * Install Go in CI ([#13011](https://github.com/pantsbuild/pants/pull/13011)) * Refresh maintainers list. ([#13004](https://github.com/pantsbuild/pants/pull/13004)) * [internal] Refactor setup of GOROOT and `import_analysis.py` ([#13000](https://github.com/pantsbuild/pants/pull/13000)) * Infer dependencies on COPY of pex binaries for `docker_image`s. ([#12920](https://github.com/pantsbuild/pants/pull/12920)) * Prepare 2.7.0. ([#12995](https://github.com/pantsbuild/pants/pull/12995)) * [internal] jvm: skip JDK tests unless env var set ([#12994](https://github.com/pantsbuild/pants/pull/12994)) * [internal] jvm: limit caching of JDK setup processes ([#12992](https://github.com/pantsbuild/pants/pull/12992)) * [internal] Async-ify `NailgunPool::connect` and `nailgun::CommandRunner`. ([#12990](https://github.com/pantsbuild/pants/pull/12990)) * [internal] Replace `java_library` with `java_source` and `java_sources`, and add `java_test` ([#12976](https://github.com/pantsbuild/pants/pull/12976)) * Prepare 2.7.0rc5. ([#12987](https://github.com/pantsbuild/pants/pull/12987)) * [internal] terraform: refactor parser script into its own file ([#12985](https://github.com/pantsbuild/pants/pull/12985)) * [internal] jvm/java: ensure JDK downloaded in one process ([#12972](https://github.com/pantsbuild/pants/pull/12972)) * add JDK to GitHub Actions CI ([#12977](https://github.com/pantsbuild/pants/pull/12977)) * [internal] Re-enable the `clippy::used_underscore_binding` check. ([#12983](https://github.com/pantsbuild/pants/pull/12983)) * [internal] Use target generation for `_go_external_package` ([#12929](https://github.com/pantsbuild/pants/pull/12929)) * [internal] Bump CI token expiration threshold. ([#12974](https://github.com/pantsbuild/pants/pull/12974)) * [internal] Re-enable the Java backend. ([#12971](https://github.com/pantsbuild/pants/pull/12971)) * [internal] Implement `@union`s via `Query`s ([#12966](https://github.com/pantsbuild/pants/pull/12966)) * Remove `Enriched*Result` classes in favor of `EngineAwareReturnType.cacheable` ([#12970](https://github.com/pantsbuild/pants/pull/12970)) * [internal] Remove spurious `python_tests` directive ([#12968](https://github.com/pantsbuild/pants/pull/12968)) * [internal] Python coverage report generation uses precomputed addresses. ([#12965](https://github.com/pantsbuild/pants/pull/12965)) * Add PackageRootedDependencyMap for mapping inferred Java dependencies ([#12964](https://github.com/pantsbuild/pants/pull/12964)) --- CONTRIBUTORS.md | 1 + src/python/pants/VERSION | 2 +- src/python/pants/notes/2.8.x.md | 62 +++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index f929c376b5a..6f8f91d91d6 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -234,4 +234,5 @@ Created by running `./build-support/bin/contributors.sh`. + Yujie Chen + billybecker + hephex ++ riisi + Ólafur Páll Geirsson diff --git a/src/python/pants/VERSION b/src/python/pants/VERSION index 18a322cb0bc..26778c908ff 100644 --- a/src/python/pants/VERSION +++ b/src/python/pants/VERSION @@ -1 +1 @@ -2.8.0.dev2 +2.8.0.dev3 diff --git a/src/python/pants/notes/2.8.x.md b/src/python/pants/notes/2.8.x.md index 2cbb4f864cb..5df0e1c8c97 100644 --- a/src/python/pants/notes/2.8.x.md +++ b/src/python/pants/notes/2.8.x.md @@ -1,5 +1,67 @@ # 2.8.x Release Series +## 2.8.0.dev3 (Oct 01, 2021) + +### New Features + +* Make the number of dots in string dep inference an option. ([#13059](https://github.com/pantsbuild/pants/pull/13059)) + +* Docker image name tags ([#13048](https://github.com/pantsbuild/pants/pull/13048)) + +* Add a `--closed` option to the dependencies goal. ([#13043](https://github.com/pantsbuild/pants/pull/13043)) + +* Support multiple Docker registries per image. ([#13047](https://github.com/pantsbuild/pants/pull/13047)) + +* Add Docker registry field ([#13017](https://github.com/pantsbuild/pants/pull/13017)) + +* Support for PEP-517/518 builds. ([#13012](https://github.com/pantsbuild/pants/pull/13012)) + +* Add autoflake unused import remover to Python lint tools. ([#13010](https://github.com/pantsbuild/pants/pull/13010)) + +* Support tailoring non-addressable macros. ([#12989](https://github.com/pantsbuild/pants/pull/12989)) + +* Implement Java dep inference mapper and rules ([#12978](https://github.com/pantsbuild/pants/pull/12978)) + +* Include the experimental java backend in the Pants distribution. ([#13003](https://github.com/pantsbuild/pants/pull/13003)) + +* Have `peek` emit expanded sources and dependencies ([#12882](https://github.com/pantsbuild/pants/pull/12882)) + +* New experimental_shell_command ([#12878](https://github.com/pantsbuild/pants/pull/12878)) + +* Support tailoring with an alternative BUILD file name ([#12979](https://github.com/pantsbuild/pants/pull/12979)) + +* Add Java dependency analysis types and launcher using javaparser library. ([#12890](https://github.com/pantsbuild/pants/pull/12890)) + +### User API Changes + +* Remove Gofmt backend and activate it with `pants.experimental.go` ([#13014](https://github.com/pantsbuild/pants/pull/13014)) + +* Register terraform lint & validate backends when the terraform backend is registered ([#13002](https://github.com/pantsbuild/pants/pull/13002)) + +* Deprecate --type in the dependencies goal. ([#12998](https://github.com/pantsbuild/pants/pull/12998)) + +### Plugin API Changes + +* Add `RuleRunner.write_digest()` ([#13044](https://github.com/pantsbuild/pants/pull/13044)) + +* Change `BinaryNotFoundError` constructor to be more generic ([#13001](https://github.com/pantsbuild/pants/pull/13001)) + +### Bug fixes + +* Don't invalidate the scheduler when piping output. ([#13028](https://github.com/pantsbuild/pants/pull/13028)) + +* Ensure that `Tree` contents are uploaded after creation. ([#13008](https://github.com/pantsbuild/pants/pull/13008)) + +* Fix case sensitivity of `module_mapping` for `python_requirements` and `poetry_requirements` ([#12980](https://github.com/pantsbuild/pants/pull/12980)) + +* Fix spurious "Scheduling: ..." workunits with remote caching ([#12973](https://github.com/pantsbuild/pants/pull/12973)) + +* Fix `./pants dependencies --transitive` when run on a target generator like `python_library` ([#12956](https://github.com/pantsbuild/pants/pull/12956)) + +### Performance + +* Use nailgun for javac and import parser ([#12982](https://github.com/pantsbuild/pants/pull/12982)) + ## 2.8.0.dev2 (Sep 17, 2021) ### New Features