Skip to content

Remove system-wide installation of Sphinx #3185

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

Merged
merged 2 commits into from
Jul 5, 2025

Conversation

AmirhosseinPoolad
Copy link
Contributor

@AmirhosseinPoolad AmirhosseinPoolad commented Jul 3, 2025

Installing Sphinx using the system package manager goes against VTR's common practice. Both VTR and VTR documentation advises users to use a python virtualenv to install python dependencies and have a requirements.txt file to install any python dependencies. The current system-wide dependency installer scripts install Sphinx using the system package managers (APT and DNF) which might be undesirable for users that wish to keep their global python packages clean.

Other than that, it is not the only dependency for building the documentation and users still need to use pip and $VTR_ROOT/docs/requirements.txt to install the other dependencies for building the docs, which include the correct version of Shpinx. This PR removes the redundant and dangerous Sphinx installation from VTR's system-wide package installer scripts.

Installing Sphinx using the system package manager is considered bad
practice. This commit removes that from the dependency installer scripts.
@github-actions github-actions bot added scripts Utility & Infrastructure scripts lang-shell Shell scripts (bash etc.) labels Jul 3, 2025
Copy link
Contributor

@AlexandreSinger AlexandreSinger left a comment

Choose a reason for hiding this comment

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

LGTM

@AlexandreSinger AlexandreSinger merged commit 605fb00 into master Jul 5, 2025
30 checks passed
@AlexandreSinger AlexandreSinger deleted the remove_systemwide_sphinx branch July 5, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang-shell Shell scripts (bash etc.) scripts Utility & Infrastructure scripts
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants