Skip to content

Update stubinfo - #22382

Merged
hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:stubinfo2
Nov 6, 2026
Merged

hauntsaninja merged 1 commit into
python:masterfrom
hauntsaninja:stubinfo2

Conversation

@hauntsaninja

Copy link
Copy Markdown
Collaborator

Closes #22311, easier to run it myself than validate that change is correct

Closes python#22311, easier to run it myself than validate that change is
correct
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

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

cloud-init (https://github.com/canonical/cloud-init)
+ cloudinit/sources/helpers/cloudsigma.py:70: note: (or run "mypy --install-types" to install all missing stub packages)
- tests/integration_tests/bugs/test_gh671.py:8: error: Library stubs not installed for "passlib.hash"  [import-untyped]
- tests/integration_tests/bugs/test_gh671.py:8: error: Library stubs not installed for "passlib"  [import-untyped]
+ tests/integration_tests/bugs/test_gh671.py:8: error: Cannot find implementation or library stub for module named "passlib.hash"  [import-not-found]
+ tests/integration_tests/bugs/test_gh671.py:8: error: Cannot find implementation or library stub for module named "passlib"  [import-not-found]
+ cloudinit/distros/netbsd.py:24: error: Cannot find implementation or library stub for module named "passlib.hash"  [import-not-found]
- cloudinit/distros/netbsd.py:24: error: Library stubs not installed for "passlib.hash"  [import-untyped]
- cloudinit/distros/netbsd.py:24: note: Hint: "python3 -m pip install types-passlib"
- cloudinit/distros/netbsd.py:24: note: (or run "mypy --install-types" to install all missing stub packages)
- cloudinit/sources/DataSourceAzure.py:167: error: Library stubs not installed for "passlib.hash"  [import-untyped]
- cloudinit/sources/DataSourceAzure.py:167: error: Library stubs not installed for "passlib"  [import-untyped]
+ cloudinit/sources/DataSourceAzure.py:167: error: Cannot find implementation or library stub for module named "passlib.hash"  [import-not-found]
+ cloudinit/sources/DataSourceAzure.py:167: error: Cannot find implementation or library stub for module named "passlib"  [import-not-found]
- tests/unittests/sources/test_azure.py:16: error: Library stubs not installed for "passlib.hash"  [import-untyped]
- tests/unittests/sources/test_azure.py:16: error: Library stubs not installed for "passlib"  [import-untyped]
+ tests/unittests/sources/test_azure.py:16: error: Cannot find implementation or library stub for module named "passlib.hash"  [import-not-found]
+ tests/unittests/sources/test_azure.py:16: error: Cannot find implementation or library stub for module named "passlib"  [import-not-found]

@hauntsaninja
hauntsaninja merged commit 55472c0 into python:master Nov 6, 2026
25 checks passed
@hauntsaninja
hauntsaninja deleted the stubinfo2 branch November 6, 2026 08:58
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.

1 participant