Skip to content

Convert tracing warnings during site-packages discovery to diagnostic warnings #542

@AlexWaygood

Description

@AlexWaygood

This file has lots of places where it emits tracing warnings if site-packages discovery doesn't go to plan: https://github.com/astral-sh/ruff/blob/main/crates/ty_python_semantic/src/site_packages.rs. Ideally we should convert these to warning-level diagnostics so that they're more visible to IDE users (suggested by @MichaReiser in astral-sh/ruff#18335 (comment))

Metadata

Metadata

Assignees

No one assigned

    Labels

    configurationRelated to settings and configurationdiagnosticsRelated to reporting of diagnostics.importsModule resolution, site-packages discovery, import-related diagnostics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions