Skip to content

Drop pkg_resources from stubinfo #18840

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

Merged
merged 1 commit into from
Mar 25, 2025
Merged

Conversation

hauntsaninja
Copy link
Collaborator

Fixes #18839

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