microsoft / vscode-jupyter

VS Code Jupyter extension

Home Page:https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac OS smoke tests are failing

DonJayamanne opened this issue · comments

The smoke tests are failing without any changes in Jupyter extension.
https://github.com/microsoft/vscode-jupyter/actions/runs/8840267188/job/24275299130#step:12:357
The logs show that Python extension is unable to find the Python environment.
The env is /Library/Frameworks/Python.framework/Versions/3.10/python and this exists on disc
& this is the path that is returned for the Python environment on CI

Run ./.github/actions/set-python
Run python -c "import sys;print('python_path=' + sys.executable)" >> $GITHUB_OUTPUT
Run echo "CI_PYTHON_PATH=/Library/Frameworks/Python.framework/Versions/3.10/bin/python" >> $GITHUB_ENV

Here's an interesting entry in the logs

Python extension does detect this environment, but then removes it from the list of known items
verbose 23:02:37.929: Jupyter Extension: Python API env change detected, remove => '/Library/Frameworks/Python.framework/Versions/3.10/python'

A few issues

  • The shell cli was not getting the python executable that Python extension expects (not sure what's wrong here)
  • The version of VS Code downloaded was universal instead of arm64 when on arm64 (and seems to have been running in x64 mode)