-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update to include latest stubs in typeshed #18366
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This comment has been minimized.
This comment has been minimized.
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #18365
See #18367 for script