Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ build:
# - pip install uv

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this running in the munet workspace? Can we just use uv to install things?

Although, this is for producing the docs right? If it's not actually running munet, I'm not sure why we need to install munet at all.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for producing the docs, correct.

Based on my limited understanding, uv does not support installing dependency groups into the workspaces using 'uv pip install', since they mirror the 'pip install' CLI. Maybe with the exception of the very latest versions of pip, you cannot requirements listed in dependency groups (e.g. 'dev' or 'ide' in the pyproject.yaml), so it is similarly not possible with uv.

Instead, you need to use something like 'uv sync --dev', which will install them to whatever workspace that uv has created.

Since it doesn't look like we are using the uv workspace (or uv at all, since you commented it out), I figured it is just simpler to install the dependency ourselves and move on.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although, this is for producing the docs right? If it's not actually running munet, I'm not sure why we need to install munet at all.

Agreed, we might be able to get away with just installing sphinx and sphinx-prompt. Should I test that and update the readthedocs.yml file if it is successful?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that works, sure.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the munet docstrings are referenced in order to build the API doc pages. They appear to pull from the installed munet version, so we can't get away with skipping the munet install.

post_install:
- pip install --editable .
# Installing from dependency groups (e.g. 'dev') is not yet supported.
- pip install sphinx-prompt
sphinx:
configuration: doc/source/conf.py
Loading