-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Docs build fail locally with library installed in editable mode #10943
Comments
This feels like a PYTHONPATH error, can you try running in isolated mode? A |
@AA-Turner I might not be quite understanding, but I tried running this:
instead of
I got the same errors in both cases. Is that what you were suggesting? Also, I am running everything inside a virtual environment created with |
FWIW this issue might be specific to mac installs. The docs appear to build fine on ubuntu and debian, but not on macOS Monterey. Builds on a new M1 mac and an older x86 mac both fail, both running Monterey. |
Hi @AA-Turner, was this closed due to a recent change to Sphinx? |
I closed as I don't have a good fix for it and I'm not conviced the issue lies with Sphinx -- we've a large pile of issues and I've been trying to close low priority / ones that I don't see how Sphinx can solve. Sorry not to have better news. A |
Describe the bug
When building the Featuretools docs locally with Featuretools installed in editable mode, the docs build fails. If Featuretools is installed in non-editable mode the docs build fine.
The issue seems to be the same as the one originally raised in this Stack Overflow question, but the solution mentioned in the comments there does not apply to Featuretools.
All the unit tests pass fine in editable mode, and this issue has only been observed when building the docs locally.
How to Reproduce
The best way I know how to illustrate this is to run the Featuretools documentation build process locally.
When I do these steps, multiple errors of this form are reported:
Environment Information
ERROR: HTTP error 404 while getting https://github.com/AA-Turner/sphinx/archive/refs/heads/5.x.zip ERROR: Could not install requirement https://github.com/AA-Turner/sphinx/archive/refs/heads/5.x.zip because of HTTP error 404 Client Error: Not Found for url: https://codeload.github.com/AA-Turner/sphinx/zip/refs/heads/5.x for URL https://github.com/AA-Turner/sphinx/archive/refs/heads/5.x.zip
Sphinx extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: