You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv.lock contains dependencies for package - so parser should detect []Package and []Dependency.(check the case when 2 packages with different versions are used (if possible)
If we can detect Root package from uv.lock file - we can use analyzer interface. If no - we need to use PostAnalyzer and detect root package from pyproject.toml file.
This is lock file, so we need to add it into TypeLockfiles (don't forget about TypeLanguages)
Description
Parse uv.lock to identify dependencies (example).
TODO
uv.lockcontains dependencies for package - so parser should detect[]Packageand[]Dependency.(check the case when 2 packages with different versions are used (if possible)uv.lockcontains root package (e.g. https://github.com/astral-sh/uv/blob/312eeb8f573d36f6df658f85ecadc52799647bb3/scripts/benchmark/uv.lock#L27). Can we detect that this is root package (e.g. fromsourcefield)?uv.lockfile - we can use analyzer interface. If no - we need to use PostAnalyzer and detect root package frompyproject.tomlfile.TypeLanguages)Discussed in #7647