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

Conda: stacking environments #24825

Open
masonk opened this issue Feb 16, 2025 · 1 comment
Open

Conda: stacking environments #24825

masonk opened this issue Feb 16, 2025 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team

Comments

@masonk
Copy link

masonk commented Feb 16, 2025

I am trying to set up a monorepo that uses stacked conda environments, let's call them 'base' and 'subproject1'.

The intention is to use conda's stacking facility so that subproject1 is stacked on the base environment. The base environment will contain some really basic conda env, like the code formatter we are to use throughout the monorepo, as well as an installation of a "development package" of the monorepo itself.

Stacking conda env works well from the command line, but Python: Select Interpreter -> choose subproject1 activates the env without stacking it onto base, even if conda is configured to autostack (conda config --set auto_stack 1). This makes sense because there's no way to tell VSC which env to stack onto.

Is it possible for VSC to adopt a stacked conda environment in anyway?

@masonk masonk added the feature-request Request for new features or functionality label Feb 16, 2025
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Feb 16, 2025
@masonk
Copy link
Author

masonk commented Feb 21, 2025

Anybody coming to this thread with the same problem, one thing we're considering is to manage the composition of conda environments without using stacked environments through a third-party compositing tool like https://github.com/conda-incubator/conda-env-builder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants