Repository navigation
[SYSADMIN ACTION][Documentation:System] docs for add global submitty venv - #804
Merged
Merged
Conversation
3 tasks done
bmcutler
approved these changes
Nov 24, 2026
bmcutler
added a commit
to Submitty/Submitty
that referenced
this pull request
Nov 24, 2026
### Why is this Change Important & Necessary? Related to #10432 We currently install pip dependencies to the global system environment. As of Ubuntu 24.04, this is considered bad practice to do as it can break system dependencies causing unexpected issues. Thus, use of virtual environments should be done before migrating to Ubuntu 24.04. ### What is the New Behavior? I have added a global venv `/usr/local/submitty/venv` for all scripts, daemons, etc to use. Given we were relying on a global environment before, there shouldn't be any risk of sharing this global venv across all scripts and daemons. In the future, we can consider splitting this up more if that seems worthwhile. ### What steps should a reviewer take to reproduce or test the bug or new feature? Install the changes and verify correct behavior of various scripts, daemons, and other actions which call down to python scripts. Updating workers should definitely be tested (I have not done this yet). ### Automated Testing & Documentation This definitely requires documentation updates and I have not made those changes yet. ### Other information This is in draft but any reviews are still welcome. ### TODO: - [ ] Update documentation to tell sysadmins/shell users about the new virtual environment [PR #804](Submitty/submitty.github.io#804) - [x] Consider if this deserves a sys admin action tag? If people wrote things to call any of our scripts, they should be aware of the dependency environment changing - [x] Add to dev root bashrc to automatically put user in virtual environment --------- Co-authored-by: Nick Ciuica <nick.ciuica@gmail.com> Co-authored-by: NicholasCiuica <183861504+NicholasCiuica@users.noreply.github.com> Co-authored-by: roye2 <07eeroy@gmail.com> Co-authored-by: Barb Cutler <bmcutler@users.noreply.github.com> Co-authored-by: Emma Roy <emmaroy@moraine-154.dynamic.rpi.edu> Co-authored-by: Emma Roy <emmaroy@midway-atoll-60.dynamic2.rpi.edu> Co-authored-by: Emma Roy <emmaroy@pauling-170.dynamic.rpi.edu> Co-authored-by: Emma Roy <emmaroy@caterpillar-89.dynamic2.rpi.edu> Co-authored-by: Emma Roy <emmaroy@squat-thrust-90.dynamic2.rpi.edu> Co-authored-by: Emma Roy <emmaroy@pauling-184.dynamic.rpi.edu>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why is this Change Important & Necessary?
PR #12141 adds a global Submitty Python Virtual Environment (venv) at /usr/local/submitty/venv, which is used by Submitty scripts, daemons, jobs, etc.
This is a PR with a Sysadmin action, since changes to the apache configuration file are necessary for the PR.
What is the New Behavior?
Documentation has been added for the Sysadmin Action for Submitty PR #12141.
What steps should a reviewer take to reproduce or test the bug or new feature?
Make sure the documentation makes sense and describes all aspects of the change that require sysadmin attention.
Other information
As of making this PR, the links to release 'v26.11.01' do not work because there is not such a release. I am assuming that the release that contains these changes will be named that. If I should handle this differently, please advise.