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

Cannot select interpreter in .py files when using "Select at workspace level" #21220

Closed
glinka opened this issue May 10, 2023 · 22 comments · Fixed by #21689
Closed

Cannot select interpreter in .py files when using "Select at workspace level" #21220

glinka opened this issue May 10, 2023 · 22 comments · Fixed by #21689
Assignees
Labels
area-environments Features relating to handling interpreter environments author-verification-requested Issues potentially verifiable by issue author debt Covers everything internal: CI, testing, refactoring of the codebase, etc.
Milestone

Comments

@glinka
Copy link

glinka commented May 10, 2023

Type: Bug

Behaviour

Expected vs. Actual

When editing .py files, I cannot adjust the python interpreter. It's pinned to the base mamba/conda env in ~/mamba/bin/python, but I'd like it to use ~/mamba/envs/my-env/bin/python. When I select this in the lower right, or by setting "Set python interpeter" in the command palette, nothing changes (even after reloading). Similarly, hard-coding the desired interpreter into "python.pythonPath" has no effect. I would expect the interpeter to change with my selection. Jupyter notebooks do not have this problem; there, I'm free to choose any kernel I like and it instantly takes effect.

Note that I'm running VSCode in a container, if that changes anything.

Steps to reproduce:

  1. Install base conda env
  2. Activate base env and install additional env in ~/conda/envs/new-env
  3. Open .py file and attempt to switch interpeter to ~/conda/envs/new-env

Diagnostic data

  • Python version (& distribution if applicable, e.g. Anaconda): 3.10.10
  • Type of virtual environment used (e.g. conda, venv, virtualenv, etc.): Unknown
  • Value of the python.languageServer setting: Default
Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

User Settings


venvPath: "<placeholder>"

languageServer: "Pylance"

formatting
• provider: "yapf"
• yapfArgs: "<placeholder>"

terminal
• activateEnvironment: false

Extension version: 2023.8.0
VS Code version: Code 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-03T20:09:46.685Z)
OS version: Linux x64 6.1.20-2rodete1-amd64
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.19.0-1022-gcp

System Info
Item Value
CPUs Intel(R) Xeon(R) W-2135 CPU @ 3.70GHz (6 x 4399)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 125.40GB (107.26GB free)
Process Argv --unity-launch --crash-reporter-id 4864ec53-29cb-400d-8df6-b813d008ae4e
Screen Reader no
VM 0%
DESKTOP_SESSION gnome
XDG_CURRENT_DESKTOP GNOME
XDG_SESSION_DESKTOP gnome
XDG_SESSION_TYPE x11
Item Value
Remote Dev Container: BenjaminML @ ssh://cc-aholiday
OS Linux x64 5.19.0-1022-gcp
CPUs Intel(R) Xeon(R) CPU @ 2.20GHz (12 x 2200)
Memory (System) 83.47GB (79.61GB free)
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
2e4cg342:30602488
pyind779:30671433
89544117:30613380
pythonsymbol12:30671437
a9j8j154:30646983
6233i204:30730053
azdwalk:30721579
pythonms35:30701012
pythonfmttext:30731395
fixshowwlkth:30730052
pythongtdpathcf:30731979

@karrtikr
Copy link

Please provide the logs as mentioned in the issue template. Attempt to change interpreter before providing the logs, use Python: Select Interpreter comamnd.

Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

XXX

@karthiknadig karthiknadig added the triage-needed Needs assignment to the proper sub-team label May 11, 2023
@karrtikr karrtikr added the info-needed Issue requires more information from poster label May 11, 2023
@walkingice
Copy link

walkingice commented May 24, 2023

I got similar issue that cannot select interpreter successfully.

This is my Python Output

2023-05-25 00:25:44.801 [info] Experiment 'pythonaa' is active
2023-05-25 00:25:44.801 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-05-25 00:25:44.801 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-05-25 00:25:44.803 [info] Test server listening.
2023-05-25 00:25:44.807 [info] > conda info --json
2023-05-25 00:25:44.811 [info] Python interpreter path: ~/.pyenv/versions/3.9.13/bin/python3.9
2023-05-25 00:25:44.883 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.883 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.883 [info] Found: /usr/bin/python3 --> /usr/bin/python3
2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.896 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.897 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:44.994 [info] > ~/.pyenv/versions/3.9.13/bin/python -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
2023-05-25 00:25:44.998 [info] Found: /opt/homebrew/bin/python3.10 --> /opt/homebrew/Cellar/[email protected]/3.10.10_1/Frameworks/Python.framework/Versions/3.10/bin/python3.10
2023-05-25 00:25:45.010 [info] > /usr/bin/python3 -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
2023-05-25 00:25:45.044 [info] > /opt/homebrew/bin/python3.10 -I ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
2023-05-25 00:25:45.159 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:45.159 [warning] Retry failed, storage update failed for key PYTHON_GLOBAL_STORAGE_KEYS
2023-05-25 00:25:45.417 [info] Starting Pylance language server.

I created a temporary virtual environment by $ virtualenv /tmp/testenv, open Visual Studio Code, then choose the interpreter /tmp/testenv/bin/python3.9 (this is a symbolic link to ~/.pyenv/versions/3.9.13/bin/python)

Nothing happened after choosing interpreter. And no new information was appended to Output.

Moreover, after I chose the interpreter under /tmp/testenv and click Run / Run without Debugging, it doesn't run at all. Just one new line was added to Python Output. But the python script does not run.

2023-05-25 00:32:41.574 [info] DAP Server launched with command: /Users/walkingice/.pyenv/versions/3.9.13/bin/python3.9 /Users/walkingice/.vscode/extensions/ms-python.python-2023.8.0/pythonFiles/lib/python/debugpy/adapter

It seems something crashed, because I can see a process ReportCrash was running in background, but the process never ends until I completely close Visual Studio Code.

@karrtikr karrtikr removed the info-needed Issue requires more information from poster label May 24, 2023
@glinka
Copy link
Author

glinka commented May 24, 2023

Sorry for the delay. As with @walkingice, running Python: Select Interpreter didn't produce any additional logs.

Full output:

