Skip to content

Commit 70d20b9

Browse files
authored
Revert "Upgrade jedi and parso to latest versions (microsoft#3863)" (microsoft#3926)
This reverts commit f0ba057.
1 parent 4c2655f commit 70d20b9

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

news/1 Enhancements/3855.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

pythonFiles/completion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class JediCompletion(object):
3434

3535
def __init__(self):
3636
self.default_sys_path = sys.path
37-
self.environment = jedi.api.environment.Environment(sys.executable)
37+
self.environment = jedi.api.environment.Environment(sys.prefix, sys.executable)
3838
self._input = io.open(sys.stdin.fileno(), encoding='utf-8')
3939
if (os.path.sep == '/') and (platform.uname()[2].find('Microsoft') > -1):
4040
# WSL; does not support UNC paths

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
jedi==0.13.2
2-
parso==0.3.1
1+
jedi==0.12.0
2+
parso==0.2.1
33
isort==4.3.4
44
ptvsd==4.2.0

0 commit comments

Comments
 (0)