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

Improve algokit bootstrap compatibility with conda based python virtual environments #508

Open
aorumbayev opened this issue May 22, 2024 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@aorumbayev
Copy link
Collaborator

Problem

Certain scenarios when user creates an algokit project from a template may yield inconsistent behaviour when a user runs bootstrap within already active virtual environment. Certain templates and repos in algokit ecosystem rely on existence of .venv defined at the root of the project.

Solution

Spike optimal ways to solve the compatibility issues with conda:

  1. CLI changes to account for conda scenarios during boostrap
  2. Per repo based python scripts that are references in vscode tasks to be used instead of direct invocation of python from expected .venv folders from the workspace root
  3. Interactively prompt the user whether they want explicit .venv at the root during bootstrap if bootstrap detects that it was run within an active conda venv
  4. Expand documentation to cover separate setup scenario when dealing with conda

Dependencies

@aorumbayev aorumbayev added the enhancement New feature or request label May 22, 2024
@aorumbayev aorumbayev added this to the Enhancements milestone May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant