-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
lightgbm: build failing with "There was a problem with Read the Docs" #11949
Comments
Hi, testing locally, I see the following error
My guess is that the same thing is happening in production, but RTD isn't able to log that error. Sadly, I'm not familiar enough with conda to suggest something better other than maybe try with a newer version of miniconda https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python |
Ok thanks! Will try updating the environment and the conda version. It'd be great if RTD was able to log that error, or if I could configure it to run |
Updating the conda env, operating system, and conda version worked... the build is now succeeding 🎉 build link: https://readthedocs.org/projects/lightgbm/builds/26953971/ I changed my project's configuration to use a newer version of version: 2
build:
os: "ubuntu-lts-latest"
tools:
python: "mambaforge-latest" .readthedocs.yaml (click me)version: 2
build:
os: "ubuntu-lts-latest"
tools:
python: "mambaforge-latest"
conda:
environment: docs/env.yml
formats:
- pdf
sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: true
submodules:
include: all
recursive: true I also updated the dependencies in the conda environment such that it could be solved successfully and without too much runtime or memory usage. docs/env.yml (click me)name: docs-env
channels:
- nodefaults
- conda-forge
dependencies:
- breathe>=4.35
- python=3.12
- r-base>=4.3.3
- r-data.table=1.16.4
- r-jsonlite=1.8.9
- r-knitr=1.49
- r-markdown=1.13
- r-matrix=1.6_5
- r-pkgdown=2.1.1
- r-roxygen2=7.3.2
- scikit-learn>=1.6.1
- sphinx>=8.1.3,<9
- sphinx_rtd_theme>=3.0.1,<4 Thanks very much! |
Details
Expected Result
I pushed branch
python-3.13
to https://github.com/microsoft/LightGBM (microsoft/LightGBM#6668).Added that branch as a "version" at https://readthedocs.org/projects/lightgbm/versions/, then triggered a build of it:
I expected that either:
Actual Result
Builds repeatedly failed (4 in a row over the last 24 hours), with a banner like the following:
I don't see any clues in the logs.
full raw log output (click me)
I do not see any issues reported at https://status.readthedocs.com/
Can you please help me understand what's going wrong? That banner text suggests that it's an internal issue with readthedocs, not a result of my configuration, but I don't have enough information to investigate this further.
The text was updated successfully, but these errors were encountered: