masahi opened a new pull request #9822:
URL: https://github.com/apache/tvm/pull/9822


   I'm working on an CI update and getting this strange error during 
`./tests/scripts/task_sphinx_precheck.sh`
   ```
   embedding documentation hyperlinks...
   WARNING: The following HTTP Error has occurred fetching 
https://numpy.org/doc/stable/: 403 Forbidden
   embedding documentation hyperlinks for tutorial... [  8%] 
tensor_ir_blitz_course.html
   
   Extension error (sphinx_gallery.docs_resolv):
   Handler <function embed_code_links at 0x7fa541df5f28> for event 
'build-finished' threw an exception (exception: list indices must be integers 
or slices, not str)
   Makefile:110: recipe for target 'html' failed
   make: *** [html] Error 2
   script returned exit code 2
   ```
   
https://ci.tlcpack.ai/blue/organizations/jenkins/tvm/detail/ci-docker-staging/187/pipeline/267/
   
   Apparently, this is a known issue 
https://github.com/sphinx-gallery/sphinx-gallery/issues/879. We should pin the 
sphinx version to `4.2.0` to avoid the problem with `4.3.0` + 
`sphinx-gallery==0.4.0`. Upgrading `sphinx-gallery` would also work but I was 
told that that would require upgrading Python to 3.7 or newer.
   
   Also pins xgb to suppress a warning from `coremltools` during 
`task_sphinx_precheck.sh`.
   ```
   WARNING:root:XGBoost version 1.5.1 has not been tested with coremltools. You 
may run into unexpected errors. XGBoost 1.4.2 is the most recent version that 
has been tested.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to