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
11 changes: 2 additions & 9 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ bazel_dep(name = "bazel_skylib", version = "1.9.0")
bazel_dep(name = "cel-cpp", version = "0.15.0", repo_name = "com_google_cel_cpp")
git_override(
module_name = "cel-cpp",
commit = "2e6e9ff4493bfbe0baf883107f3fb7ce6f675d88",
remote = "https://github.com/google/cel-cpp",
commit = "8b7068abb4062074a135491ad8357139287084f9",
remote = "https://github.com/cel-expr/cel-cpp",
)

# https://registry.bazel.build/modules/cel-spec
Expand Down Expand Up @@ -46,13 +46,6 @@ bazel_dep(name = "rules_proto", version = "7.1.0")
# https://registry.bazel.build/modules/rules_python
bazel_dep(name = "rules_python", version = "1.9.0")

# On Windows the file system is case-insensitive, which creates a collision between
# antlr4-cpp-runtime/VERSION and the system `#include <version>`
single_version_override(
module_name = "antlr4-cpp-runtime",
patches = ["//bazel:antlr.patch"],
)

# Configure rules_python's hermetic toolchains to resolve external
# dependencies natively. Under Windows, compiling pybind C++ extensions
# against Python 3.11 headers requires that the execution environment
Expand Down
10 changes: 0 additions & 10 deletions bazel/BUILD

This file was deleted.

30 changes: 0 additions & 30 deletions bazel/antlr.patch

This file was deleted.

4 changes: 3 additions & 1 deletion cel_expr_python/py_descriptor_database.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@

#include <Python.h> // IWYU pragma: keep - Needed for PyObject

#include <string_view> // IWYU pragma: keep - Needed for string_view in OSS

#include "google/protobuf/descriptor.pb.h"
#include "google/protobuf/descriptor_database.h"

Expand All @@ -27,7 +29,7 @@ namespace cel_python {
// A DescriptorDatabase that uses a Python DescriptorPool to find descriptors.
class PyDescriptorDatabase : public google::protobuf::DescriptorDatabase {
private:
using StringViewArg = const std::string&;
using StringViewArg = std::string_view;
public:
explicit PyDescriptorDatabase(PyObject* py_descriptor_pool);
~PyDescriptorDatabase() override;
Expand Down
Loading