Skip to content
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
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,14 @@ Unreleased changes template.
* (deps) platforms 0.0.4 -> 0.0.11
* (py_wheel) Package `py_library.pyi_srcs` (`.pyi` files) in the wheel.
* (py_package) Package `py_library.pyi_srcs` (`.pyi` files) in `py_package`.
* (gazelle) The generated manifest file (default: `gazelle_python.yaml`) will now include the
YAML document start `---` line. Implemented in
[#2656](https://github.com/bazelbuild/rules_python/pull/2656).

{#v0-0-0-fixed}
### Fixed
* (pypi) The `ppc64le` is now pointing to the right target in the `platforms` package.
* (gazelle) No longer incorrectly merge `py_binary` targets during partial updates in
* (gazelle) No longer incorrectly merge `py_binary` targets during partial updates in
`file` generation mode. Fixed in [#2619](https://github.com/bazelbuild/rules_python/pull/2619).
* (bzlmod) Running as root is no longer an error. `ignore_root_user_error=True`
is now the default. Note that running as root may still cause spurious
Expand Down
1 change: 1 addition & 0 deletions examples/build_file_generation/gazelle_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# To update this file, run:
# bazel run //:gazelle_python_manifest.update

---
manifest:
modules_mapping:
alabaster: alabaster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# To update this file, run:
# bazel run //:gazelle_python_manifest.update

---
manifest:
modules_mapping:
S3: s3cmd
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# To update this file, run:
# bazel run //:gazelle_python_manifest_with_types.update

---
manifest:
modules_mapping:
S3: s3cmd
Expand Down
2 changes: 1 addition & 1 deletion gazelle/manifest/generate/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func writeOutput(
}
defer outputFile.Close()

if _, err := fmt.Fprintf(outputFile, "%s\n", header); err != nil {
if _, err := fmt.Fprintf(outputFile, "%s\n---\n", header); err != nil {
return fmt.Errorf("failed to write output: %w", err)
}

Expand Down
Loading