|
| 1 | +commit 75c9584947a9cc8d2cb6c1ccf7a68eabff0ffa44 |
| 2 | + |
| 3 | +Date: Sun Dec 15 10:58:54 2024 +0000 |
| 4 | + |
| 5 | + BCR |
| 6 | + |
| 7 | +diff --git a/bazel/protobuf.bzl b/bazel/protobuf.bzl |
| 8 | +index 62f0869..4bed39d 100644 |
| 9 | +--- a/bazel/protobuf.bzl |
| 10 | ++++ b/bazel/protobuf.bzl |
| 11 | +@@ -96,7 +96,7 @@ def _protoc_gen_validate_impl(ctx, lang, protos, out_files, protoc_args, package |
| 12 | + use_default_shell_env = True, |
| 13 | + ) |
| 14 | + |
| 15 | +- return struct( |
| 16 | ++ return DefaultInfo( |
| 17 | + files = depset(out_files), |
| 18 | + ) |
| 19 | + |
| 20 | +diff --git a/python/BUILD b/python/BUILD |
| 21 | +index bf99c5f..268e4ad 100644 |
| 22 | +--- a/python/BUILD |
| 23 | ++++ b/python/BUILD |
| 24 | +@@ -3,6 +3,7 @@ load("@pgv_pip_deps//:requirements.bzl", "all_requirements") |
| 25 | + |
| 26 | + exports_files([ |
| 27 | + "requirements.in", |
| 28 | ++ "requirements.txt", |
| 29 | + "setup.cfg", |
| 30 | + ]) |
| 31 | + |
| 32 | +diff --git a/python/requirements.txt b/python/requirements.txt |
| 33 | +new file mode 100644 |
| 34 | +index 0000000..866d40b |
| 35 | +--- /dev/null |
| 36 | ++++ b/python/requirements.txt |
| 37 | +@@ -0,0 +1,20 @@ |
| 38 | ++# |
| 39 | ++# This file is autogenerated by pip-compile with Python 3.11 |
| 40 | ++# by the following command: |
| 41 | ++# |
| 42 | ++# pip-compile --output-file=requirements.txt requirements.in |
| 43 | ++# |
| 44 | ++astunparse==1.6.3 |
| 45 | ++ # via -r requirements.in |
| 46 | ++jinja2==3.1.3 |
| 47 | ++ # via -r requirements.in |
| 48 | ++markupsafe==2.1.5 |
| 49 | ++ # via jinja2 |
| 50 | ++protobuf==5.26.0 |
| 51 | ++ # via -r requirements.in |
| 52 | ++six==1.16.0 |
| 53 | ++ # via astunparse |
| 54 | ++validate-email==1.3 |
| 55 | ++ # via -r requirements.in |
| 56 | ++wheel==0.43.0 |
| 57 | ++ # via astunparse |
| 58 | +\ No newline at end of file |
| 59 | +diff --git a/templates/cc/register.go b/templates/cc/register.go |
| 60 | +index da773fc..dc0ae35 100644 |
| 61 | +--- a/templates/cc/register.go |
| 62 | ++++ b/templates/cc/register.go |
| 63 | +@@ -117,6 +117,10 @@ func CcFilePath(f pgs.File, ctx pgsgo.Context, tpl *template.Template) *pgs.File |
| 64 | + func (fns CCFuncs) methodName(name interface{}) string { |
| 65 | + nameStr := fmt.Sprintf("%s", name) |
| 66 | + switch nameStr { |
| 67 | ++ case "concept": |
| 68 | ++ return "concept_" |
| 69 | ++ case "requires": |
| 70 | ++ return "requires_" |
| 71 | + case "const": |
| 72 | + return "const_" |
| 73 | + case "inline": |
| 74 | +diff --git a/validate/BUILD b/validate/BUILD |
| 75 | +index a9d38c5..203beb4 100644 |
| 76 | +--- a/validate/BUILD |
| 77 | ++++ b/validate/BUILD |
| 78 | +@@ -28,7 +28,7 @@ cc_proto_library( |
| 79 | + py_proto_library( |
| 80 | + name = "validate_py", |
| 81 | + srcs = ["validate.proto"], |
| 82 | +- deps = ["@com_google_protobuf//:protobuf_python"], |
| 83 | ++ deps = [], |
| 84 | + ) |
| 85 | + |
| 86 | + go_proto_library( |
0 commit comments