I have raised a github issue on this (#36319), but thought I would ask in this forum to get a better understanding of what is meant by experimental support for Python 3.11.
My observation is that the basic deployment example in “Key Concepts” of the Serve documentation throws an error when run with Python 3.11.
@serve.deployment class MyFirstDeployment: # Take the message to return as an argument to the constructor. def __init__(self, msg): self.msg = msg def __call__(self): return self.msg my_first_deployment = MyFirstDeployment.bind("Hello world!") handle = serve.run(my_first_deployment)
All details are in this issue (#36319). The error seems to point to a protobuf error, but not sure if there is something else happening in the background.
ValueError: Enum type ray.serve.DeploymentStatus: unknown label "DEPLOYMENT_STATUS_DeploymentStatus.UPDATING"
Is there an expected Ray release that will support 3.11?
And would it be possible to further elaborate what is meant by experimental support?