-
Notifications
You must be signed in to change notification settings - Fork 179
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
fix: trigger doc build all condition #2242
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Flags with carried forward coverage won't be shown. Click here to find out more. |
Would the problem that this PR addresses get fixed as part of this other PR? |
…nd sklearn doc build
…d circular import
Hi David, |
c40e68d
to
b030f59
Compare
Hi David, python setup.py build_ext --inplace --abs-rpath does not work. First of all, python setup.py build_ext --inplace --abs-rpath Experiment result I did: But using: ./conda-recipe/build.sh daal4py.file is referring site-packages daal4py which I think is more ideal |
It is not required to manually copy the file. If you use the build script, it will install the modules into I guess the issue could be that the root of the docs folder might be in the python's path and thus scikit-learn-intelex/doc/daal4py/conf.py Line 35 in 324ab24
scikit-learn-intelex/doc/sources/conf.py Line 35 in 324ab24
See this example which is working with in-place builds: |
Hi David! |
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, some small comments.
@@ -33,4 +33,4 @@ help: | |||
# Catch-all target: route all unknown targets to Sphinx using the new | |||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | |||
%: Makefile | |||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | |||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
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.
Looks like this file is not being modified. Please reset it to how it has before the PR so as not to mess the history.
@@ -17,8 +17,7 @@ | |||
trigger: | |||
branches: | |||
include: | |||
- main | |||
- rls/* | |||
- "*" |
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.
Please remember to change this before merging.
@yuejiaointel Before merging, could you do an experiment here checking that the CI job would show in red if it fails to import daal4py? |
Description
in this PR I fixed several problems so now doc can build without autodoc warnings, also I added code so in future if autodoc gives a warning it will be marked as an error so pipeline will fail. It still has duplicate warnings because we are having multiple same classes def in daal4py.
_List associated issue number(s) if exist(s): #8786
PR should start as a draft, then move to ready for review state after CI is passed and all applicable checkboxes are closed.
This approach ensures that reviewers don't spend extra time asking for regular requirements.
You can remove a checkbox as not applicable only if it doesn't relate to this PR in any way.
For example, PR with docs update doesn't require checkboxes for performance while PR with any change in actual code should have checkboxes and justify how this code change is expected to affect performance (or justification should be self-evident).
Checklist to comply with before moving PR from draft:
PR completeness and readability
Testing
Performance