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

[ENH] - Override pip/conda install ... with message to use conda-store #1362

Open
peytondmurray opened this issue Jul 6, 2022 · 4 comments
Labels
area: dependencies 📦 All things dependencies area:developer-experience 👩🏻‍💻 impact: medium 🟨 This item affects some users, not critical needs: investigation 🔍 Someone in the team needs to find the root cause and replicate this bug type: enhancement 💅🏼 New feature or request

Comments

@peytondmurray
Copy link
Contributor

Feature description

Users who don't read the documentation about conda-store will likely try to modify user environments through conda/mamba/pip. One way of helping users understand how to modify their environments could be to prevent them from using these utilities by overriding them, and instead displaying a message directing them to use conda-store.

Value and/or benefit

  • Help newcomers unfamiliar with environment management use the correct tool for the job (conda-store)
  • Reduce or (hopefully) eliminate github issues raised around environment management on the repo

Anything else?

No response

@trallard trallard added type: enhancement 💅🏼 New feature or request needs: discussion 💬 Needs discussion with the rest of the team area: dependencies 📦 All things dependencies area:developer-experience 👩🏻‍💻 labels Jul 7, 2022
@pavithraes pavithraes added impact: medium 🟨 This item affects some users, not critical and removed needs: discussion 💬 Needs discussion with the rest of the team labels Aug 7, 2023
@iameskild
Copy link
Member

@costrouc do you have a sense of difficult (or feasible) this might be?

@pavithraes
Copy link
Member

Partially resolved by #2191

@dcmcand dcmcand added the needs: investigation 🔍 Someone in the team needs to find the root cause and replicate this bug label Feb 8, 2024
@aktech
Copy link
Member

aktech commented Feb 8, 2024

Alternatively we can add an alias for pip/conda that outputs a warning message, which is something like:

Please do not run pip/conda install unless you're running in a virtualenv, use conda-store rather

@marcelovilla
Copy link
Member

For conda, we could add this alias for the different environments using activation/deactivation scripts. They would need to be added on environment creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dependencies 📦 All things dependencies area:developer-experience 👩🏻‍💻 impact: medium 🟨 This item affects some users, not critical needs: investigation 🔍 Someone in the team needs to find the root cause and replicate this bug type: enhancement 💅🏼 New feature or request
Projects
Status: New 🚦
Development

No branches or pull requests

7 participants