VSCode unable to resolve imports from secondary airflow
namespace package in monorepo with duplicate package names
#6649
Labels
needs repro
Issue has not been reproduced yet
Type: Bug
Behaviour
VSCode successfully recognizes and imports modules from the main airflow package but doesn’t detect imports from the secondary airflow namespace package.
Steps to reproduce:
uv sync
uv pip install -e . -e ./providers -e ./task_sdk
pip install -e . -e ./providers -e ./task_sdk --config-setting editable_mode=compat
from airflow.sdk
orairflow.providers
.Diagnostic data
Extension version: 2024.18.0
VS Code version: Code 1.95.1 (Universal) (65edc4939843c90c34d61f4ce11704f09d3e5cb6, 2024-10-31T05:14:54.222Z)
OS version: Darwin arm64 23.4.0
Modes:
python.languageServer
setting: DefaultUser Settings
System Info
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
The text was updated successfully, but these errors were encountered: