Closed
Description
Creating Dev Container support for development of VSCode-Python extension on Codespaces, in which consists of:
- Creating Dockerfile with multiple supported versions of Python, Node.js installed
- Creating devcontainer.json that will point to the Docker file and relate to customization of necessary VSCode extension(s) customization
- Script(s) and prebuilds related materials
Note the base image in the Dockerfile will be the latest version of Fedora Linux instead of mcr.microsoft.com/devcontainers/python:3.7 (Debian) referenced in #20960.
After completion should be able to close: #20942 and #20960
Testing: #21435
Steps:
- Open VS Code Python Repo via Codespaces from: https://github.com/microsoft/vscode-python
- Check to see .venv appear as one of the directories on the file explorer.
- Open a new instance of terminal, make sure it is the terminal with virtual environment activated (.venv)
- run "npm run test:functional"
- run "npm run test:unittests"
- run "npm run test"
Expected output:
- Virtual environment is activated successfully after creating new instance of terminal as:

-
Typing "python" on virtual environment activated terminal gives access to "Python 3.7.16"
-
Typing "node" on virtual environment activated terminal gives access to "Node.js v16.17.1."
-
Expected output for step 4: One test failing ("pyenvs common utils - finding Python executables
mixed
"before all" hook in "mixed":....)

- Expected output for step 5: Five tests failing (One from Interpreter Path Service and four tests from Activated Env Launch)

- Expected output for step 6: Failing with ("error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory
Exit code: 127
End Standard tests (with errors) Failed")
