Conda environment initialized differently when executing vs debugging unit tests
Los mantenedores suelen responder en 1 día
@eleanorjboyd ya está trabajando en esto.
Desde el 30/6/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
I have to develop my code on a custom python stack that doesn't fully conform to anaconda; many packages are initialized by adding them to PYTHONPATH with a command-line tool. I automated this by creating an activation script that went under etc/conda/activate.d. I also have a .env in the workspace root that sets the same PYTHONPATH. I works but I found the following issue:
- When a unit test is started without debugging the procedure of running it is: 1) source .env 2) execute
conda run ...which will result in sourcing the custom activation scripts underetc/conda/activate.d. - When a unit test is started in the debugger, the procedure differs: 1) source .env 2) execute some auto-generated script that will call the debugpy module. The custom activation scripts under
etc/conda/activate.dseem not be sourced.
This can be an issue for some. The behavior should be that the conda environment is activated the same way while debugging and just executing unit tests.
- Lenguaje dominante
- TypeScript
- Estrellas
- 181
- Forks
- 126
- Merge medio
- 8 h 49 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de microsoft/vscode-python-debugger
-
triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
microsoft/vscode-python-debugger#1110 ·
Los mantenedores suelen responder en 1 día
-
triage-needed
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
microsoft/vscode-python-debugger#1024 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Update dependencies with actionable security alertsPosiblemente ocupada @copilot-swe-agent la tomó hace 9 días. Abiertotriage-needed
microsoft/vscode-python-debugger#1111 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Update vulnerable npm dependenciesQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertotriage-needed
microsoft/vscode-python-debugger#1104 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
triage-needed
Dificultad 4/5 3-5 días Aptitud para principiantes 58/100
microsoft/vscode-python-debugger#1095 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de microsoft/vscode-python-debugger
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
diegosouzapw/OmniRoute#14869 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
Los mantenedores suelen responder en 1 día
-
status: waiting triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
freeCodeCamp/freeCodeCamp#70412 ·
Los mantenedores suelen responder en 1 día
-
Mend: dependency security vulnerability untriaged
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
opensearch-project/OpenSearch-Dashboards#12816 ·
Los mantenedores suelen responder en 1 día