replit / polygott

Base Docker image for the Repl.it evaluation server
https://replit.com
MIT License
395 stars 103 forks source link

Upgrade python-language-server and related packages #199

Closed sergeichestakov closed 3 years ago

sergeichestakov commented 3 years ago

LSP in Python is currently not working very well (e.g. everything listed in this blog has regressed: https://blog.repl.it/intel). In particular, go to definition, find references, etc is broken across files and modules (including built in modules like os, time, etc).

This seems to be due to the fact that we've upgrade Python versions (from ~3.5 -> 3.8) but haven't touched python-language-server and its dependencies (jedi, pyflakes, etc) since which are now almost all over 2 years old.

Upgrading them seems to do the trick (I tested this locally and made sure all of the examples in the above blog work again)

replbot commented 3 years ago

unbooping: approved