-
Notifications
You must be signed in to change notification settings - Fork 6k
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
[docs] fix version picker selected version #50292
Merged
Merged
+2
−4
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
aslonnie
reviewed
Feb 10, 2025
aslonnie
approved these changes
Feb 10, 2025
Signed-off-by: cristianjd <cristian.j.derr@gmail.com>
angelinalg
approved these changes
Feb 10, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
stamp
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
16 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
cristianjd
added a commit
that referenced
this pull request
Feb 11, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
pcmoritz
pushed a commit
that referenced
this pull request
Feb 11, 2025
This cherry picks #50292 to release 2.42.0 so the version picker correctly respects the selected version ## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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 :( --------- <!-- Thank you for your contribution! Please review https://github.com/ray-project/ray/blob/master/CONTRIBUTING.rst before opening a pull request. --> <!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. --> ## Why are these changes needed? <!-- Please give a short summary of the change and the problem this solves. --> ## Related issue number <!-- For example: "Closes #1234" --> ## 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: cristianjd <cristian.j.derr@gmail.com>
pcmoritz
pushed a commit
that referenced
this pull request
Feb 11, 2025
Cherry picks the following PRs to version 2.41.0 to fix version switcher issues #49892 #50292 ## 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: cristianjd <cristian.j.derr@gmail.com>
cristianjd
added a commit
that referenced
this pull request
Feb 12, 2025
## Why are these changes needed? The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect. Fixed by updating the json generation logic to use versions of the form `releases-2.42.0` instead `releases/2.24.0` and updated the version match logic in `conf.py` back to just reading the version directly Before: ![Screenshot 2025-02-06 at 12 31 55 PM](https://github.com/user-attachments/assets/7ca7669e-8a71-4612-b875-94955ed955fd) After: ![Screenshot 2025-02-06 at 12 31 19 PM](https://github.com/user-attachments/assets/928581b8-2360-4b18-a87c-3b670212165e) ## Checks - [x] I've signed off every commit(by using the -s flag, i.e., `git commit -s`) in this PR. - [x] 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: cristianjd <cristian.j.derr@gmail.com>
8 tasks
pcmoritz
pushed a commit
that referenced
this pull request
Feb 12, 2025
This cherry picks #50292 to release 2.42.1 so the version picker correctly respects the selected version ## 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: cristianjd <cristian.j.derr@gmail.com>
pcmoritz
pushed a commit
that referenced
this pull request
Feb 13, 2025
Cherry picks the following PRs to version 2.39.0 to fix version switcher issues #49892 #50292 ## 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: cristianjd <cristian.j.derr@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are these changes needed?
The version picker was not properly respecting the selected version. This is due to the generated versions in the json being incorrect.
Fixed by updating the json generation logic to use versions of the form
releases-2.42.0
insteadreleases/2.24.0
and updated the version match logic inconf.py
back to just reading the version directlyBefore:
![Screenshot 2025-02-06 at 12 31 55 PM](https://private-user-images.githubusercontent.com/4043331/410633961-7ca7669e-8a71-4612-b875-94955ed955fd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjI3ODIsIm5iZiI6MTczOTYyMjQ4MiwicGF0aCI6Ii80MDQzMzMxLzQxMDYzMzk2MS03Y2E3NjY5ZS04YTcxLTQ2MTItYjg3NS05NDk1NWVkOTU1ZmQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTIyODAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YzMyMDg3YWNhODBhMDdiMGRkMjVhOTk1MzlhZmNhMGNhMzEwNzk2MWQwN2E4MjU2ZDM2ZWUxNWJjYmUyNDVmMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.Ioolf4guv01qkWkMmItquBI1X8H3R4teDBSGzKOHjHw)
After:
![Screenshot 2025-02-06 at 12 31 19 PM](https://private-user-images.githubusercontent.com/4043331/410634026-928581b8-2360-4b18-a87c-3b670212165e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MjI3ODIsIm5iZiI6MTczOTYyMjQ4MiwicGF0aCI6Ii80MDQzMzMxLzQxMDYzNDAyNi05Mjg1ODFiOC0yMzYwLTRiMTgtYTg3Yy0zYjY3MDIxMjE2NWUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMTIyODAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjBiOGUzMGY4ZWFlOGUyNDQ1NTk3N2RmMmI4OTc2MDIzMzIxZjBkZThmMTMyODEwZTdkMGI3YjQ4NGMwYjc5MSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kio5f-el-rZIJk4SonFOC_apRbTqzOBCjrDX_MG4h6k)
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.