Skip to content

Use a private virtualenv for dependencies - #53

Draft
ernstki wants to merge 1 commit into
raghur:masterfrom
ernstki:use-private-venv
Draft

Use a private virtualenv for dependencies#53
ernstki wants to merge 1 commit into
raghur:masterfrom
ernstki:use-private-venv

Conversation

@ernstki

@ernstki ernstki commented Jul 20, 2026

Copy link
Copy Markdown

I routinely delete ~/.local/lib/pythonX.XX out of frustration, and as a reward for my recklessness, I often get an unpleasant surprise when when something I pip 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/venv instead 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.diff to get a patch file, which is trivially applied to your own local copy of the codebase using the good old Unix patch utility:

cd ~/.vim/*/vim-ghost
curl -sLOJ https://github.com/raghur/vim-ghost/pull/53.diff
patch -p1 < 53.diff

Hope that helps.

Assisted by: Aider + gemini/gemini-3.1-pro-preview

Assisted by: Aider + gemini/gemini-3.1-pro-preview
@ernstki
ernstki force-pushed the use-private-venv branch from 6826dda to d80693d Compare July 20, 2026 23:07
@ernstki
ernstki marked this pull request as draft July 20, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant