Skip to content

Commit

Permalink
Fix import to include full path (#238)
Browse files Browse the repository at this point in the history
This seems to be necessary for the project to build successfully with
Bazel 6.

I also fixed some build errors related to Python 3.12, by upgrading to
the most recent versions of absl, six, and rules_python.
  • Loading branch information
acozzette authored Nov 11, 2023
1 parent 3504079 commit 0315295
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ load("@rules_fuzzing//fuzzing:repositories.bzl", "rules_fuzzing_dependencies")

rules_fuzzing_dependencies()

load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()

load("@rules_fuzzing//fuzzing:init.bzl", "rules_fuzzing_init")

rules_fuzzing_init()
Expand Down
6 changes: 3 additions & 3 deletions fuzzing/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def rules_fuzzing_dependencies(oss_fuzz = True, honggfuzz = True, jazzer = True)
maybe(
http_archive,
name = "rules_python",
sha256 = "a644da969b6824cc87f8fe7b18101a8a6c57da5db39caa6566ec6109f37d2141",
strip_prefix = "rules_python-0.20.0",
url = "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.20.0.tar.gz",
sha256 = "9d04041ac92a0985e344235f5d946f71ac543f1b1565f2cdbc9a2aaee8adf55b",
strip_prefix = "rules_python-0.26.0",
url = "https://github.com/bazelbuild/rules_python/releases/download/0.26.0/rules_python-0.26.0.tar.gz",
)
maybe(
http_archive,
Expand Down
4 changes: 2 additions & 2 deletions fuzzing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Python requirements for the tools supporting the fuzzing rules. These are
# installed automatically through the WORKSPACE configuration.

absl-py==0.11.0 --hash=sha256:b3d9eb5119ff6e0a0125f6dabf2f9fae02f8acae7be70576002fac27235611c5
six==1.15.0 --hash=sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced
absl-py==2.0.0 --hash=sha256:9a28abb62774ae4e8edbe2dd4c49ffcd45a6a848952a5eccc6a49f3f0fc1e2f3
six==1.16.0 --hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
2 changes: 1 addition & 1 deletion fuzzing/tools/validate_dict.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from absl import app
from absl import flags
from dict_validation import validate_line
from fuzzing.tools.dict_validation import validate_line
from sys import stderr

FLAGS = flags.FLAGS
Expand Down

0 comments on commit 0315295

Please sign in to comment.