Skip to content

Commit d30269b

Browse files
author
Kartik Raj
authored
Revert pipenv activation to not use pipenv shell (#4406)
* reverted * news entry * CI coorected
1 parent fac5cc8 commit d30269b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

news/2 Fixes/4394.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Revert pipenv activation to not use `pipenv shell`

src/client/common/terminal/environmentActivationProviders/pipEnvActivationProvider.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import { inject, injectable } from 'inversify';
77
import { Uri } from 'vscode';
8+
import '../../../common/extensions';
89
import { IInterpreterService, InterpreterType, IPipEnvService } from '../../../interpreter/contracts';
910
import { IWorkspaceService } from '../../application/types';
1011
import { IFileSystem } from '../../platform/types';
@@ -20,7 +21,7 @@ export class PipEnvActivationCommandProvider implements ITerminalActivationComma
2021
) { }
2122

2223
public isShellSupported(_targetShell: TerminalShellType): boolean {
23-
return true;
24+
return false;
2425
}
2526

2627
public async getActivationCommands(resource: Uri | undefined, _: TerminalShellType): Promise<string[] | undefined> {

0 commit comments

Comments
 (0)