Skip to content
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

ReadTheDocs build is eagerly installing dependencies, leading to unpredictable builds #696

Closed
nhoening opened this issue May 24, 2023 · 0 comments · Fixed by #697
Closed
Labels
bug Something isn't working Continuous Integration documentation Improvements or additions to documentation
Milestone

Comments

@nhoening
Copy link
Contributor

Our docs are not building on ReadTheDocs: https://readthedocs.org/projects/flexmeasures/builds/20795953/

Locally this doesn't happen for me. I investigated, and the error seems to indicate we're installing flask-marshmallow 0.15 on RTD which has an incompatibility (see marshmallow-code/flask-marshmallow#262). It is fixed to 0.14 in app.txt.

After we installed our pinned dependencies into the RTD environment, we pip-install flexmeasures (see .readthedocs.yaml lines 20ff, and on RTD this leads to the command python -m pip install --upgrade --upgrade-strategy eager --no-cache-dir).

Since #670, this uses `app.in.

A possible solution is discussed here and reported here.

Let's try that first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Continuous Integration documentation Improvements or additions to documentation
Projects
None yet
1 participant