Skip to content
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

Added scripts to set PYTHONUSERSITE #726

Closed
wants to merge 2 commits into from
Closed

Added scripts to set PYTHONUSERSITE #726

wants to merge 2 commits into from

Conversation

vringar
Copy link
Contributor

@vringar vringar commented Aug 7, 2020

This also puts in place a more general infrastructure
should we ever become more opinionated and
automatically hook up things like pre-commit

Closes #689

This also puts in place a more general infrastructure
should we ever become more opinionated and
automatically hook up things like pre-commit
@vringar vringar requested a review from birdsarah August 7, 2020 19:55
@englehardt englehardt self-requested a review August 10, 2020 15:53
@englehardt englehardt marked this pull request as draft August 10, 2020 15:54
@birdsarah
Copy link
Contributor

birdsarah commented Aug 10, 2020

I don't get this, we already set PYTHONUSERSITE where it's needed to solve the issue: https://github.com/mozilla/OpenWPM/blob/master/scripts/repin.sh#L12-L15

Why is the existing solution insufficient?

@birdsarah
Copy link
Contributor

I've just seen the tread on matrix so am caught up on your motivations.

Copy link
Contributor

@birdsarah birdsarah left a comment

Choose a reason for hiding this comment

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

I think I need to talk this through with you to understand a bunch of aspects. I can write them out if it's useful but we can just talk about it.

This script aims to be plattform independent and idempotent
"""

CONDA_SCRIPT_DIR = "./etc/conda"
Copy link
Contributor

Choose a reason for hiding this comment

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

I still have a path in my head of how we can support windows. I think it would be good if we didn't add things that inhibit that possibility.

Copy link

@4ldas 4ldas left a comment

Choose a reason for hiding this comment

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

Tests seem to fail too

@vringar
Copy link
Contributor Author

vringar commented Dec 14, 2020

Yeah, this PR is pretty broken. Do you want to pick it up and play around with it?

@vringar vringar removed the request for review from englehardt December 14, 2020 13:50
@vringar vringar closed this Sep 21, 2022
@vringar vringar deleted the conda_set_env branch September 21, 2022 19: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.

Isolate a user's conda environment from python user packages in ~/.local
3 participants