-
Notifications
You must be signed in to change notification settings - Fork 861
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
[Bug] Fix missing Predictor API docs on Website #2573
Conversation
Once this PR passes CI and is approved, we need to also merge the same changes into |
Job PR-2573-a78915e is done. |
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.
Thanks for the quick fix, Garrett! LGTM
Verified the Predictor API docs are back on CI built version: http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-2573/a78915e/api/autogluon.predictor.html |
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.
LGTM!
} | ||
|
||
function install_multimodal { | ||
# launch different process for each test to make sure memory is released | ||
python3 -m pip install --upgrade pytest-xdist | ||
python3 -m pip install --upgrade -e multimodal/[tests] | ||
install_local_packages "multimodal/$1" |
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.
outside of the scope of this PR, but its a bit concerning we are doing special pip installs afterwards in our tests for multimodal... This isn't replicating the user experience. Especially using uncapped versions in the install.
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.
LGTM! Thanks for the fix and cleaning up the code!
Issue #, if available:
#2571
Description of changes:
The
install_all
bash call inbuild_all_docs
was removed in this commit because of a package dependency conflict betweentox
for testing ineda
module and dependencies of thed2lbook
tool.Unfortunately
install_all
call was required to install modules that are used during autogen of docs, resulting in the website API documentation problem described in the issue.The fix here is to create a new
install_all_no_tests
call that avoids installing tests including thetox
dependency wheneda/[tests]
is installed. In order to do this, I cleaned up the bash scripts we use to install packages so that it is less pedantic and less code is repeated.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.