KEMBAR78
Update to include latest stubs in typeshed by hauntsaninja · Pull Request #18366 · python/mypy · GitHub
Skip to content

Conversation

hauntsaninja
Copy link
Collaborator

@hauntsaninja hauntsaninja commented Dec 29, 2024

Fixes #18365

See #18367 for script

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

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

sphinx (https://github.com/sphinx-doc/sphinx)
- sphinx/testing/util.py:82:1: error: Cannot find implementation or library stub for module named "defusedxml.ElementTree"  [import-not-found]
+ sphinx/testing/util.py:82:1: error: Library stubs not installed for "defusedxml.ElementTree"  [import-untyped]
+ sphinx/testing/util.py:82:1: note: Hint: "python3 -m pip install types-defusedxml"

materialize (https://github.com/MaterializeInc/materialize)
- misc/python/stubs/docker/__init__.pyi:10: error: Skipping analyzing "docker.models.containers": module is installed, but missing library stubs or py.typed marker  [import-untyped]
+ misc/python/stubs/docker/__init__.pyi:10: error: Library stubs not installed for "docker.models.containers"  [import-untyped]
- misc/python/materialize/benches/avro_ingest.py:18: error: Skipping analyzing "docker": module is installed, but missing library stubs or py.typed marker  [import-untyped]
- misc/python/materialize/benches/avro_ingest.py:22: error: Skipping analyzing "docker.models.containers": module is installed, but missing library stubs or py.typed marker  [import-untyped]
+ misc/python/materialize/benches/avro_ingest.py:18: error: Library stubs not installed for "docker"  [import-untyped]
+ misc/python/materialize/benches/avro_ingest.py:22: error: Library stubs not installed for "docker.models.containers"  [import-untyped]
+ misc/python/materialize/benches/avro_ingest.py:22: note: Hint: "python3 -m pip install types-docker"
+ misc/python/materialize/benches/avro_ingest.py:22: note: (or run "mypy --install-types" to install all missing stub packages)

cki-lib (https://gitlab.com/cki-project/cki-lib)
- setup.py:3: error: Cannot find implementation or library stub for module named "setuptools"  [import-not-found]
+ setup.py:3: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:3: note: Hint: "python3 -m pip install types-setuptools"

apprise (https://github.com/caronc/apprise)
- apprise/plugins/twitter.py:36: error: Cannot find implementation or library stub for module named "requests_oauthlib"  [import-not-found]
+ apprise/plugins/twitter.py:36: error: Library stubs not installed for "requests_oauthlib"  [import-untyped]
+ apprise/plugins/twitter.py:36: note: Hint: "python3 -m pip install types-requests-oauthlib"
- setup.py:35: error: Cannot find implementation or library stub for module named "setuptools"  [import-not-found]
+ setup.py:35: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:35: note: Hint: "python3 -m pip install types-setuptools"

pybind11 (https://github.com/pybind/pybind11)
- setup.py:17: error: Cannot find implementation or library stub for module named "setuptools.command.sdist"  [import-not-found]
- setup.py:17: error: Cannot find implementation or library stub for module named "setuptools.command"  [import-not-found]
- setup.py:17: error: Cannot find implementation or library stub for module named "setuptools"  [import-not-found]
+ setup.py:17: error: Library stubs not installed for "setuptools.command.sdist"  [import-untyped]
+ setup.py:17: error: Library stubs not installed for "setuptools.command"  [import-untyped]
+ setup.py:17: error: Library stubs not installed for "setuptools"  [import-untyped]
- pybind11/setup_helpers.py:66: error: Cannot find implementation or library stub for module named "setuptools"  [import-not-found]
- pybind11/setup_helpers.py:67: error: Cannot find implementation or library stub for module named "setuptools.command.build_ext"  [import-not-found]
+ pybind11/setup_helpers.py:66: error: Library stubs not installed for "setuptools"  [import-untyped]
+ pybind11/setup_helpers.py:67: error: Library stubs not installed for "setuptools.command.build_ext"  [import-untyped]
+ pybind11/setup_helpers.py:67: note: Hint: "python3 -m pip install types-setuptools"
+ pybind11/setup_helpers.py:67: note: (or run "mypy --install-types" to install all missing stub packages)

antidote (https://github.com/Finistere/antidote)
- setup.py:4: error: Cannot find implementation or library stub for module named "setuptools"  [import-not-found]
+ setup.py:4: error: Library stubs not installed for "setuptools"  [import-untyped]
+ setup.py:4: note: Hint: "python3 -m pip install types-setuptools"
+ setup.py:4: note: (or run "mypy --install-types" to install all missing stub packages)

@hauntsaninja hauntsaninja merged commit f2a77ea into python:master Dec 30, 2024
18 checks passed
@hauntsaninja hauntsaninja deleted the stubs-additions branch December 30, 2024 03:05
hauntsaninja added a commit that referenced this pull request Dec 30, 2024
hauntsaninja added a commit that referenced this pull request Dec 30, 2024
Additions in #18366 , will do removals once merged
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.

types-networkx is not installed by mypy --install-types

1 participant