Skip to content

Improve error message for invalid Python package#20482

Merged
hauntsaninja merged 2 commits intopython:masterfrom
hauntsaninja:findsrc
Dec 27, 2025
Merged

Improve error message for invalid Python package#20482
hauntsaninja merged 2 commits intopython:masterfrom
hauntsaninja:findsrc

Conversation

@hauntsaninja
Copy link
Copy Markdown
Collaborator

Resolves #17108

@github-actions

This comment has been minimized.

@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@hauntsaninja hauntsaninja merged commit 0a6f9ab into python:master Dec 27, 2025
23 checks passed
@hauntsaninja hauntsaninja deleted the findsrc branch December 27, 2025 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improved error message from: [directory] is not a valid Python package name

1 participant