Skip to content

[TSP] Unable to go-to definition on 3p lib from site-packages #8023

@kinto0

Description

@kinto0

Environment data

  • Pylance trunk
  • Pyrefly 0.63.1
  • Type server set to Pyrefly

Code Snippet

import httpx

httpx.<>

def foo(x: httpx.<>): ...

Repro Steps

  • uv install httpx

  • attempt to go-to definition

  • fails

  • noticed on swebench_pyrefly repo with environment set up

  • also noticed on torchrec repo with torch dependency when torch is pip installed

XXX

Logs

XXX

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions