-
Notifications
You must be signed in to change notification settings - Fork 345
python: update images to use vscode extensions #297
Conversation
0bbfa4f
to
0a3e9d2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Creating the docker image for testing now
0a3e9d2
to
8bb53f8
Compare
8bb53f8
to
68411a0
Compare
(Note: I tested with a version of this PR where I switched to the the python extension logs a lot, specially at the There are a couple of runtimes exceptions in BE log from the root ERROR [hosted-plugin: 1556] (node:1556) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
|
Seems
Once I did Python's bidding, it rewarded me with a working app:
|
733e20c
to
b143288
Compare
@marcdumais-work I updated the |
I hope there might be an better way, but last resort we could fetch the sources archive and build it as part of the image: https://medium.com/@rijaspk5195/install-python-3-6-4-on-debian-9-jessie-bb71cdc9ff35 |
b143288
to
69b5d87
Compare
I updated the image to perform the steps you referenced (I could not find a simpler approach on debian). The image now has Python 3.6.4. (I tried updating to 3.7.0 but the build is too long). |
69b5d87
to
a686eb2
Compare
This problem is gone - now the venv is detected and proposed from the 👍 |
a686eb2
to
f998743
Compare
I believe the image is ready for another round of review 😄 |
f998743
to
e50f8ea
Compare
I am not a python developer, so I am not sure how important this is. While testing using a tutorial, I installed something through
I think the version of |
Fixes #74 - updates the `theia-python:latest` image to use builtin and vscode extensions. - updates the `theia-python:next` image to use builtin and vscode extensions. - updates the image to support both python 2 and 3. - includes the necessary tools for python development. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
e50f8ea
to
d20ff14
Compare
I now perform the update using: pip install --upgrade pip --user |
Looking good - just rebuilding to quickly check the latest change and it should be enough. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - nice work @vince-fugnitto
Thank you for the review! |
What it does
Fixes #74
The goal of the pull-request is to update the existing
theia-python:latest
andtheia-python:next
images to make use of both builtin and external vscode extensions while also removing soon-to-be-deprecated extensions such as@theia/python
.The
Dockerfile
has also been modified to a modified version of thetheia-full-docker
image, complete with necessary Python 2 and 3 tools for development including the python-language-server which supports both versions.Python functionality is completed by the vscode-python extension which also supports both Python 2 and 3.
In essence, the pull-request includes:
theia-python:latest
image to use builtin and vscode extensions.theia-python:next
image to use builtin and vscode extensions.How to test
Verify that the CI successfully passes for both
theia-python:latest
andtheia-python:next
.Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com