KEMBAR78
Drop pkg_resources from stubinfo by hauntsaninja · Pull Request #18840 · python/mypy · GitHub
Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #18839

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pwndbg (https://github.com/pwndbg/pwndbg)
+ pwndbg/exception.py:51: error: Cannot find implementation or library stub for module named "pkg_resources"  [import-not-found]
- pwndbg/exception.py:51: error: Library stubs not installed for "pkg_resources"  [import-untyped]
- pwndbg/exception.py:51: note: Hint: "python3 -m pip install types-setuptools"

scipy (https://github.com/scipy/scipy)
+ scipy/_build_utils/tempita/_tempita.py:1041: error: Cannot find implementation or library stub for module named "pkg_resources"  [import-not-found]
- scipy/_build_utils/tempita/_tempita.py:1041: error: Library stubs not installed for "pkg_resources"  [import-untyped]
- scipy/_build_utils/tempita/_tempita.py:1041: note: Hint: "python3 -m pip install types-setuptools"
- scipy/_build_utils/tempita/_tempita.py:1041: note: (or run "mypy --install-types" to install all missing stub packages)
- scipy/_lib/unuran/get_and_clean_unuran.py:8: error: Library stubs not installed for "pkg_resources"  [import-untyped]
+ scipy/_lib/unuran/get_and_clean_unuran.py:8: error: Cannot find implementation or library stub for module named "pkg_resources"  [import-not-found]

@hauntsaninja hauntsaninja merged commit f629589 into python:master Mar 25, 2025
18 checks passed
@hauntsaninja hauntsaninja deleted the pkgres branch March 25, 2025 18:01
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.

Fix pkg_resources error message

1 participant