Skip to content

Docs build fail locally with library installed in editable mode #10943

@thehomebrewnerd

Description

@thehomebrewnerd

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.

git clone https://github.com/alteryx/featuretools.git
cd featuretools
# Make a virtual env
python3.8 -m venv env
source env/bin/activate

# install Featuretools and dependencies in editable mode
make installdeps

# Try to run docs build
cd docs
make clean
make html

When I do these steps, multiple errors of this form are reported:

Possible hints:
* KeyError: 'Relationship'
* ModuleNotFoundError: No module named 'Relationship'
* AttributeError: module 'featuretools.entityset.Relationship' has no attribute 'child_dataframe'
* ImportError:
* ModuleNotFoundError: No module named 'featuretools.entityset.Relationship.child_dataframe'; 'featuretools.entityset.Relationship' is not a package

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions