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

Add an option to _not_ register the created conda environments in ~/.conda/environments.txt #705

Closed
2 tasks done
jaimergp opened this issue Jul 27, 2023 · 0 comments · Fixed by #716
Closed
2 tasks done
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability

Comments

@jaimergp
Copy link
Contributor

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

Some applications use conda internally and deploy installers with constructor (e.g. napari, Spyder, etc). While these installations will have one (or more) conda environments, their presence in ~/.conda/environments.txt might undesired for some maintainers.

I am adding conda/conda#12924 to have this feature in conda first. Then we can add an option in construct.yaml.

Why is this needed?

Better control over which environments are registered (and exposed) in the environments.txt file.

What should happen?

When the new option (e.g. register_envs) is set to False the resulting environments (the installation itself and the extra_envs, if any) should not appear in ~/.conda/environments.txt.

Additional Context

Initially reported at napari/packaging#83

@jaimergp jaimergp added the type::feature request for a new feature or capability label Jul 27, 2023
@jaimergp jaimergp linked a pull request Aug 31, 2023 that will close this issue
3 tasks
@github-actions github-actions bot added the locked [bot] locked due to inactivity label Aug 21, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity type::feature request for a new feature or capability
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant