Skip to content

Update conda timeout to 60s as 30s is too low for some conda environments #18017

Description

@DonJayamanne

VS Code version

1.62

Extension version

N/A

OS type

Windows

OS version

N/A

Python distribution

Anaconda

Python version

3.8

Language server

Default

Expected behaviour

Issue in Jupyter microsoft/vscode-jupyter#8119
I believe this is the same reason running conda info has a timeout of 50s instead of 30s or lower, See here

const result = await exec(command, ['info', '--json'], { timeout: 50000 });

Jim & Rong ran into issues and the problem was 30s was too low, increasing the timeout from 30s to 60s fixed it.

Actual behaviour

Conda envionments do not get activated, hence execution of python code against conda environments do not work.

Steps to reproduce

See details in Jupyter issue

Logs

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions