Skip to content
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 fastapi==0.99.1 in requirements-doc.txt to fix API reference (#37340) #37354

Merged
merged 2 commits into from
Jul 13, 2023

Conversation

edoakes
Copy link
Contributor

@edoakes edoakes commented Jul 12, 2023

Why are these changes needed?

Cherry-pick #37340

Also cherry-picks: #37375, which is a one-line change to fix the Windows build in CI.

Related issue number

Closes #37337

Checks

  • I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
    • I've added any new APIs to the API Reference. For example, if I added a
      method in Tune, I've added it in doc/source/tune/api/ under the
      corresponding .rst file.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@edoakes edoakes requested a review from a team as a code owner July 12, 2023 17:43
@edoakes
Copy link
Contributor Author

edoakes commented Jul 12, 2023

Oops, forgot DCO. Fixed.

…ference (ray-project#37340)

See ray-project#37337 for debugging context.

For some reason, `fastapi==0.100.0` breaks the API reference. For now, let's pin it to a working version to fix the docs.

We should separately debug and fix the issue.

Signed-off-by: Edward Oakes <[email protected]>
@edoakes
Copy link
Contributor Author

edoakes commented Jul 12, 2023

The windows test failure is relevant: https://buildkite.com/ray-project/oss-ci-build-pr/builds/28438#01894b71-31e4-4ce5-bfa9-a029a3cb4b45/5693-8608

Let's hold off on merging this, I need to first fix it in master.

@edoakes
Copy link
Contributor Author

edoakes commented Jul 13, 2023

I think this is technically against policy, but I cherry-picked #37375 as well here (it just adds [all] to the requirements file which is required for the Windows build to pass).

Given they're tightly related & minimal in scope I figure this is fine. LMK if you want me to split into two PRs (though then the first would break CI in a known way).

Installs `httpx` so `test_deployment_graph_driver` passes on windows.

Signed-off-by: Edward Oakes <[email protected]>
@zhe-thoughts
Copy link
Collaborator

Thanks @edoakes for fixing it! I think it's OK in this case.

@zhe-thoughts zhe-thoughts linked an issue Jul 13, 2023 that may be closed by this pull request
@edoakes
Copy link
Contributor Author

edoakes commented Jul 13, 2023

API ref looks good.

Test failures unrelated (test_metrics serve test flaky on master)

@bveeramani bveeramani merged commit 69d11c0 into ray-project:releases/2.6.0 Jul 13, 2023
109 of 116 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[serve] API reference docs are broken
3 participants