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] Fix ApplicationStatusInfo.to_proto #37258

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

ddelange
Copy link
Contributor

@ddelange ddelange commented Jul 10, 2023

Why are these changes needed?

Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Related issue number

Closes #36319

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 :(

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
@ddelange ddelange changed the title Fix ApplicationStatusInfo.to_proto [serve] Fix ApplicationStatusInfo.to_proto Jul 10, 2023
@ddelange ddelange changed the title [serve] Fix ApplicationStatusInfo.to_proto [Serve] Fix ApplicationStatusInfo.to_proto Jul 10, 2023
@edoakes edoakes merged commit a1aa784 into ray-project:master Jul 10, 2023
Bhav00 pushed a commit to Bhav00/ray that referenced this pull request Jul 11, 2023
Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: Bhavpreet Singh <singh.bhavpreet00@gmail.com>
@ddelange
Copy link
Contributor Author

hi @edoakes, I saw ray 2.6 was just released, but this merge commit is only on master 🤔 or was it included in the relase under a different commit?

@VirginieBfd
Copy link

Temporary fix: downgrading to python=3.9 solved it.

@ddelange
Copy link
Contributor Author

yes this is a fix specifically for python 3.11+

edoakes pushed a commit to edoakes/ray that referenced this pull request Jul 21, 2023
Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
rickyyx pushed a commit that referenced this pull request Jul 22, 2023
* [serve] Fix DeploymentStatus enum to_proto (#36954)

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>

* Fix ApplicationStatusInfo.to_proto (#37258)

Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Co-authored-by: ddelange <14880945+ddelange@users.noreply.github.com>
NripeshN pushed a commit to NripeshN/ray that referenced this pull request Aug 15, 2023
Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: NripeshN <nn2012@hw.ac.uk>
arvind-chandra pushed a commit to lmco/ray that referenced this pull request Aug 31, 2023
Python 3.11 introduces a breaking change in f-string behaviour, should be caught when switching to cp311 CI

Signed-off-by: ddelange <14880945+ddelange@users.noreply.github.com>
Signed-off-by: e428265 <arvind.chandramouli@lmco.com>
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] Basic serve deployment example in documentation throws error with Python 3.11
3 participants