Skip to content

Drop pkg_resources from stubinfo#18840

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:pkgres
Mar 25, 2025
Merged

Drop pkg_resources from stubinfo#18840
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:pkgres

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Fixes #18839

@github-actions

Copy link
Copy Markdown
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
@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