| diff --git a/python/BUILD b/python/BUILD |
| index bf99c5f..268e4ad 100644 |
| --- a/python/BUILD |
| +++ b/python/BUILD |
| @@ -3,6 +3,7 @@ load("@pgv_pip_deps//:requirements.bzl", "all_requirements") |
| |
| exports_files([ |
| "requirements.in", |
| + "requirements.txt", |
| "setup.cfg", |
| ]) |
| |
| diff --git a/python/requirements.txt b/python/requirements.txt |
| new file mode 100644 |
| index 0000000..866d40b |
| --- /dev/null |
| +++ b/python/requirements.txt |
| @@ -0,0 +1,20 @@ |
| +# |
| +# This file is autogenerated by pip-compile with Python 3.11 |
| +# by the following command: |
| +# |
| +# pip-compile --output-file=requirements.txt requirements.in |
| +# |
| +astunparse==1.6.3 |
| + # via -r requirements.in |
| +jinja2==3.1.3 |
| + # via -r requirements.in |
| +markupsafe==2.1.5 |
| + # via jinja2 |
| +protobuf==5.26.0 |
| + # via -r requirements.in |
| +six==1.16.0 |
| + # via astunparse |
| +validate-email==1.3 |
| + # via -r requirements.in |
| +wheel==0.43.0 |
| + # via astunparse |
| \ No newline at end of file |
| diff --git a/templates/cc/register.go b/templates/cc/register.go |
| index da773fc..dc0ae35 100644 |
| --- a/templates/cc/register.go |
| +++ b/templates/cc/register.go |
| @@ -117,6 +117,10 @@ func CcFilePath(f pgs.File, ctx pgsgo.Context, tpl *template.Template) *pgs.File |
| func (fns CCFuncs) methodName(name interface{}) string { |
| nameStr := fmt.Sprintf("%s", name) |
| switch nameStr { |
| + case "concept": |
| + return "concept_" |
| + case "requires": |
| + return "requires_" |
| case "const": |
| return "const_" |
| case "inline": |
| diff --git a/validate/BUILD b/validate/BUILD |
| index a9d38c5..203beb4 100644 |
| --- a/validate/BUILD |
| +++ b/validate/BUILD |
| @@ -28,7 +28,7 @@ cc_proto_library( |
| py_proto_library( |
| name = "validate_py", |
| srcs = ["validate.proto"], |
| - deps = ["@com_google_protobuf//:protobuf_python"], |
| + deps = [], |
| ) |
| |
| go_proto_library( |