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
add environment variable expansion for environment variables #12742
base: main
Are you sure you want to change the base?
Conversation
We require contributors to sign our Contributor License Agreement and we don't have one on file for @rafaelmartins. In order for us to review and merge your code, please e-sign the Contributor License Agreement PDF. We then need to manually verify your signature, merge the PR (conda/infrastructure#773), and ping the bot to refresh the PR. |
signed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in #12074 I don't think we should pile on env update
like this, this is broadening the scope of the config parsing differences between different parts of conda, which is opposite to what we should be doing.
IOW, this really needs a refactoring.
#12074 (comment) is an important insight:
[..] but unfortunately there exists multiple classes in conda for doing this. In conda, there is both conda and conda_env and both of these modules have their own classes and functions for parsing configuration, specifically YAML files. This is because conda_env used to be its own project and was brought in to the main conda code sometime ago.
#11633 remains true and I feel we're working backwards here basically.
do you have a suggestion of proper design for this? |
The proper design for this would essentially see us adding conda env abilities (e.g. being about to read directly from an environment file using Therefore, we are currently hesitant about adding new features/abilities to anything under |
Description
This closes #12645.
Checklist - did you ...
news
directory (using the template) for the next release's release notes?