Skip to content

Commit

Permalink
Make integrity field optional
Browse files Browse the repository at this point in the history
  • Loading branch information
adzenith committed Feb 8, 2024
1 parent 74d576f commit 9e08f1a
Show file tree
Hide file tree
Showing 13 changed files with 772 additions and 93 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ A brief description of the categories of changes:
target for each file with `if __name__ == "__main__"` instead of just one
`py_binary` for the whole module.

* (gazelle) the Gazelle manifest integrity field is now optional. If the
`requirements` argument to `gazelle_python_manifest` is unset, no integrity
field will be generated.

### Fixed

* (gazelle) The gazelle plugin helper was not working with Python toolchains 3.11
Expand Down
2 changes: 1 addition & 1 deletion examples/bzlmod_build_file_generation/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.0
6.4.0
6 changes: 2 additions & 4 deletions examples/bzlmod_build_file_generation/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ modules_mapping(
# When you are using gazelle you need to run this target first.
gazelle_python_manifest(
name = "gazelle_python_manifest",
manifest = ":gazelle_python.yaml",
manifest_windows = ":gazelle_python_windows.yaml",
modules_mapping = ":modules_map",
pip_repository_name = "pip",
requirements = [
"//:requirements_lock.txt",
"//:requirements_windows.txt",
],
tags = ["exclusive"],
)

Expand Down
2 changes: 1 addition & 1 deletion examples/bzlmod_build_file_generation/gazelle_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ manifest:
isort.wrap: isort
isort.wrap_modes: isort
lazy_object_proxy: lazy_object_proxy
lazy_object_proxy.cext: lazy_object_proxy
lazy_object_proxy.compat: lazy_object_proxy
lazy_object_proxy.simple: lazy_object_proxy
lazy_object_proxy.slots: lazy_object_proxy
Expand Down Expand Up @@ -586,4 +587,3 @@ manifest:
yamllint.rules.truthy: yamllint
pip_repository:
name: pip
integrity: cd25503dc6b3d9e1c5f46715ba2d0499ecc8b3d654ebcbf9f4e52f2074290e0a
Loading

0 comments on commit 9e08f1a

Please sign in to comment.