Skip to content

Commit f0ba057

Browse files
authored
Upgrade jedi and parso to latest versions (microsoft#3863)
For microsoft#3855
1 parent ce7c219 commit f0ba057

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

news/1 Enhancements/3855.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade `jedi` and `parso` to the latest versions (`0.13.2` and `0.3.1` respectively).

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.prefix, sys.executable)
37+
self.environment = jedi.api.environment.Environment(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.12.0
2-
parso==0.2.1
1+
jedi==0.13.2
2+
parso==0.3.1
33
isort==4.3.4
44
ptvsd==4.2.0

0 commit comments

Comments
 (0)