Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylance complains about "stub file not found" for partial stubs #6575

Open
colinfang opened this issue Oct 17, 2024 · 1 comment
Open

Pylance complains about "stub file not found" for partial stubs #6575

colinfang opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working P2

Comments

@colinfang
Copy link

A simple example would be

import scipy`

# Stub file not found for "scipy" [reportMissingTypeStubs] 

Because the bundled scipy-stub has partial\n in a py.typed file

If I delete partial\n in the file, the warning goes away.

@github-actions github-actions bot added the needs repro Issue has not been reproduced yet label Oct 17, 2024
@debonte debonte added bug Something isn't working and removed needs repro Issue has not been reproduced yet labels Oct 17, 2024
@debonte
Copy link
Contributor

debonte commented Oct 17, 2024

Thanks for the issue. I was able to repro this.

Triage: It's not a recent regression -- it also repros in 2023.12.1.

@debonte debonte added the P2 label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2
Projects
None yet
Development

No branches or pull requests

2 participants