Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: cel-expr/cel-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: cel-expr/cel-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: test_1014822063
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 44 files changed
  • 1 contributor

Commits on Nov 14, 2026

  1. [Python] Export CEL Policy compiler and YAML parser module to OSS

    Stop linking `cel_policy` against `cel_pybind_lib`, so it no longer carries
    its own copy of the PyCelEnv and protobuf descriptor state, and loads `cel`
    dynamically instead:
    
    - `cel.Env` exposes its compiler through a private `_compiler_capsule()`
      PyCapsule, which shares ownership of the env.
    - `cel_compiler_capsule.h` holds the shared capsule name and helpers
      (`MakeCelCompilerCapsule`, `GetCelCompiler`).
    - `CelPolicyValidationResult` builds and caches the compiled expression once,
      using `env.deserialize()`, because a CheckedExpr message can't be passed
      directly between separately built shared libraries.
    
    Also adds Bazel/Copybara/Windows test support: the yaml-cpp dependency,
    export of policy/**, and runfiles-relative testdata paths.
    
    PiperOrigin-RevId: 1014822063
    dmitriplotnikov authored and copybara-github committed Nov 14, 2026
    Configuration menu
    Copy the full SHA
    5564648 View commit details
    Browse the repository at this point in the history
Loading