Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate vs code python version issue. #240

Closed
Jose-Matsuda opened this issue Mar 24, 2021 · 2 comments · Fixed by #252
Closed

Investigate vs code python version issue. #240

Jose-Matsuda opened this issue Mar 24, 2021 · 2 comments · Fixed by #252
Assignees
Labels
size/S ~1 day

Comments

@Jose-Matsuda
Copy link
Contributor

Offshoot of StatCan/aaw#463 where the solution was to install an older version of Python.
Not sustainable / can become a vulnerability in the future.

Related Issue in the cpde-server repo (there are multiple issues about this floating around but this seems to be the one with the most action).
coder/code-server#2341 (comment)

Like the comment says, it may break everytime MS pushes a new update (of which i've heard they maye have an EEE policy :/

At the very least to try out this solution we will need to update to code-server 3.9.1 (should be fine to do)

@Jose-Matsuda Jose-Matsuda self-assigned this Mar 24, 2021
@Jose-Matsuda Jose-Matsuda added the size/S ~1 day label Mar 24, 2021
@Jose-Matsuda
Copy link
Contributor Author

Following their solution linked in the comment works.
Steps Taken

  1. Upgraded the code-server to 3.9.1
  2. Upgraded the VS_PYTHON_VERSION to 2021.2.633441544

You can now select the python interpreter you want.

Upon selecting it and opening up a .py file you will get an error saying

image
Then in select linter
image

@Jose-Matsuda Jose-Matsuda changed the title Further Investigate the VS Code Python extension issue Investigate vs code python version issue. May 12, 2021
@Jose-Matsuda
Copy link
Contributor Author

Was able to upgrade to Python version v2021.5.829140558 on code-server 3.10.0.
The Msoft releases of extensions can still be prone to not working nicely with code-server (this is the same as open-vsx since it's the same)

@Jose-Matsuda Jose-Matsuda linked a pull request May 13, 2021 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/S ~1 day
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant