Skip to content

Fix: move pip installs out of /home#57

Merged
thekaveman merged 1 commit intomainfrom
fix/pip-user-installs
Aug 7, 2025
Merged

Fix: move pip installs out of /home#57
thekaveman merged 1 commit intomainfrom
fix/pip-user-installs

Conversation

@thekaveman
Copy link
Copy Markdown
Member

@thekaveman thekaveman commented Aug 7, 2025

In Azure, /home will be overwritten to mount the persistent storage and thus, all pip installed packages are wiped out.

Just change where pip install --user saves packages (and cache) so it isn't under /home.

Part of cal-itp/benefits#3071

in Azure, /home will be overwritten to mount the persistent storage
and thus, all pip installed packages are wiped out

just change where pip install --user saves packages (and cache)
@thekaveman thekaveman requested a review from a team as a code owner August 7, 2025 21:37
@thekaveman thekaveman self-assigned this Aug 7, 2025
@thekaveman thekaveman added the bug Something isn't working label Aug 7, 2025
Copy link
Copy Markdown
Member

@angela-tran angela-tran left a comment

Choose a reason for hiding this comment

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

This PR made me think of the discussion from #56 (comment) about needing /home, which to be totally honest I don't 100% follow. 😅

I do follow why Benefits is currently not finding where pip installed its packages though, so hopefully this works!

@thekaveman thekaveman merged commit 4a13cdd into main Aug 7, 2025
2 checks passed
@thekaveman thekaveman deleted the fix/pip-user-installs branch August 7, 2025 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants