-
Notifications
You must be signed in to change notification settings - Fork 147
Description
URL
https://docs.crossplane.io/latest/guides/write-a-composition-function-in-python/
What's Wrong?
I followed each and every instruction mentioned there from using command 'crossplane xpkg init function-xbuckets https://github.com/crossplane/function-template-python -d function-xbuckets' to create a folder till 'hatch run development' but the example never works.
Errors I get:
function-xbuckets.venv-default\Lib\site-packages\google\protobuf\runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.0 is exactly one major version older than the runtime version 6.31.1 at crossplane/function/proto/v1/run_function.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
function-xbuckets.venv-default\Lib\site-packages\google\protobuf\runtime_version.py:98: UserWarning: Protobuf gencode version 5.29.0 is exactly one major version older than the runtime version 6.31.1 at crossplane/function/proto/v1beta1/run_function.proto. Please update the gencode to avoid compatibility violations in the next runtime release.
warnings.warn(
Cannot run function:
I request either update the example or fix the docs.
Also if I am missing something then please let me know. 😁