2023-05-24 11:08:31.988 [info] Experiment 'pythonaa' is active
2023-05-24 11:08:31.988 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-05-24 11:08:31.988 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-05-24 11:08:31.988 [info] Test server listening.
2023-05-24 11:08:31.988 [info] Python interpreter path: ~/mamba/envs/ml/bin/python
2023-05-24 11:08:32.846 [info] Starting Pylance language server.
2023-05-24 11:08:32.854 [error] Active interpreter type is detected as Unknown {"id":"/home/glinka/mamba/envs/ml/bin/python","sysPrefix":"/home/glinka/mamba/envs/ml","envType":"Unknown","envName":"","envPath":"/home/glinka/mamba/envs/ml","path":"/home/glinka/mamba/envs/ml/bin/python","architecture":3,"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]","version":{"raw":"3.10.10","major":3,"minor":10,"patch":10,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.10.10 64-bit","detailedDisplayName":"Python 3.10.10 64-bit"}
2023-05-24 11:09:03.297 [info] > conda info --json
2023-05-24 11:09:03.318 [info] > ~/mamba/envs/ml/bin/python -m yapf "--style={based_on_style: google, indent_width: 2}" --diff ./vertex_ai_training_job/trainer/task.py.ca290d93db33c24c4c5885e2d51a283e.tmp
2023-05-24 11:09:03.318 [info] cwd: ./vertex_ai_training_job/trainer
2023-05-24 11:09:03.360 [info] > ~/mamba/envs/ml/bin/python -c "import yapf"
2023-05-24 11:09:03.528 [info] > . ~/mamba/envs/ml/bin/activate && echo 'e8b39361-0157-4923-80e1-22d70d46dee6' && python ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/printEnvVariables.py
2023-05-24 11:09:03.528 [info] shell: bash
2023-05-24 11:09:03.845 [info] > ~/mamba/envs/ml/bin/python -c "import yapf"
2023-05-24 11:09:03.873 [error] 
Please install 'yapf' into your environment. 
If you don't want to use it you can turn it off or use another formatter in the settings.
2023-05-24 11:09:03.873 [error] Formatting with yapf failed:
Error: Module 'yapf' not installed.
2023-05-24 11:09:43.114 [info] Found: /bin/python3 --> /bin/python3.10
2023-05-24 11:09:43.114 [info] Found: /bin/python3.10 --> /bin/python3.10
2023-05-24 11:09:43.123 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
2023-05-24 11:09:43.123 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
2023-05-24 11:09:43.149 [info] > /bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py
2023-05-24 11:09:43.165 [info] > /usr/bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.8.0/pythonFiles/interpreterInfo.py

@karrtikr
Copy link

Try the pre-release version of the Python extension:

image

In case the issue is still there, please provide the debug logs which can help diagnose the issue:

  • Run Developer: Set log level command

  • Select Python -> Select Trace

  • Run Developer: Reload Window command

  • Provide the output:

    Output for Python in the Output panel (ViewOutput, change the drop-down the upper-right of the Output panel to Python)

    XXX
    

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 21, 2023
@glinka
Copy link
Author

glinka commented Jul 24, 2023

Unfortunately pre-release (v2023.13.12051535) has not solved the problem. I'm providing the output below but there's literally nothing logged at the trace level when I select a different interpreter.

2023-07-24 16:49:17.369 [info] Experiment 'pythonPromptNewFormatterExt' is active
2023-07-24 16:49:17.369 [info] Experiment 'pythonPromptNewToolsExt' is active
2023-07-24 16:49:17.369 [info] Experiment 'pythonSurveyNotificationcf' is active
2023-07-24 16:49:17.369 [info] Experiment 'pythonTestAdapter' is active
2023-07-24 16:49:17.369 [info] Test server listening.
2023-07-24 16:49:17.370 [info] > conda info --json
2023-07-24 16:49:17.370 [info] Python interpreter path: ~/mamba/bin/python
2023-07-24 16:49:17.370 [info] Found: /bin/python3 --> /bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /bin/python3.10 --> /bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python --> /home/workspace/mamba/bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3 --> /home/workspace/mamba/bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3.1 --> /home/workspace/mamba/bin/python3.10
2023-07-24 16:49:17.370 [info] Found: /home/workspace/mamba/bin/python3.10 --> /home/workspace/mamba/bin/python3.10
2023-07-24 16:49:17.370 [info] > /bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
2023-07-24 16:49:17.564 [info] > /usr/bin/python3 -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
2023-07-24 16:49:18.094 [info] > conda run -n base --no-capture-output python ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/printEnvVariables.py
2023-07-24 16:49:18.095 [info] shell: bash
2023-07-24 16:49:18.115 [info] > ~/mamba/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
2023-07-24 16:49:18.210 [info] > ~/mamba/envs/default/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
2023-07-24 16:49:18.227 [info] > ~/mamba/envs/pcp/bin/python -I ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/get_output_via_markers.py ~/.vscode-server/extensions/ms-python.python-2023.13.12051535/pythonFiles/interpreterInfo.py
2023-07-24 16:49:19.858 [info] Starting Pylance language server.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 24, 2023
@karrtikr
Copy link

That doesn't seem like the debug logs, can you demonstrate the logging level is set to trace for the Python extension? Try running Developer: Set log level command and take a screenshot.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 25, 2023
@glinka
Copy link
Author

glinka commented Jul 25, 2023

You're right, I did select the Python trace logs but it didn't persist after reloading the window. Setting trace logging for everything worked though, here's the final few log lines (including an attempt to switch to the interpreter in the default mamba env), let me know if you need more:

2023-07-25 07:22:20.537 [debug] Searching for pyenv environments
2023-07-25 07:22:20.539 [debug] Searching for conda environments using conda
2023-07-25 07:22:20.539 [debug] Cached data exists KeyPrefix=Cache_Method_Output_S.getEnvList-Args=
2023-07-25 07:22:20.539 [debug] Couldn't locate the state binary.
2023-07-25 07:22:20.540 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba","name":"base"}
2023-07-25 07:22:20.542 [debug] Finished searching for custom virtual envs
2023-07-25 07:22:20.542 [debug] Searching for workspace virtual envs in: /home/workspace/workspace-cc
2023-07-25 07:22:20.542 [debug] Finished searching for poetry envs
2023-07-25 07:22:20.543 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba","name":"base"}
2023-07-25 07:22:20.543 [debug] Found conda executable: /home/workspace/mamba/bin/python
2023-07-25 07:22:20.543 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba/envs/default","name":"default"}
2023-07-25 07:22:20.544 [debug] Finished searching for global virtual envs
2023-07-25 07:22:20.546 [debug] Attempting to resolve symbolic link: /bin/python3
2023-07-25 07:22:20.546 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba/envs/default","name":"default"}
2023-07-25 07:22:20.546 [debug] Found conda executable: /home/workspace/mamba/envs/default/bin/python
2023-07-25 07:22:20.547 [info] Found: /bin/python3 --> /bin/python3.10
2023-07-25 07:22:20.547 [debug] Attempting to resolve symbolic link: /bin/python3.10
2023-07-25 07:22:20.547 [info] Found: /bin/python3.10 --> /bin/python3.10
2023-07-25 07:22:20.558 [debug] Looking into conda env for executable: {"prefix":"/home/workspace/mamba/envs/ml","name":"ml"}
2023-07-25 07:22:20.559 [debug] Found executable within conda env {"prefix":"/home/workspace/mamba/envs/ml","name":"ml"}
2023-07-25 07:22:20.559 [debug] Found conda executable: /home/workspace/mamba/envs/ml/bin/python
2023-07-25 07:22:20.560 [debug] Attempting to resolve symbolic link: /usr/bin/python3
2023-07-25 07:22:20.572 [info] Found: /usr/bin/python3 --> /usr/bin/python3.10
2023-07-25 07:22:20.572 [debug] Attempting to resolve symbolic link: /usr/bin/python3.10
2023-07-25 07:22:20.574 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.575 [info] Found: /usr/bin/python3.10 --> /usr/bin/python3.10
2023-07-25 07:22:20.578 [debug] Finished searching for conda environments
2023-07-25 07:22:20.581 [debug] Finished searching for workspace virtual envs
2023-07-25 07:22:20.586 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python
2023-07-25 07:22:20.587 [info] Found: /home/workspace/mamba/bin/python --> /home/workspace/mamba/bin/python3.10
2023-07-25 07:22:20.587 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3
2023-07-25 07:22:20.587 [info] Found: /home/workspace/mamba/bin/python3 --> /home/workspace/mamba/bin/python3.10
2023-07-25 07:22:20.587 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3.1
2023-07-25 07:22:20.588 [info] Found: /home/workspace/mamba/bin/python3.1 --> /home/workspace/mamba/bin/python3.10
2023-07-25 07:22:20.588 [debug] Attempting to resolve symbolic link: /home/workspace/mamba/bin/python3.10
2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
2023-07-25 07:22:20.588 [debug] Storage update failed for key PYTHON_ENV_INFO_CACHE  retrying by resetting first
2023-07-25 07:22:20.589 [info] Found: /home/workspace/mamba/bin/python3.10 --> /home/workspace/mamba/bin/python3.10
2023-07-25 07:22:20.589 [debug] Found 3 python binaries in posix paths
2023-07-25 07:22:20.597 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.599 [debug] Extension ms-toolsai.jupyter accessed getEnvironmentVariables with args: undefined
2023-07-25 07:22:20.603 [debug] Finished searching for interpreters in posix paths locator
2023-07-25 07:22:20.604 [debug] Finished with environment reducer
2023-07-25 07:22:20.606 [debug] Finished with environment resolver
2023-07-25 07:22:20.607 [debug] Environments added to cache [{"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"},{"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"},{"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"},{"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"},{"name":"ml","location":"/home/workspace/mamba/envs/ml","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/ml/bin/python","sysPrefix":"/home/workspace/mamba/envs/ml","ctime":1689090892138,"mtime":1687297987000},"display":"Python 3.9.16 ('ml')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/ml/bin/python","detailedDisplayName":"Python 3.9.16 ('ml': conda)"}]
2023-07-25 07:22:20.612 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:20.612 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:20.619 [debug] Needed to validate /bin/python3 with latest info
2023-07-25 07:22:20.620 [debug] Resolved /bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"}
2023-07-25 07:22:20.625 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:20.625 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:20.626 [debug] Needed to validate /usr/bin/python3 with latest info
2023-07-25 07:22:20.626 [debug] Resolved /usr/bin/python3 from cache: {"name":"","location":"","kind":"global-other","executable":{"filename":"/usr/bin/python3","sysPrefix":"/usr","ctime":1688741069565,"mtime":1660819144000},"display":"Python 3.10.6 64-bit","version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"arch":3,"distro":{"org":""},"source":["path env var"],"id":"/usr/bin/python3","detailedDisplayName":"Python 3.10.6 64-bit"}
2023-07-25 07:22:20.627 [debug] Needed to validate /home/workspace/mamba/envs/default/bin/python with latest info
2023-07-25 07:22:20.628 [debug] Resolved /home/workspace/mamba/envs/default/bin/python from cache: {"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"}
2023-07-25 07:22:20.629 [debug] Needed to validate /home/workspace/mamba/envs/ml/bin/python with latest info
2023-07-25 07:22:20.629 [debug] Resolved /home/workspace/mamba/envs/ml/bin/python from cache: {"name":"ml","location":"/home/workspace/mamba/envs/ml","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/ml/bin/python","sysPrefix":"/home/workspace/mamba/envs/ml","ctime":1689090892138,"mtime":1687297987000},"display":"Python 3.9.16 ('ml')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/ml/bin/python","detailedDisplayName":"Python 3.9.16 ('ml': conda)"}
2023-07-25 07:22:20.684 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.695 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.699 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.782 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:20.782 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:20.782 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:20.783 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:20.783 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:20.783 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:20.838 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.841 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.843 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.844 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.846 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.848 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.849 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.851 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.853 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.855 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.966 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.969 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.971 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.973 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/bin/python3","id":"/bin/python3","executable":{"uri":{"$mid":1,"path":"/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"tools":[]},"id":"/bin/python3"}
2023-07-25 07:22:20.974 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.976 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/envs/default/bin/python","id":"/home/workspace/mamba/envs/default/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/envs/default/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba/envs/default"},"environment":{"type":"Conda","name":"default","folderUri":{"$mid":1,"path":"/home/workspace/mamba/envs/default","scheme":"file"}},"version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/envs/default/bin/python"}
2023-07-25 07:22:20.978 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/bin/python","id":"/home/workspace/mamba/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba"},"environment":{"type":"Conda","name":"base","folderUri":{"$mid":1,"path":"/home/workspace/mamba","scheme":"file"}},"version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/bin/python"}
2023-07-25 07:22:20.979 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/usr/bin/python3","id":"/usr/bin/python3","executable":{"uri":{"$mid":1,"path":"/usr/bin/python3","scheme":"file"},"bitness":"64-bit","sysPrefix":"/usr"},"version":{"major":3,"minor":10,"micro":6,"release":{"level":"final","serial":0},"sysVersion":"3.10.6 (main, May 29 2023, 11:10:38) [GCC 11.3.0]"},"tools":[]},"id":"/usr/bin/python3"}
2023-07-25 07:22:20.981 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"internal":{"path":"/home/workspace/mamba/envs/ml/bin/python","id":"/home/workspace/mamba/envs/ml/bin/python","executable":{"uri":{"$mid":1,"path":"/home/workspace/mamba/envs/ml/bin/python","scheme":"file"},"bitness":"64-bit","sysPrefix":"/home/workspace/mamba/envs/ml"},"environment":{"type":"Conda","name":"ml","folderUri":{"$mid":1,"path":"/home/workspace/mamba/envs/ml","scheme":"file"}},"version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"tools":["Conda"]},"id":"/home/workspace/mamba/envs/ml/bin/python"}
2023-07-25 07:22:20.983 [debug] Extension ms-toolsai.jupyter accessed refreshEnvironments with args: undefined
2023-07-25 07:22:20.989 [debug] Extension ms-toolsai.jupyter accessed getActiveEnvironmentPath with args: undefined
2023-07-25 07:22:20.991 [debug] Extension ms-toolsai.jupyter accessed known with args: undefined
2023-07-25 07:22:20.993 [debug] Extension ms-toolsai.jupyter accessed resolveEnvironment with args: {"id":"/home/workspace/mamba/bin/python","path":"/home/workspace/mamba/bin/python"}
2023-07-25 07:22:21.005 [debug] Extension ms-python.vscode-pylance accessed onDidChangeActiveEnvironmentPath with args: undefined
2023-07-25 07:22:21.007 [debug] Extension ms-python.vscode-pylance accessed onDidEnvironmentVariablesChange with args: undefined
2023-07-25 07:22:21.136 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:21.136 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:21.137 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:21.185 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:21.999 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:21.999 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:21.999 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:22.049 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
2023-07-25 07:22:22.197 [info] Starting Pylance language server.
2023-07-25 07:22:22.201 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:22.201 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:22.201 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:22.205 [debug] [object Object]. Shell identified as undefined 
2023-07-25 07:22:22.205 [debug] Shell path '/usr/bin/bash', base path '/usr/bin/bash'
2023-07-25 07:22:22.205 [debug] Shell path identified as shell 'bash'
2023-07-25 07:22:22.205 [debug] Terminal shell path '/usr/bin/bash' identified as shell 'bash'
2023-07-25 07:22:22.205 [debug] [object Object]. Shell identified as bash 
2023-07-25 07:22:22.205 [debug] Shell identified as 'bash'
2023-07-25 07:22:22.205 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:22.206 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:22.206 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:22.206 [debug] Cached data exists KeyPrefix=Cache_Method_Output_S.getCondaVersion-Args=
2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/workspace/workspace-cc"-Arg-Separator-undefined
2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_INTERPRETER_PATH_/home/workspace/workspace-cc/cc.code-workspace"-Arg-Separator-undefined
2023-07-25 07:22:22.207 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="workspace"-Arg-Separator-"autoSelectedWorkspacePythonInterpreter-/home/workspace/workspace-cc"-Arg-Separator-undefined
2023-07-25 07:22:22.220 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:22.220 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:22.333 [debug] Extension ms-python.vscode-pylance accessed getActiveEnvironmentPath with args: undefined
2023-07-25 07:22:22.336 [debug] Extension ms-python.vscode-pylance accessed resolveEnvironment with args: {"id":"/home/workspace/mamba/bin/python","path":"/home/workspace/mamba/bin/python"}
2023-07-25 07:22:22.339 [debug] Extension ms-python.vscode-pylance accessed getEnvironmentVariables with args: undefined
2023-07-25 07:22:24.395 [debug] Clearing context for python dependencies not installed: /home/workspace/workspace-cc/dvt/embed.py
2023-07-25 07:22:33.656 [debug] Cached data exists KeyPrefix=Cache_Method_Output_b._selectIfLaunchedViaActivatedEnv-Args=true
2023-07-25 07:22:33.657 [debug] Found cached env for /home/workspace/mamba/bin/python
2023-07-25 07:22:33.657 [debug] Resolved /home/workspace/mamba/bin/python from cache: {"name":"base","location":"/home/workspace/mamba","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/bin/python","sysPrefix":"/home/workspace/mamba","ctime":1689090604806,"mtime":1687297516000},"display":"Python 3.10.10 ('base')","version":{"major":3,"minor":10,"micro":10,"release":{"level":"final","serial":0},"sysVersion":"3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":["path env var"],"type":"Conda","id":"/home/workspace/mamba/bin/python","detailedDisplayName":"Python 3.10.10 ('base': conda)"}
2023-07-25 07:22:35.541 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_FOLDER_INTERPRETER_PATH_/home/workspace/workspace-cc"-Arg-Separator-undefined
2023-07-25 07:22:35.542 [debug] Cached data exists KeyPrefix=Cache_Method_Output_f.addKeyToStorage-Args="global"-Arg-Separator-"dev-container_WORKSPACE_INTERPRETER_PATH_/home/workspace/workspace-cc/cc.code-workspace"-Arg-Separator-undefined
2023-07-25 07:22:35.542 [debug] Found cached env for /home/workspace/mamba/envs/default/bin/python
2023-07-25 07:22:35.542 [debug] Resolved /home/workspace/mamba/envs/default/bin/python from cache: {"name":"default","location":"/home/workspace/mamba/envs/default","kind":"virt-conda","executable":{"filename":"/home/workspace/mamba/envs/default/bin/python","sysPrefix":"/home/workspace/mamba/envs/default","ctime":1689090613363,"mtime":1687297593000},"display":"Python 3.9.16 ('default')","version":{"major":3,"minor":9,"micro":16,"release":{"level":"final","serial":0},"sysVersion":"3.9.16 | packaged by conda-forge | (main, Feb  1 2023, 21:39:03) \n[GCC 11.3.0]"},"arch":3,"distro":{"org":"Anaconda, Inc."},"source":[],"type":"Conda","id":"/home/workspace/mamba/envs/default/bin/python","detailedDisplayName":"Python 3.9.16 ('default': conda)"}

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr
Copy link

Thanks. Are these the complete logs? Certain lines seem missing.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 25, 2023
@glinka
Copy link
Author

glinka commented Jul 25, 2023

True was a bit concerned about PII, but full logs are attached.

vscode.log

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr
Copy link

Thanks for the logs, I assume you attempted to change the selected interpreter before providing the logs. Could you send a screenshot of the "Select Interpreter" quickpick? For eg. for me it looks like

image

Try the "Python: Clear cache and reload window" command before attempting to select the interpreter again.

@github-actions github-actions bot added info-needed Issue requires more information from poster and removed info-needed Issue requires more information from poster labels Jul 25, 2023
@glinka
Copy link
Author

glinka commented Jul 25, 2023

image

which is the one it's stuck on, but then Select at workspace level shows:

image

@karrtikr
Copy link

Ah, "Select at workspace level" is not meant for that. You should click the workspace folder instead to select the interpreter.

@karrtikr
Copy link

There're 3 scopes of settings starting from lowest priority to highest:

  • User settings
  • Workspace settings
  • Workspace folder settings

Workspace folder setting always takes the priority.

@karrtikr
Copy link

We should probably remove "Select at workspace level" option when there is only one workspace folder opened to avoid confusion.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr karrtikr changed the title Cannot select interpreter in .py files Cannot select interpreter in .py files when using "Select at workspace level" Jul 25, 2023
@glinka
Copy link
Author

glinka commented Jul 25, 2023

Thanks, I've set the default interpreter in the settings in all three levels that are available: Remote, Workspace, Folder, and none have the desired effect (after reloading the window). It's stuck on the single option that appears in the first Select interpreter menu.

@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr
Copy link

Are you referring to "python.defaultInterpreterPath" setting? That is not meant to work like that.

@github-actions github-actions bot added the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr
Copy link

Please select the first option in the list to choose a different interpreter and provide a screenshot again:
image

Also, can you confirm if you tried the "Python: clear cache and reload" command?

@glinka
Copy link
Author

glinka commented Jul 25, 2023

Goodness, I think it was just the cache, cleared that and now everything works as expected. Thanks!

tl;dr make sure you run Python: clear cache and reload if your Python settings aren't taking effect. Also, for some reason, Select at workspace level is not a reliable method of choosing an interpreter.

@glinka glinka closed this as completed Jul 25, 2023
@github-actions github-actions bot removed the info-needed Issue requires more information from poster label Jul 25, 2023
@karrtikr karrtikr added debt Covers everything internal: CI, testing, refactoring of the codebase, etc. area-environments Features relating to handling interpreter environments needs PR Ready to be worked on and removed triage-needed Needs assignment to the proper sub-team labels Jul 25, 2023
@karrtikr karrtikr added this to the July 2023 milestone Jul 25, 2023
@karrtikr
Copy link

karrtikr commented Jul 25, 2023

You're welcome, reopening so we can do this: #21220 (comment).

@karrtikr karrtikr reopened this Jul 25, 2023
@karrtikr
Copy link

FYI there's a
image

which is targeted to the problematic cache and might be better suited than "clear cache" command, which clears entire cache.

@karrtikr
Copy link

Verification steps:

  • Use File -> Add folder to workspace... option to open a folder
  • Make sure there is only one folder opened
  • Make sure "Select the workspace folder" quickpick does not show up when using "Python: Select Interpreter" command:

image

karrtikr pushed a commit that referenced this issue Jul 25, 2023
@github-actions github-actions bot removed the needs PR Ready to be worked on label Jul 25, 2023
@karrtikr
Copy link

karrtikr commented Jul 25, 2023

@glinka Fix should be out in the pre-release version of the extension in a day, use the following to try it out:

image

@karrtikr karrtikr added the author-verification-requested Issues potentially verifiable by issue author label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 25, 2023
wesm pushed a commit to posit-dev/positron that referenced this issue Mar 28, 2024
…se 2023.16.0

Merge pull request #213 from posit-dev/merge/2023.16.0

Merge python extension release 2023.16.0
--------------------
Commit message for posit-dev/positron-python@cca4be0:

Fix pyright issues

--------------------
Commit message for posit-dev/positron-python@c3bd360:

Merge branch 'main' into merge/2023.16.0

--------------------
Commit message for posit-dev/positron-python@bebadea:

EnvironmentVariableScope now provided by vscode 1.82

--------------------
Commit message for posit-dev/positron-python@3e9d86b:

Add back installation capability for ipykernel

--------------------
Commit message for posit-dev/positron-python@6a7d49a:

Merge commit '8c612511b99cb5ebc78153684de8fe595bd154dc'

--------------------
Commit message for microsoft/vscode-python@8c61251:

Update version for release candidate (microsoft/vscode-python#21919)


--------------------
Commit message for microsoft/vscode-python@d9b9c88:

Always prepend to PATH instead of replacing it (microsoft/vscode-python#21906)

For microsoft/vscode-python#20822 microsoft/vscode-python#11039

Replacing as-is has its problems, for eg. pyenv asks their users to
manipulate `PATH` in their init script:
https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv,
which we could end up replacing.


![image](https://github.com/microsoft/vscode-python/assets/13199757/cc904f76-8d42-47e1-a6c8-6cfff6543db8)

Particularly for pyenv, it mean users not being able to find pyenv:


![image](https://github.com/microsoft/vscode-python/assets/13199757/26100328-c227-435b-a4f2-ec168099f4c1)

Prepending solves it for cases where initial PATH value is suffix of the
final value:


![image](https://github.com/microsoft/vscode-python/assets/13199757/a95e4ffd-68dc-4e73-905e-504b3051324f)

But, in other cases, this means that we end up with the whole `PATH`
thrice. This is because it prepends it twice:
- Once in shell integration script
- Once when creating a process

So the final value could be:
```
PATH=<activated_full_path><activated_full_path><original_path>
```
where `<activated_full_path>` refers to value of `PATH` environment
variable post activation. eg.


![image](https://github.com/microsoft/vscode-python/assets/13199757/7e771f62-eb53-49be-b261-d259096008f3)
--------------------
Commit message for microsoft/vscode-python@7a9294c:

Apply feedback for terminal activation prompt (microsoft/vscode-python#21905)

For microsoft/vscode-python#21793


![image](https://github.com/microsoft/vscode-python/assets/13199757/b3ab6002-0a07-4b3b-8101-a84865ea12e4)
--------------------
Commit message for microsoft/vscode-python@44f5bf7:

Set PS1 for conda environments in non-Windows when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21902)

For microsoft/vscode-python#20822 


![image](https://github.com/microsoft/vscode-python/assets/13199757/8c9d4c87-54f2-4661-b6c6-c3b49ee3ff7a)
--------------------
Commit message for microsoft/vscode-python@7d25ceb:

Remove finalized api proposals from package.json (microsoft/vscode-python#21900)

Part of microsoft/vscode#191605
--------------------
Commit message for microsoft/vscode-python@31aa246:

Also show env name for prefixed conda envs in terminal prompt (microsoft/vscode-python#21899)


--------------------
Commit message for microsoft/vscode-python@941fcfa:

Fixes from TPIs (microsoft/vscode-python#21896)

Closes microsoft/vscode-python#21884
Closes microsoft/vscode-python#21889
--------------------
Commit message for microsoft/vscode-python@f255e02:

Call out that env name may not show in terminal activation notification (microsoft/vscode-python#21897)

Closes microsoft/vscode-python#21887
--------------------
Commit message for microsoft/vscode-python@782d5b1:

Also show interpreter in status bar when a Python related output channel is opened (microsoft/vscode-python#21894)

Closes microsoft/vscode-python#21890
--------------------
Commit message for microsoft/vscode-python@1204011:

Activate environment when not using integrated terminal for debugging (microsoft/vscode-python#21880)

For microsoft/vscode-python#4300
--------------------
Commit message for microsoft/vscode-python@98428cd:

Apply custom env variables to terminal when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21879)

For microsoft/vscode-python#944 microsoft/vscode-python#20822 

We only apply those env vars to terminal which are not in process env
variables, hence remove custom env vars from process variables.
--------------------
Commit message for microsoft/vscode-python@3fa5d4b:

Support for Create Env command to re-create env for venv (microsoft/vscode-python#21829)

Closes microsoft/vscode-python#21827
--------------------
Commit message for microsoft/vscode-python@30e26c2:

Update proposed API for env collection (microsoft/vscode-python#21819)

For microsoft/vscode-python#20822

Blocked on
microsoft/vscode#171173 (comment)
--------------------
Commit message for microsoft/vscode-python@15bb974:

Do not filter using scheme when filtering environments (microsoft/vscode-python#21862)

For microsoft/vscode-python#21825

On codespaces, it was leading to workspace environments not being
displayed, which could mess up auto-selection.
--------------------
Commit message for microsoft/vscode-python@cfbf1f3:

remove usage of pytest CollectReport in rewrite (microsoft/vscode-python#21859)

as per
https://docs.pytest.org/en/7.1.x/reference/reference.html#collectreport,
`CollectReport` is experimental and therefore it should not be in our
extension. Fixes microsoft/vscode-python#21784
--------------------
Commit message for microsoft/vscode-python@0749b20:

Show `Python: Clear Workspace interpreter` command regardless of whether a Python file is opened (microsoft/vscode-python#21858)

Closes microsoft/vscode-python#21850
--------------------
Commit message for microsoft/vscode-python@021b362:

Update VS Code engine (microsoft/vscode-python#21847)

For microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@8407e9d:

Wrap env collection workspace proposed APIs in `try...catch` block (microsoft/vscode-python#21846)

Closes microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@c979455:

Set workspaceFolder in debug config before substituting command variables (microsoft/vscode-python#21835)

For microsoft/vscode-python#18482
--------------------
Commit message for microsoft/vscode-python@96ba735:

fix data to string from buffer for output channel (microsoft/vscode-python#21821)

fix microsoft/vscode-python#21820
--------------------
Commit message for microsoft/vscode-python@5140a8d:

Apply API recommendations for Create Env API (microsoft/vscode-python#21804)

Closes microsoft/vscode-python#21090
--------------------
Commit message for microsoft/vscode-python@0248fa8:

fixing failing tests on CI (microsoft/vscode-python#21814)

fixing microsoft/vscode-python#21813
--------------------
Commit message for microsoft/vscode-python@9c740b9:

Show notification reaffirming Python extension still handles activation when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21802)

Closes microsoft/vscode-python#21793

Only show notification when terminal prompt does not already indicate
that env is activated.
--------------------
Commit message for microsoft/vscode-python@b447bf1:

Feature branch testing overflow bug fix (microsoft/vscode-python#21812)

This merges in two PRs that were reverted because of a bug introduced
that caused subprocess overflow.
reverted PRs: microsoft/vscode-python#21667,
microsoft/vscode-python#21682

This now implements these two PRs allowing for absolute testIds and an
execObservable for the subprocess. This PR also adds a bug fix and
functional tests to ensure this doesn't happen again.

Since this PR is large, all items in it have already been reviewed as
they were merged into the feature branch.
--------------------
Commit message for microsoft/vscode-python@bd749aa:

Fix `service.test.ts` to stop disposing of all services (microsoft/vscode-python#21811)

file `service.test.ts` was calling to dispose of all items related to
the service container for clean up. This led to services in later tests
failing since they were close already. Fixes here allow for new tests in
the test adapter to be written.

fix helps microsoft/vscode-python#21803
--------------------
Commit message for microsoft/vscode-python@385bb37:

Add `language_server.jinja_usage` to `pylance.ts` (microsoft/vscode-python#21809)


--------------------
Commit message for microsoft/vscode-python@71d6dab:

Add one more property to load event (microsoft/vscode-python#21800)

This PR adds app name to the editor_load telemetry event
--------------------
Commit message for microsoft/vscode-python@ab8d3b2:

Update VS Code engine (microsoft/vscode-python#21799)

For microsoft/vscode-python#11039
--------------------
Commit message for microsoft/vscode-python@835eab5:

Add setting to control severity of missing package diagnostic. (microsoft/vscode-python#21794)

Closes microsoft/vscode-python#21792
--------------------
Commit message for microsoft/vscode-python@fbbf987:

Use updated API to fetch scoped env collection (microsoft/vscode-python#21788)

For microsoft/vscode#171173
microsoft/vscode-python#20822

To be merged tomorrow when latest insiders is released. Blocked on
microsoft/vscode#189979.
--------------------
Commit message for microsoft/vscode-python@0a2c285:

Bump brettcannon/check-for-changed-files from 1.1.1 to 1.2.0 (microsoft/vscode-python#21772)

Bumps
[brettcannon/check-for-changed-files](https://github.com/brettcannon/check-for-changed-files)
from 1.1.1 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/brettcannon/check-for-changed-files/releases">brettcannon/check-for-changed-files's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add support for github tokens for private repos. by <a
href="https://github.com/Marenz"><code>@​Marenz</code></a> in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Marenz"><code>@​Marenz</code></a> made
their first contribution in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0">https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/4170644959a21843b31f1181f2a1761d65ef4791"><code>4170644</code></a>
Add support for github tokens for private repos. (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/83">#83</a>)</li>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/294a99714e0d350b5083472a293d41bc91804e68"><code>294a997</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/82">#82</a>)</li>
<li>See full diff in <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1.1.1...v1.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brettcannon/check-for-changed-files&package-manager=github_actions&previous-version=1.1.1&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@9ac14b8:

Update README.md for npm package (microsoft/vscode-python#21766)

Fix indent for
https://www.npmjs.com/package/@vscode/python-extension?activeTab=readme
--------------------
Commit message for microsoft/vscode-python@3fed49f:

Add Ruff to CI (microsoft/vscode-python#21739)

Add Ruff to (lint > action.yml) CI
#21738
--------------------
Commit message for microsoft/vscode-python@c490339:

Update version of npm package (microsoft/vscode-python#21765)


--------------------
Commit message for microsoft/vscode-python@8e0e59b:

Remove optionalDependencies from API npm package and document to install vscode types separately (microsoft/vscode-python#21764)

Closes It still leads to conflicts due to double installation of vscode
types when testing through the cases, removing vscode types as
dependencies altogether and documenting to install it separately
instead.
--------------------
Commit message for microsoft/vscode-python@cabdf39:

Use `optionalDependencies` instead of `peerDependencies` for `@vscode/python-extension` npm package (microsoft/vscode-python#21763)

Closes microsoft/vscode-python#21720
--------------------
Commit message for microsoft/vscode-python@dd20561:

revert due to buffer overflow on subprocess (microsoft/vscode-python#21762)

revert microsoft/vscode-python#21667 because it
causes buffer overflow in the python testing subprocess when larger
repos are used. Specifically seen on pytest discovery with >200 tests.
Revert to align with the stable release and put in a fix next week.
--------------------
Commit message for microsoft/vscode-python@40ff6e9:

Remove private Jupyter APIs from public API types (microsoft/vscode-python#21761)

For microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@23353bb:

Improvements to `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21751)


--------------------
Commit message for microsoft/vscode-python@40bb62a:

fix spelling for get-pip.py (microsoft/vscode-python#21752)

fix spelling from get_pip to get-pip as advised.
--------------------
Commit message for microsoft/vscode-python@f454515:

Update release plan to document what to do with `main` during endgame week (microsoft/vscode-python#21743)


--------------------
Commit message for microsoft/vscode-python@dff25d4:

revert absolute test-ids (microsoft/vscode-python#21742)

seeing a substantial error where test discovery is broken. Reverting
this commit seems to be the temporary fix until I can diagnose the real
problem.

commit it is reverting:
microsoft/vscode-python#21682
--------------------
Commit message for microsoft/vscode-python@ca4dfd4:

update tests only on save with more files excluded (microsoft/vscode-python#21741)

fixes microsoft/vscode-python#21014 and
microsoft/vscode-python#21061
--------------------
Commit message for microsoft/vscode-python@84bbff9:

add cwd for debugging (microsoft/vscode-python#21668)

fixes microsoft/vscode-python#21648 (comment)
--------------------
Commit message for microsoft/vscode-python@ef16727:

Clean up smoke test requirement (microsoft/vscode-python#21729)

Cleaning up smoke test dependency: See if all Github action test pass
with removing the smoke test requirement file content.

Checked one by one, and came to see removing all doesn't seem to have
impact on the outcome of running smoke test.(Seems to have no difference
in smoke test result outcome when ran with "Run and Debug" in VS Code
with smoke-test option selected).

Also got rid of below, after checking smoke test correctly passing after
removal of smoke-test-requirement.txt content:
![Screenshot 2023-08-01 at 2 57 45
PM](https://github.com/microsoft/vscode-python/assets/62267334/45d404de-74dd-45a5-885b-71a25ef16ad7)

Resolve: microsoft/vscode-python#21496
--------------------
Commit message for microsoft/vscode-python@358635d:

Remove old and unused API for Jupyter Ext (microsoft/vscode-python#21731)

We have not used any of this API for a while now, hence its safe to
remove these.

Will be removing more soon.
--------------------
Commit message for microsoft/vscode-python@8f3d60b:

unittest discovery errors not displaying in test explorer (microsoft/vscode-python#21726)

saw an issue where if discovery failed there was no notice in the test
explorer for unittest. It was due to a different value for the new blank
value for the payload tests. fixes
microsoft/vscode-python#21725 and
microsoft/vscode-python#21688
--------------------
Commit message for microsoft/vscode-python@a6a8cb1:

Update main to next pre-release (microsoft/vscode-python#21728)


--------------------
Commit message for microsoft/vscode-python@4ab510d:

Update version for release candidate (microsoft/vscode-python#21727)


--------------------
Commit message for microsoft/vscode-python@3e7118f:

Update packages for Jedi and core python (microsoft/vscode-python#21710)


--------------------
Commit message for microsoft/vscode-python@237f82b:

Fix UUID and disposing to resolve race condition (microsoft/vscode-python#21667)

fixes microsoft/vscode-python#21599 and
microsoft/vscode-python#21507
--------------------
Commit message for microsoft/vscode-python@d9e368f:

add area-repl to issue label (microsoft/vscode-python#21718)

added area-repl as one of the issue label.
--------------------
Commit message for microsoft/vscode-python@ceecdb0:

Removing Jupyter Notebooks mentions from package.json (microsoft/vscode-python#21708)


--------------------
Commit message for microsoft/vscode-python@11a9f1d:

Remove unwanted Jupyter API (microsoft/vscode-python#21702)

Fixes microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@efcc3d7:

Make test_ids relative to workspace path not root dir (microsoft/vscode-python#21682)

makes sure all testIds that are returned to the extension are relative
to the workspace (which will be the invocation directory) instead of to
the root. This will stop testIds for not being recognized when using a
config file or another parameter that changes the root directory during
pytest.

fixes microsoft/vscode-python#21640 and
microsoft/vscode-python#21637
--------------------
Commit message for microsoft/vscode-python@06d62aa:

Update homepage for Python API package (microsoft/vscode-python#21703)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@83107cc:

Move "vscode" out of required dependencies for npm package (microsoft/vscode-python#21701)

Closes microsoft/vscode-python#21684
--------------------
Commit message for microsoft/vscode-python@d673004:

Convert JS-style typings to native TS in `@vscode/python-extension` (microsoft/vscode-python#21692)

Closes microsoft/vscode-python#21690
--------------------
Commit message for microsoft/vscode-python@8b9bca1:

Do not show "Select at workspace level" option if only one workspace folder is opened (microsoft/vscode-python#21689)

Closes microsoft/vscode-python#21220
--------------------
Commit message for microsoft/vscode-python@f536b74:

Edit issue-labels.yml, triage-info-needed.yml (microsoft/vscode-python#21685)

Add Anthony to issue-labels.yml and triage-info-needed.yml
--------------------
Commit message for microsoft/vscode-python@a42cb33:

Add new telemetry property to GPDR (microsoft/vscode-python#21683)

This property was added for tracking diagnostics we emit in Pylance.
--------------------
Commit message for microsoft/vscode-python@6af959d:

Dev Container Using MCR (microsoft/vscode-python#21675)

Dev container rewrite using MCR. 
Pyenv for installing and managing python versions. Fish also installed
as optional (able to view as shell option in codespaces). Also fixing
conda error. Takes care of: microsoft/vscode-python#21591 rewrite from: microsoft/vscode-python#21435 to adhere to
company policy.
--------------------
Commit message for microsoft/vscode-python@73a0e9d:

handle skip unittest at file without error (microsoft/vscode-python#21678)

fixes microsoft/vscode-python#21653
--------------------
Commit message for microsoft/vscode-python@9bcb82d:

Ensure `Run Python in dedicated terminal` uses `python.executeInFirDir` setting (microsoft/vscode-python#21681)


--------------------
Commit message for microsoft/vscode-python@713007f:

correct discovery on unittest skip at file level (microsoft/vscode-python#21665)

given a file called skip_test_file_node.py that has `raise
SkipTest(".....")` this should appear in the sidebar with no children.
The bug is that currently it shows a "unittest" node that gives "loader"
and other incorrect nodes below it.
--------------------
Commit message for microsoft/vscode-python@be334bd:

Do not resolve symbolic links in posix locator if they exceed the count limit (microsoft/vscode-python#21658)

Closes microsoft/vscode-python#21310

Fixes interpreter discovery running forever for non-Windows OS
--------------------
Commit message for microsoft/vscode-python@c256678:

Prevent posix paths locator from crashing (microsoft/vscode-python#21657)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@81ae205:

Bring back feature to Run Python file in dedicated terminal (microsoft/vscode-python#21656)

Closes microsoft/vscode-python#21282
Closes microsoft/vscode-python#21420
Closes microsoft/vscode-python#21215
Reverts microsoft/vscode-python#21418
--------------------
Commit message for microsoft/vscode-python@c144200:

Modify .eslintrc to turn off any errors for declaration files (microsoft/vscode-python#21652)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@f7125da:

Use correct `tsconfig.json` when generating npm package (microsoft/vscode-python#21651)

For microsoft/vscode-python#21631 

- Unset `removeComment` as that leads to declarations without docstrings
- Set to generate declarations
- Use updated typescript which results in cleaner declaration files
--------------------
Commit message for microsoft/vscode-python@2e8dc67:

Add extra logging regarding interpreter discovery (microsoft/vscode-python#21639)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@fc1c391:

Compare global storage data using only `key` (microsoft/vscode-python#21636)

Closes microsoft/vscode-python#21635 by
applying the same fix as done in
microsoft/vscode-python#17627.

Lead-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Daniel Imms <[email protected]>
Co-authored-by: Luciana Abud <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Courtney Webster <[email protected]>
Co-authored-by: Brett Cannon <[email protected]>
Co-authored-by: Erik De Bonte <[email protected]>
Co-authored-by: Rich Chiodo <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
Co-authored-by: Anthony Kim <[email protected]>
Co-authored-by: Pete Farland <[email protected]>
Co-authored-by: Karthik Nadig <[email protected]>
Co-authored-by: Eleanor Boyd <[email protected]>
Signed-off-by: GitHub <[email protected]>
wesm pushed a commit to posit-dev/positron that referenced this issue Mar 28, 2024
…se 2023.16.0

Merge pull request #213 from posit-dev/merge/2023.16.0

Merge python extension release 2023.16.0
--------------------
Commit message for posit-dev/positron-python@cca4be0:

Fix pyright issues

--------------------
Commit message for posit-dev/positron-python@c3bd360:

Merge branch 'main' into merge/2023.16.0

--------------------
Commit message for posit-dev/positron-python@bebadea:

EnvironmentVariableScope now provided by vscode 1.82

--------------------
Commit message for posit-dev/positron-python@3e9d86b:

Add back installation capability for ipykernel

--------------------
Commit message for posit-dev/positron-python@6a7d49a:

Merge commit '8c612511b99cb5ebc78153684de8fe595bd154dc'

--------------------
Commit message for microsoft/vscode-python@8c61251:

Update version for release candidate (microsoft/vscode-python#21919)


--------------------
Commit message for microsoft/vscode-python@d9b9c88:

Always prepend to PATH instead of replacing it (microsoft/vscode-python#21906)

For microsoft/vscode-python#20822 microsoft/vscode-python#11039

Replacing as-is has its problems, for eg. pyenv asks their users to
manipulate `PATH` in their init script:
https://github.com/pyenv/pyenv#set-up-your-shell-environment-for-pyenv,
which we could end up replacing.


![image](https://github.com/microsoft/vscode-python/assets/13199757/cc904f76-8d42-47e1-a6c8-6cfff6543db8)

Particularly for pyenv, it mean users not being able to find pyenv:


![image](https://github.com/microsoft/vscode-python/assets/13199757/26100328-c227-435b-a4f2-ec168099f4c1)

Prepending solves it for cases where initial PATH value is suffix of the
final value:


![image](https://github.com/microsoft/vscode-python/assets/13199757/a95e4ffd-68dc-4e73-905e-504b3051324f)

But, in other cases, this means that we end up with the whole `PATH`
thrice. This is because it prepends it twice:
- Once in shell integration script
- Once when creating a process

So the final value could be:
```
PATH=<activated_full_path><activated_full_path><original_path>
```
where `<activated_full_path>` refers to value of `PATH` environment
variable post activation. eg.


![image](https://github.com/microsoft/vscode-python/assets/13199757/7e771f62-eb53-49be-b261-d259096008f3)
--------------------
Commit message for microsoft/vscode-python@7a9294c:

Apply feedback for terminal activation prompt (microsoft/vscode-python#21905)

For microsoft/vscode-python#21793


![image](https://github.com/microsoft/vscode-python/assets/13199757/b3ab6002-0a07-4b3b-8101-a84865ea12e4)
--------------------
Commit message for microsoft/vscode-python@44f5bf7:

Set PS1 for conda environments in non-Windows when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21902)

For microsoft/vscode-python#20822 


![image](https://github.com/microsoft/vscode-python/assets/13199757/8c9d4c87-54f2-4661-b6c6-c3b49ee3ff7a)
--------------------
Commit message for microsoft/vscode-python@7d25ceb:

Remove finalized api proposals from package.json (microsoft/vscode-python#21900)

Part of microsoft/vscode#191605
--------------------
Commit message for microsoft/vscode-python@31aa246:

Also show env name for prefixed conda envs in terminal prompt (microsoft/vscode-python#21899)


--------------------
Commit message for microsoft/vscode-python@941fcfa:

Fixes from TPIs (microsoft/vscode-python#21896)

Closes microsoft/vscode-python#21884
Closes microsoft/vscode-python#21889
--------------------
Commit message for microsoft/vscode-python@f255e02:

Call out that env name may not show in terminal activation notification (microsoft/vscode-python#21897)

Closes microsoft/vscode-python#21887
--------------------
Commit message for microsoft/vscode-python@782d5b1:

Also show interpreter in status bar when a Python related output channel is opened (microsoft/vscode-python#21894)

Closes microsoft/vscode-python#21890
--------------------
Commit message for microsoft/vscode-python@1204011:

Activate environment when not using integrated terminal for debugging (microsoft/vscode-python#21880)

For microsoft/vscode-python#4300
--------------------
Commit message for microsoft/vscode-python@98428cd:

Apply custom env variables to terminal when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21879)

For microsoft/vscode-python#944 microsoft/vscode-python#20822 

We only apply those env vars to terminal which are not in process env
variables, hence remove custom env vars from process variables.
--------------------
Commit message for microsoft/vscode-python@3fa5d4b:

Support for Create Env command to re-create env for venv (microsoft/vscode-python#21829)

Closes microsoft/vscode-python#21827
--------------------
Commit message for microsoft/vscode-python@30e26c2:

Update proposed API for env collection (microsoft/vscode-python#21819)

For microsoft/vscode-python#20822

Blocked on
microsoft/vscode#171173 (comment)
--------------------
Commit message for microsoft/vscode-python@15bb974:

Do not filter using scheme when filtering environments (microsoft/vscode-python#21862)

For microsoft/vscode-python#21825

On codespaces, it was leading to workspace environments not being
displayed, which could mess up auto-selection.
--------------------
Commit message for microsoft/vscode-python@cfbf1f3:

remove usage of pytest CollectReport in rewrite (microsoft/vscode-python#21859)

as per
https://docs.pytest.org/en/7.1.x/reference/reference.html#collectreport,
`CollectReport` is experimental and therefore it should not be in our
extension. Fixes microsoft/vscode-python#21784
--------------------
Commit message for microsoft/vscode-python@0749b20:

Show `Python: Clear Workspace interpreter` command regardless of whether a Python file is opened (microsoft/vscode-python#21858)

Closes microsoft/vscode-python#21850
--------------------
Commit message for microsoft/vscode-python@021b362:

Update VS Code engine (microsoft/vscode-python#21847)

For microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@8407e9d:

Wrap env collection workspace proposed APIs in `try...catch` block (microsoft/vscode-python#21846)

Closes microsoft/vscode-python#21831
--------------------
Commit message for microsoft/vscode-python@c979455:

Set workspaceFolder in debug config before substituting command variables (microsoft/vscode-python#21835)

For microsoft/vscode-python#18482
--------------------
Commit message for microsoft/vscode-python@96ba735:

fix data to string from buffer for output channel (microsoft/vscode-python#21821)

fix microsoft/vscode-python#21820
--------------------
Commit message for microsoft/vscode-python@5140a8d:

Apply API recommendations for Create Env API (microsoft/vscode-python#21804)

Closes microsoft/vscode-python#21090
--------------------
Commit message for microsoft/vscode-python@0248fa8:

fixing failing tests on CI (microsoft/vscode-python#21814)

fixing microsoft/vscode-python#21813
--------------------
Commit message for microsoft/vscode-python@9c740b9:

Show notification reaffirming Python extension still handles activation when in `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21802)

Closes microsoft/vscode-python#21793

Only show notification when terminal prompt does not already indicate
that env is activated.
--------------------
Commit message for microsoft/vscode-python@b447bf1:

Feature branch testing overflow bug fix (microsoft/vscode-python#21812)

This merges in two PRs that were reverted because of a bug introduced
that caused subprocess overflow.
reverted PRs: microsoft/vscode-python#21667,
microsoft/vscode-python#21682

This now implements these two PRs allowing for absolute testIds and an
execObservable for the subprocess. This PR also adds a bug fix and
functional tests to ensure this doesn't happen again.

Since this PR is large, all items in it have already been reviewed as
they were merged into the feature branch.
--------------------
Commit message for microsoft/vscode-python@bd749aa:

Fix `service.test.ts` to stop disposing of all services (microsoft/vscode-python#21811)

file `service.test.ts` was calling to dispose of all items related to
the service container for clean up. This led to services in later tests
failing since they were close already. Fixes here allow for new tests in
the test adapter to be written.

fix helps microsoft/vscode-python#21803
--------------------
Commit message for microsoft/vscode-python@385bb37:

Add `language_server.jinja_usage` to `pylance.ts` (microsoft/vscode-python#21809)


--------------------
Commit message for microsoft/vscode-python@71d6dab:

Add one more property to load event (microsoft/vscode-python#21800)

This PR adds app name to the editor_load telemetry event
--------------------
Commit message for microsoft/vscode-python@ab8d3b2:

Update VS Code engine (microsoft/vscode-python#21799)

For microsoft/vscode-python#11039
--------------------
Commit message for microsoft/vscode-python@835eab5:

Add setting to control severity of missing package diagnostic. (microsoft/vscode-python#21794)

Closes microsoft/vscode-python#21792
--------------------
Commit message for microsoft/vscode-python@fbbf987:

Use updated API to fetch scoped env collection (microsoft/vscode-python#21788)

For microsoft/vscode#171173
microsoft/vscode-python#20822

To be merged tomorrow when latest insiders is released. Blocked on
microsoft/vscode#189979.
--------------------
Commit message for microsoft/vscode-python@0a2c285:

Bump brettcannon/check-for-changed-files from 1.1.1 to 1.2.0 (microsoft/vscode-python#21772)

Bumps
[brettcannon/check-for-changed-files](https://github.com/brettcannon/check-for-changed-files)
from 1.1.1 to 1.2.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/brettcannon/check-for-changed-files/releases">brettcannon/check-for-changed-files's
releases</a>.</em></p>
<blockquote>
<h2>v1.2.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Add support for github tokens for private repos. by <a
href="https://github.com/Marenz"><code>@​Marenz</code></a> in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Marenz"><code>@​Marenz</code></a> made
their first contribution in <a
href="https://redirect.github.com/brettcannon/check-for-changed-files/pull/83">brettcannon/check-for-changed-files#83</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0">https://github.com/brettcannon/check-for-changed-files/compare/v1...v1.2.0</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/4170644959a21843b31f1181f2a1761d65ef4791"><code>4170644</code></a>
Add support for github tokens for private repos. (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/83">#83</a>)</li>
<li><a
href="https://github.com/brettcannon/check-for-changed-files/commit/294a99714e0d350b5083472a293d41bc91804e68"><code>294a997</code></a>
Bump word-wrap from 1.2.3 to 1.2.4 (<a
href="https://redirect.github.com/brettcannon/check-for-changed-files/issues/82">#82</a>)</li>
<li>See full diff in <a
href="https://github.com/brettcannon/check-for-changed-files/compare/v1.1.1...v1.2.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=brettcannon/check-for-changed-files&package-manager=github_actions&previous-version=1.1.1&new-version=1.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
--------------------
Commit message for microsoft/vscode-python@9ac14b8:

Update README.md for npm package (microsoft/vscode-python#21766)

Fix indent for
https://www.npmjs.com/package/@vscode/python-extension?activeTab=readme
--------------------
Commit message for microsoft/vscode-python@3fed49f:

Add Ruff to CI (microsoft/vscode-python#21739)

Add Ruff to (lint > action.yml) CI
#21738
--------------------
Commit message for microsoft/vscode-python@c490339:

Update version of npm package (microsoft/vscode-python#21765)


--------------------
Commit message for microsoft/vscode-python@8e0e59b:

Remove optionalDependencies from API npm package and document to install vscode types separately (microsoft/vscode-python#21764)

Closes It still leads to conflicts due to double installation of vscode
types when testing through the cases, removing vscode types as
dependencies altogether and documenting to install it separately
instead.
--------------------
Commit message for microsoft/vscode-python@cabdf39:

Use `optionalDependencies` instead of `peerDependencies` for `@vscode/python-extension` npm package (microsoft/vscode-python#21763)

Closes microsoft/vscode-python#21720
--------------------
Commit message for microsoft/vscode-python@dd20561:

revert due to buffer overflow on subprocess (microsoft/vscode-python#21762)

revert microsoft/vscode-python#21667 because it
causes buffer overflow in the python testing subprocess when larger
repos are used. Specifically seen on pytest discovery with >200 tests.
Revert to align with the stable release and put in a fix next week.
--------------------
Commit message for microsoft/vscode-python@40ff6e9:

Remove private Jupyter APIs from public API types (microsoft/vscode-python#21761)

For microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@23353bb:

Improvements to `pythonTerminalEnvVarActivation` experiment (microsoft/vscode-python#21751)


--------------------
Commit message for microsoft/vscode-python@40bb62a:

fix spelling for get-pip.py (microsoft/vscode-python#21752)

fix spelling from get_pip to get-pip as advised.
--------------------
Commit message for microsoft/vscode-python@f454515:

Update release plan to document what to do with `main` during endgame week (microsoft/vscode-python#21743)


--------------------
Commit message for microsoft/vscode-python@dff25d4:

revert absolute test-ids (microsoft/vscode-python#21742)

seeing a substantial error where test discovery is broken. Reverting
this commit seems to be the temporary fix until I can diagnose the real
problem.

commit it is reverting:
microsoft/vscode-python#21682
--------------------
Commit message for microsoft/vscode-python@ca4dfd4:

update tests only on save with more files excluded (microsoft/vscode-python#21741)

fixes microsoft/vscode-python#21014 and
microsoft/vscode-python#21061
--------------------
Commit message for microsoft/vscode-python@84bbff9:

add cwd for debugging (microsoft/vscode-python#21668)

fixes microsoft/vscode-python#21648 (comment)
--------------------
Commit message for microsoft/vscode-python@ef16727:

Clean up smoke test requirement (microsoft/vscode-python#21729)

Cleaning up smoke test dependency: See if all Github action test pass
with removing the smoke test requirement file content.

Checked one by one, and came to see removing all doesn't seem to have
impact on the outcome of running smoke test.(Seems to have no difference
in smoke test result outcome when ran with "Run and Debug" in VS Code
with smoke-test option selected).

Also got rid of below, after checking smoke test correctly passing after
removal of smoke-test-requirement.txt content:
![Screenshot 2023-08-01 at 2 57 45
PM](https://github.com/microsoft/vscode-python/assets/62267334/45d404de-74dd-45a5-885b-71a25ef16ad7)

Resolve: microsoft/vscode-python#21496
--------------------
Commit message for microsoft/vscode-python@358635d:

Remove old and unused API for Jupyter Ext (microsoft/vscode-python#21731)

We have not used any of this API for a while now, hence its safe to
remove these.

Will be removing more soon.
--------------------
Commit message for microsoft/vscode-python@8f3d60b:

unittest discovery errors not displaying in test explorer (microsoft/vscode-python#21726)

saw an issue where if discovery failed there was no notice in the test
explorer for unittest. It was due to a different value for the new blank
value for the payload tests. fixes
microsoft/vscode-python#21725 and
microsoft/vscode-python#21688
--------------------
Commit message for microsoft/vscode-python@a6a8cb1:

Update main to next pre-release (microsoft/vscode-python#21728)


--------------------
Commit message for microsoft/vscode-python@4ab510d:

Update version for release candidate (microsoft/vscode-python#21727)


--------------------
Commit message for microsoft/vscode-python@3e7118f:

Update packages for Jedi and core python (microsoft/vscode-python#21710)


--------------------
Commit message for microsoft/vscode-python@237f82b:

Fix UUID and disposing to resolve race condition (microsoft/vscode-python#21667)

fixes microsoft/vscode-python#21599 and
microsoft/vscode-python#21507
--------------------
Commit message for microsoft/vscode-python@d9e368f:

add area-repl to issue label (microsoft/vscode-python#21718)

added area-repl as one of the issue label.
--------------------
Commit message for microsoft/vscode-python@ceecdb0:

Removing Jupyter Notebooks mentions from package.json (microsoft/vscode-python#21708)


--------------------
Commit message for microsoft/vscode-python@11a9f1d:

Remove unwanted Jupyter API (microsoft/vscode-python#21702)

Fixes microsoft/vscode-jupyter#13986
--------------------
Commit message for microsoft/vscode-python@efcc3d7:

Make test_ids relative to workspace path not root dir (microsoft/vscode-python#21682)

makes sure all testIds that are returned to the extension are relative
to the workspace (which will be the invocation directory) instead of to
the root. This will stop testIds for not being recognized when using a
config file or another parameter that changes the root directory during
pytest.

fixes microsoft/vscode-python#21640 and
microsoft/vscode-python#21637
--------------------
Commit message for microsoft/vscode-python@06d62aa:

Update homepage for Python API package (microsoft/vscode-python#21703)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@83107cc:

Move "vscode" out of required dependencies for npm package (microsoft/vscode-python#21701)

Closes microsoft/vscode-python#21684
--------------------
Commit message for microsoft/vscode-python@d673004:

Convert JS-style typings to native TS in `@vscode/python-extension` (microsoft/vscode-python#21692)

Closes microsoft/vscode-python#21690
--------------------
Commit message for microsoft/vscode-python@8b9bca1:

Do not show "Select at workspace level" option if only one workspace folder is opened (microsoft/vscode-python#21689)

Closes microsoft/vscode-python#21220
--------------------
Commit message for microsoft/vscode-python@f536b74:

Edit issue-labels.yml, triage-info-needed.yml (microsoft/vscode-python#21685)

Add Anthony to issue-labels.yml and triage-info-needed.yml
--------------------
Commit message for microsoft/vscode-python@a42cb33:

Add new telemetry property to GPDR (microsoft/vscode-python#21683)

This property was added for tracking diagnostics we emit in Pylance.
--------------------
Commit message for microsoft/vscode-python@6af959d:

Dev Container Using MCR (microsoft/vscode-python#21675)

Dev container rewrite using MCR. 
Pyenv for installing and managing python versions. Fish also installed
as optional (able to view as shell option in codespaces). Also fixing
conda error. Takes care of: microsoft/vscode-python#21591 rewrite from: microsoft/vscode-python#21435 to adhere to
company policy.
--------------------
Commit message for microsoft/vscode-python@73a0e9d:

handle skip unittest at file without error (microsoft/vscode-python#21678)

fixes microsoft/vscode-python#21653
--------------------
Commit message for microsoft/vscode-python@9bcb82d:

Ensure `Run Python in dedicated terminal` uses `python.executeInFirDir` setting (microsoft/vscode-python#21681)


--------------------
Commit message for microsoft/vscode-python@713007f:

correct discovery on unittest skip at file level (microsoft/vscode-python#21665)

given a file called skip_test_file_node.py that has `raise
SkipTest(".....")` this should appear in the sidebar with no children.
The bug is that currently it shows a "unittest" node that gives "loader"
and other incorrect nodes below it.
--------------------
Commit message for microsoft/vscode-python@be334bd:

Do not resolve symbolic links in posix locator if they exceed the count limit (microsoft/vscode-python#21658)

Closes microsoft/vscode-python#21310

Fixes interpreter discovery running forever for non-Windows OS
--------------------
Commit message for microsoft/vscode-python@c256678:

Prevent posix paths locator from crashing (microsoft/vscode-python#21657)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@81ae205:

Bring back feature to Run Python file in dedicated terminal (microsoft/vscode-python#21656)

Closes microsoft/vscode-python#21282
Closes microsoft/vscode-python#21420
Closes microsoft/vscode-python#21215
Reverts microsoft/vscode-python#21418
--------------------
Commit message for microsoft/vscode-python@c144200:

Modify .eslintrc to turn off any errors for declaration files (microsoft/vscode-python#21652)

For microsoft/vscode-python#21631
--------------------
Commit message for microsoft/vscode-python@f7125da:

Use correct `tsconfig.json` when generating npm package (microsoft/vscode-python#21651)

For microsoft/vscode-python#21631 

- Unset `removeComment` as that leads to declarations without docstrings
- Set to generate declarations
- Use updated typescript which results in cleaner declaration files
--------------------
Commit message for microsoft/vscode-python@2e8dc67:

Add extra logging regarding interpreter discovery (microsoft/vscode-python#21639)

For microsoft/vscode-python#21310
--------------------
Commit message for microsoft/vscode-python@fc1c391:

Compare global storage data using only `key` (microsoft/vscode-python#21636)

Closes microsoft/vscode-python#21635 by
applying the same fix as done in
microsoft/vscode-python#17627.

Lead-authored-by: Kartik Raj <[email protected]>
Co-authored-by: Daniel Imms <[email protected]>
Co-authored-by: Luciana Abud <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Courtney Webster <[email protected]>
Co-authored-by: Brett Cannon <[email protected]>
Co-authored-by: Erik De Bonte <[email protected]>
Co-authored-by: Rich Chiodo <[email protected]>
Co-authored-by: Don Jayamanne <[email protected]>
Co-authored-by: Anthony Kim <[email protected]>
Co-authored-by: Pete Farland <[email protected]>
Co-authored-by: Karthik Nadig <[email protected]>
Co-authored-by: Eleanor Boyd <[email protected]>
Signed-off-by: GitHub <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-environments Features relating to handling interpreter environments author-verification-requested Issues potentially verifiable by issue author debt Covers everything internal: CI, testing, refactoring of the codebase, etc.
Projects
None yet
4 participants