You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Successfully build with the correct version of wheel being used.
Actual Result
My builds have been recently failing due to a specific library I'm using (mayavi). I've managed to figure out how to get the build to run successfully locally however it still fails when it builds on readthedocs. I've noticed that even when specifying in pyproject.toml
This confuses me because I thought it did recognize my pyproject.toml:
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
I'm not quite sure what the exact culprit is but my best guess is that it has to do something with wheel.
The text was updated successfully, but these errors were encountered:
The output logs shows that it is using wheel version 0.40.0:
That's the wheel version installed by default when running python -mvirtualenv $READTHEDOCS_VIRTUALENV_PATH.
Then, when running python -m pip install --exists-action=w --no-cache-dir -r docs/requirements.txt it seems that pip detects your pyproject.toml as you noticed but I don't know why it doesn't upgrade the wheel requirement automatically or refuse to install your package due to mismatch required dependencies.
I'm not sure this issue is related to Read the Docs, tho. It seems more related to pip/python.
If you want to be able to build on Read the Docs, you should probably run pip install -U wheel before installing your dependencies. Example:
@humitos Thank you I will look into the pre_install and see if it helps. As a sidenote is there any guide on running readthedocs builds locally? I don't want to spam readthedocs with builds for every small change that may potentially fix an issue that has to do with displaying documentation. I've attempted to docker pull readthedocs builds and tried to get it to build my documentation locally but I have been so far unsuccessful.
Details
Expected Result
Successfully build with the correct version of wheel being used.
Actual Result
My builds have been recently failing due to a specific library I'm using (mayavi). I've managed to figure out how to get the build to run successfully locally however it still fails when it builds on readthedocs. I've noticed that even when specifying in pyproject.toml
The output logs shows that it is using wheel version 0.40.0:
This confuses me because I thought it did recognize my pyproject.toml:
I'm not quite sure what the exact culprit is but my best guess is that it has to do something with wheel.
The text was updated successfully, but these errors were encountered: