Use a private virtualenv for dependencies - #53
Draft
ernstki wants to merge 1 commit into
Draft
Conversation
Assisted by: Aider + gemini/gemini-3.1-pro-preview
ernstki
force-pushed
the
use-private-venv
branch
from
July 20, 2026 23:07
6826dda to
d80693d
Compare
ernstki
marked this pull request as draft
July 20, 2026 23:07
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.
I routinely delete
~/.local/lib/pythonX.XXout of frustration, and as a reward for my recklessness, I often get an unpleasant surprise when when something Ipip install --usered in there was required by another piece of software I rely on.Such is the case with vim-ghost and its required Python dependencies. So here is a patch that will put those dependencies (~36 MB of them) in
~/.vim/<plug dir>/vim-ghost/venvinstead of in your user install.It was written by Gemini 3.1 Pro, but audited and tested by me. I have not yet tested on Windows, and I think I should probably do that before someone seriously thought of merging it. Thusly, I'm marking it
WIP.Keep mind that you can use
https://git.host/user/repo/pull/12345.diffto get a patch file, which is trivially applied to your own local copy of the codebase using the good old Unixpatchutility:Hope that helps.