-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Serve] Pin the fastapi & starlette version to avoid breaking proxy #42740
[Serve] Pin the fastapi & starlette version to avoid breaking proxy #42740
Conversation
…ay-project#42682) Pin the fastapi version to 0.108.0. The latest version of fastapi is breaking with starlette. (issue) Add starlette compact for supporting >= 0.35.0 version. --------- Signed-off-by: Sihan Wang <[email protected]> Co-authored-by: Edward Oakes <[email protected]>
@edoakes is this failure relevant?
https://buildkite.com/ray-project/premerge/builds/17576#018d469c-5fba-4657-b086-80e4b927a6c6/6-4438 |
@architkulkarni I believe that's a flake, re-running |
Hmm looks like it's consistently failing. Let me take a closer look. |
@edoakes , you can sync/rebase on releases/2.9.2, and will have the other core/data tests fixed. |
…nto cp-pin-pydantic
This one has me a bit stumped. Not able to repro the failure with the same pinned dependencies locally. Might take some time to resolve. |
`<= version.parse("0.34.0")` is incorrect because `"0.34.1"` or similar would evaluate to `False`. Signed-off-by: Edward Oakes <[email protected]>
Ok, looks like there was some kind of behavior change in redirect handling either in Working version:
Broken version:
Seems this has uncovered some additional bug. Let me try dropping the versions down. |
Ok, I ran the test manually after installing in a fresh conda env from the built wheel and it passed, so I think it's actually a testing setup issue. Looks like the Pushing a commit to verify, if it works I'll make a PR to master and then cherry-pick here. |
That was not the correct fix (but it's also needed). It turns out that the minimal build docker image is actually pulling dependency requirements from the latest release version of Ray rather than the one built in CI: Logs from build:
|
Signed-off-by: Edward Oakes <[email protected]>
4f04677
to
e4a7383
Compare
Signed-off-by: Edward Oakes <[email protected]>
Merged in the changes from #42766 to verify that the test passes |
…nto cp-pin-pydantic
Why are these changes needed?
Cherry-pick #42682 and #42747 and #42754.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.