Skip to content

[Serve] When using the latest version of uvicorn, the root_path parameter is ineffective. #55776

@liuxh2603

Description

@liuxh2603

What happened + What you expected to happen

The setup.py file does not specify a version constraint for uvicorn, so the command pip install ray[serve] will install the latest version of uvicorn by default. When using the latest version of uvicorn, the root_path parameter is ineffective.

Versions / Dependencies

uvicorn==0.35.0

Reproduction script

As shown in the following test cases.
python/ray/serve/tests/test_standalone.py::test_http_root_path

Issue Severity

None

Metadata

Metadata

Labels

P2Important issue, but not time-criticalbugSomething that is supposed to be working; but isn'tcommunity-backlogserveRay Serve Related Issuestability

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions