Skip to content

Setting variables per environment #3215

Closed

Description

@jamesmyatt

Looks like the equivalent of the "variables" table in the conda environment yaml is the "activation" table. It looks like this table is applied to all environments, but in multi-environment configs, e.g. when using different dependencies in different environments, or when the environments are substantially different from one another, you may need to set the environment variables differently to match. What's the "proper" way to do this? I think this is different from the per-task and per-target settings.

Activity

  1. jamesmyatt commented on Feb 26, 2025

    @jamesmyatt
    Author
  2. jamesmyatt commented on Feb 26, 2025

    @jamesmyatt
    Author

    But maybe that section needs to be updated to make it clearer all of the places the activation table can be defined.

  3. Ehtesham-Zahid commented on Apr 26, 2025

    @Ehtesham-Zahid

    Hi @jamesmyatt ,
    I noticed the issue was closed, but since it was mentioned that the documentation could be clearer about where the activation table can be defined, would it be helpful if I submitted a small PR improving that section?
    If yes, could you please assign this issue to me?
    Happy to help!

  4. jamesmyatt commented on Apr 26, 2025

    @jamesmyatt
    Author

    Thank you. It's still open. But I can't assign it since I'm not a maintainer.

  5. Ehtesham-Zahid commented on Apr 26, 2025

    @Ehtesham-Zahid

    Thank you. It's still open. But I can't assign it since I'm not a maintainer.

    Thanks for letting me know!

  6. Ehtesham-Zahid commented on Apr 26, 2025

    @Ehtesham-Zahid

    Hi @nichmor and @baszalmstra ,
    Could you please assign this issue to me? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions