2025-09-18 11:41:41.609 [info] Telemetry level is off
2025-09-18 11:41:41.609 [info] Experiments are disabled, only manually opted experiments are active.
2025-09-18 11:41:41.609 [warning] Dir "/tmp/importpy/.pixi/envs" is not watchable (directory does not exist)
2025-09-18 11:41:41.819 [info] > conda info --json
2025-09-18 11:41:41.821 [info] Skipping ActivatedEnv Detection: process.env.VSCODE_CLI !== '1'
2025-09-18 11:41:41.827 [info] Python interpreter path: ./.venv/bin/python
2025-09-18 11:41:42.031 [info] > pyenv which python
2025-09-18 11:41:42.031 [info] cwd: .
2025-09-18 11:41:43.325 [info] Starting Pylance language server.
2025-09-18 11:41:45.205 [info] Running installed packages checker: {
id: '/tmp/importpy/.venv/bin/python',
sysPrefix: '/tmp/importpy/.venv',
envType: 'Venv',
envName: '.venv',
envPath: '/tmp/importpy/.venv',
path: '/tmp/importpy/.venv/bin/python',
architecture: 3,
sysVersion: '3.13.7 (main, Aug 15 2025, 12:34:02) [GCC 15.2.1 20250813]',
version: {
raw: '3.13.7',
major: 3,
minor: 13,
patch: 7,
build: [],
prerelease: [ 'final', '0' ]
},
displayName: "Python 3.13.7 ('.venv')",
detailedDisplayName: "Python 3.13.7 ('.venv': venv)",
type: 'Virtual'
} /home/chigozirim/.vscode-server/extensions/ms-python.python-2025.14.0-linux-x64/python_files/installed_check.py /tmp/importpy/pyproject.toml
2025-09-18 11:41:45.205 [info] > ./.venv/bin/python ~/.vscode-server/extensions/ms-python.python-2025.14.0-linux-x64/python_files/installed_check.py ./pyproject.toml
2025-09-18 11:43:33.042 [info] Discover tests for workspace name: importpy - uri: /tmp/importpy/main.py
2025-09-18 11:49:38.822 [info] Discover tests for workspace name: importpy - uri: /tmp/importpy/main.py
2025-09-18 11:49:48.337 [info] Send text to terminal: source /tmp/importpy/.venv/bin/activate
Type: Bug
Behaviour
Vscode is unable to resolve imports which are not directly imported by specifying the full path to the symbol
Steps to reproduce:
pdm init --no-git)sqlalchemy(pdm add sqlalchemy)main.pyfile, and attempt to import something from sqlalchemyVideo.Project.2.mp4
This has to be a bug, because it was working just fine a few days ago. As you can see from the video, the suggestions for imports includes
select, but afterwards, everything else acts dumb and refuses to acknowledge the symbol.Diagnostic data
Output for
Pythonin theOutputpanel (View→Output, change the drop-down the upper-right of theOutputpanel toPython)Extension version: 2025.14.0
VS Code version: Code 1.104.0 (f220831ea2d946c0dcb0f3eaa480eb435a2c1260, 2025-09-10T06:46:18.035Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 5.15.167.4-microsoft-standard-WSL2
python.languageServersetting: PylanceUser Settings
Installed Extensions
System Info
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
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off